Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
freebsd:zfs [2022/01/07 20:51] 127.0.0.1 Externe Bearbeitung |
freebsd:zfs [2022/01/09 22:21] (aktuell) |
||
---|---|---|---|
Zeile 1763: | Zeile 1763: | ||
I will do this for a storage volume to have backups encrypted on the volume. | I will do this for a storage volume to have backups encrypted on the volume. | ||
- | < | + | Make sure your pool supports encryption: |
+ | < | ||
+ | zpool get feature@encryption zstorage | ||
+ | NAME PROPERTY | ||
+ | zstorage | ||
</ | </ | ||
+ | Now create a new volume with encryption enabled: | ||
+ | <code console> | ||
+ | zfs create -o encryption=on -o keyformat=passphrase zstorage/ | ||
+ | </ | ||
+ | |||
+ | Check that it is mounted: | ||
+ | <code console> | ||
+ | zfs get encryption, | ||
+ | </ | ||
+ | |||
+ | After a reboot you must mount the encrypted volumes manually with: | ||
+ | <code console> | ||
+ | zfs load-key -a | ||
+ | zfs mount -a | ||
+ | </ | ||