ZFS: Difference between revisions
imported>Sjau |
imported>Sjau |
||
Line 208: | Line 208: | ||
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 | $ zpool create -o ashift=12 -o altroot="/mnt" -O encryption=aes-256-gcm -O keyformat=passphrase zroot /dev/sdxy | ||
</syntaxHighlight> | </syntaxHighlight> | ||