ZFS

28AUG25 - Dont Forget to update initramfs

01. Intro

I use ZFSBootMenu to manage my boot environments and help me roll back when I inevitably do something destructive to my system. Today I decided to change my encryption password because my current one has a key combination that confused my fingers so I almost always typed it incorrectly the first time. I changed my zfs rpool password, but I neglected to update initramfs. Im documenting the steps to properly change my password here so that i dont forget.

Read more >

ZFS Remove All Snapshots

Sometimes it’s good to have a nice purge of your ZFS snapshots, whether you’re pressed for space or you just feel like doing spring cleaning. The following command will clear all of your ZFS snapshots on your Ubuntu system.

Warning: There is no recovery, all the cannonballs have been shot. Only do this if you know you’re in a stable state.

sudo zfs list -H -o name -t snapshot | sudo xargs -n1 zfs destroy