Export/Disconnect pool gave ZFS Encryption? Data lost?

Settler11

Dabbler
Joined
Jan 23, 2023
Messages
15
So I was testing around with my Testpool. The pool wasn't encrypted. But after trying out the Export/disconnect pool and restoring the pool to the same disk, it got locked and it's asking for a Key file or Dataset Key (which I don't have)

1702916308894.png


Short question: is the data on the Testpool now all loss since I didn't do encryption on my disks...?
Other question: is the data on there salvageable after getting locked?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700

Settler11

Dabbler
Joined
Jan 23, 2023
Messages
15
What does this mean exactly... how did you "restore"?
Pardon. 'Importing pool'

1702940716761.png


Its on top on 'Storages' when you've done Export/disconnect.

edit:
Also; not sure if any methods of this is going to help?

 
Last edited:

Settler11

Dabbler
Joined
Jan 23, 2023
Messages
15
Via the discord server I've been told its a lost cause.. But I'm wondering if anyone else on the forum got a workaround perhaps.
 
Joined
Oct 22, 2019
Messages
3,641
Short question: is the data on the Testpool now all loss since I didn't do encryption on my disks...?
You say you didn't use encryption, but clearly the root dataset is encrypted.
 

Settler11

Dabbler
Joined
Jan 23, 2023
Messages
15
You say you didn't use encryption, but clearly the root dataset is encrypted.
I'm very sure it wasn't before the Export/disconnecting pool. Otherwise I'd have a place I know for the prompt Key which should generate when you encrypt. And I basically copied what I did with the first dataset which is Unencrypted.
 
Joined
Oct 22, 2019
Messages
3,641
What does this reveal:
Code:
zfs list -t filesystem -r -o name,encryption,keyformat,encryptionroot Testpool
 
Joined
Oct 22, 2019
Messages
3,641
This means you enabled the encryption option when you created the pool.
 
Top