ZFS: Difference between revisions
imported>Adisbladis ZFS encryption is now available in the stable package. |
imported>Eoli3n mNo edit summary |
||
| Line 309: | Line 309: | ||
Instead of encrypting just a dataset (and all its child datasets) you can also directly encrypt the whole pool upon creation: | Instead of encrypting just a dataset (and all its child datasets) you can also directly encrypt the whole pool upon creation: | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
zpool create -o ashift=12 -o altroot="/mnt" -O encryption=aes-256-gcm -O keyformat=passphrase zroot /dev/sdxy | zpool create -o ashift=12 -o altroot="/mnt" -O mountpoint=none -O encryption=aes-256-gcm -O keyformat=passphrase zroot /dev/sdxy | ||
</syntaxHighlight> | </syntaxHighlight> | ||