Page 5 of 5

Re: crypto on-desk format having to change - OK to use enc ?

PostPosted: Sun Mar 18, 2018 4:46 pm
by whatever
Is the encryption property going to be available for zpool ?

Re: crypto on-desk format having to change - OK to use enc ?

PostPosted: Sun Mar 18, 2018 8:44 pm
by lundman
No, that is not what you want. You can set it on the pool's dataset, and thanks to inheritance, it will be set on all lower datasets.

Re: crypto on-desk format having to change - OK to use enc ?

PostPosted: Wed May 23, 2018 6:46 pm
by whatever
What's the syntax to do it on the pools dataset when it's already created?

I had been using
Code: Select all
sudo zfs create -o encryption=on -o keylocation=prompt -o keyformat=passphrase ztest/encrypted

Re: crypto on-desk format having to change - OK to use enc ?

PostPosted: Tue May 29, 2018 6:41 pm
by lundman
To create a POOL where everything under it is encrypted:

# zpool create -O encryption=on -O keyformat=passphrase $pool $disk(s)

Re: crypto on-desk format having to change - OK to use enc ?

PostPosted: Wed May 30, 2018 8:03 am
by whatever
sweet. thank you so much :)

I was using the wrongly cased 'o' it seems :oops: