Locked Zvol after replication

SAM_alex

Cadet
Joined
Mar 23, 2018
Messages
4
My problem is as follows :
I have 2 Truenas 12 servers.
I want to move some zvols from one to the other.
I used replication to move them but on the new server they are locked and I can't see any option to decrypt them.
Then I replicate a dataset I have a "Unlock" button which works great.

The question is how can I unlock the Zvol

I attached a picture with my pool. I want to unlock the "vhdd_03_3x4Tb_echilibria_dropbox " volume (zvol)
locked.jpg
 

tanjix

Dabbler
Joined
Dec 6, 2020
Messages
15
I have the same thing at the moment and would appreciate an answer as well. Thanks!
 

tanjix

Dabbler
Joined
Dec 6, 2020
Messages
15
Update on this:

Using the shell and doing a:

Code:
zfs load-key <Pool/name>


resolved the problem. After doing that, you are being prompted for the hex-passphrase, which you should have. After entering the correct one, the lock is being removed and you can use the volume.

Hope this can be of help for anybody!
 

Steffen Koch

Cadet
Joined
Jan 26, 2021
Messages
1
Having the same issue here
zfs load-key <Pool/name>
doesn't work for me.

It says: Key load error: Failed to open key material file

Any hints?
 
Top