Find out, if Pool/zvol is encrypted

Killom

Dabbler
Joined
Jan 13, 2020
Messages
16
Hey there,

I am unsure, if I ticked the "Encryption" option back when creating my master pool.

How to find out afterwards?
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
From the command line, you can use;
Code:
zfs get all | grep crypt
TANK  encryption            off                    default

In the GUI for the pool & Datasets, (under Storage), the pool will show a padlock icon, indicating some or all of the children Datasets are encrypted. Then for the Datasets themselves, any encrypted ones will show a padlock icon. Either locked because it has not been un-locked. Or un-locked padlock icon for those Datasets that have been un-locked.
 
Last edited:

Killom

Dabbler
Joined
Jan 13, 2020
Messages
16
Thanks, encryption seems to be off for zvol.

Does this mean, I can relocate the disks into a new truenas device without the need for password? What purpose has the "pwenc_secret" file in this case? (contained in backup.tar & located in /data/)
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Yes, you can relocate the disks to a new TrueNAS server without a password.

As for your other question about "pwenc_secret", I don't know.
 
Top