If you're switching disks while the machine is running, the LVM bits might not be detected when the disk is added. Here's a couple of commands you can use to rescan for the device, and then activate it manually. If your device is /dev/sdc, then run: lvmdevices --adddev /dev/sdc Now you can| Ian's notes
Reminders and notes to my future self. Perhaps some would be useful to you too.| Ian's notes
If you see both of these errors, make sure that your /etc/hosts file contains a line for your domain name, pointing towards localhost, for example:| Ian's notes
This script does the following: Provides a Swiftbar plugin with connect/disconnect options 1Password integration to fetch the VPN password AppleScript popup to request the one time pin Set up passwordless sudo: Edit the sudoers file: sudo visudo Change %admin ALL=(ALL) ALL| Ian's notes
Introduction Generally, DQL works with entities and time series metrics. In Part 1, we'll start by having a look at entities, and how to view their properties, and filter them. In Part 2, we'll look up adjacent entities (e.g. hosts and their processes) and time series metrics, how to split them,| Ian's notes
The regex in this post, explained via Regex101 Some applications can log multiple lines per log entry. PostgreSQL is a good example, when statement logging is turned on. Here's a bare bones example with log_statement set to all: 2025-06-23 22:00:00.000 CEST [6316] LOG: statement: select *| Ian's notes
If you see a message like the following when running dnf update: Problem: package gcc-8.5.0-24.el8_10.x86_64 from @System requires libgomp = 8.5.0-24.el8_10, but none of the providers can be installed - cannot install both libgomp-8.5.0-26.el8_10.i686 from rhel-8-for-x86_64-baseos-rpms and lib| Ian's notes
Source In my case there were three matters preventing the drive from being detected: The BIOS version was too old The socket was not set to be recognised as a PCIe device (this requires a beta BIOS version) The drive was seated in the M2_1 socket instead of the M2_2 socket. The ASU| Ian's notes
This guide is for Mac, but the tools are platform agnostic, so you can adjust them to your environment. I’m assuming you have Vim 9 or newer, and Homebrew installed. Install LLVM: Then check that clangd exists: Now make a directory for the language server plugin on Vim: Clone the git repository for the language […]| Ian's notes
Photo by Kvistholt Photography on Unsplash It is common to run some commands via the postgres account as it is the de facto PostgreSQL super user. This means that if you're running these commands remotely, you'll need to chain sudo: ssh pg-host sudo -i sudo -u postgres ... If you're in char| Ian's notes
Instead of copying (i.e. via scp or rsync), you can sudo cat the remote file, and pipe it (since pipes cross the SSH boundary) to a local file: For example: Happy copying!| Ian's notes