nic@pype ~/changing-zfs-key-for-child-datasets-of-encrypted-dataset-after-migration
infra · automation · writing
role: Disciple · Husband · Father · Developer

Changing ZFS key for child datasets of encrypted dataset after migration

➜ pihole sudo zfs load-key -L file:///path/to/.zfs.tank.key tank/encrypted/vms/arch-sandbox ➜ pihole sudo zfs change-key -o keylocation=file:///path/to/.zfs.tank.key -o keyformat=raw tank/encrypted/vms/arch-sandbox Need to load-key for each individual dataset, then change key location to be a file instead of the prompt