Skip to content

Commit

Permalink
change zfs key
Browse files Browse the repository at this point in the history
  • Loading branch information
pypeaday committed Dec 10, 2024
1 parent 2f839b7 commit 2e7b1da
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
date: 2023-04-08 20:12:22
templateKey: til
title: Changing ZFS key for child datasets of encrypted dataset after migration
published: True
tags:
- zfs
- homelab
- tech
---

➜ 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

0 comments on commit 2e7b1da

Please sign in to comment.