Saturday, 7. March 2026 Week 10
Friday, 6. March 2026 Week 10

Extending a LVM partition

Recently I needed to extend/increase a LVM partition to give it more space:

  1. Create a partition on the additional disk: cfdisk /dev/sdb
  2. Create a physical volume on the partition: pvcreate /dev/sdb1
  3. Add the physical volume to the existing volume group: vgextend vg-foo /dev/sdb1
  4. Extend the logical volume to use 100% of the new free space in the volume group (and directly resize the filesystem accordingly): lvextend -r -l +100%FREE /dev/vg-foo/lv-bar
Tuesday, 17. February 2026 Week 8

The Work Moved

The work moved. It didn't disappear. Whether your organization thrives or drowns depends on whether you've moved with it upstream into design, specifications, guardrails, and the messy human work of reducing ambiguity, or whether you're still standing where the code used to be, wondering why everything feels faster and worse at the same time.

The Work Moved

Sunday, 15. February 2026 Week 7
Saturday, 14. February 2026 Week 7
Sunday, 8. February 2026 Week 6

TIL: copying files to Dom0 in Qubes OS

In some rare cases you might need to copy a file from a VM in Qubes OS to Dom0.
This can be done with the following command in a Dom0 console:

qvm-run --pass-io my-vm 'cat /path/to/file/in/my-vm/file.doc' > /path/fo/file/in/dom0/file.doc
Friday, 6. February 2026 Week 6
Thursday, 5. February 2026 Week 6
Saturday, 31. January 2026 Week 5

TIL: prettifying XML files in Vim

Had to work with some machine generated XML files.
To make them more readable, I looked for a way to format and indent them in Vim.

There are many tools for this, I stumbled upon xmllint which also validates the XML.
This can be useful, but restricts it to formatting valid XML files only.

:%!xmllint --format %