How to recover the zpool encryption key after OS disk failure

nvm. got it! The key produced in the results of the script! I can’t thank you enough!

1 Like

i just had to run it sudo

Don’t celebrate yet. Does it work? Does this keystring actually unlock the root dataset?

2 Likes

@winnielinnie , I can’t thank you enough. you have given be a whole new perspective of the world and my recent permanent commitment to FOSS -only for work and play.

such restraint. I’m just excited to see key. Will run now.

3 Likes

WOW! This is an amazing feeling! But honestly I could never have done this. I can’t wait to contrinbute to this amazing community once I get better.

@winnielinnie impressive, great job.

:man_bowing:

1 Like

:warning:
Do this right now.

  • Export the encryption key. Save it somewhere safe.
  • Export your TrueNAS config with “secret seed”. Save it somewhere safe.

Optionally, you can also copy the string into a password manager.

Optionally, I highly recommend you consider this approach for future reference. It will allow you to always have a possible recovery, known only to you, even if you lose everything else.

1 Like

@neofusion should i have been able to use this information and do what @winnielinnie walked me through? It seems like I just needed a better understanding of mounting datasets and drilling into them for the needed files. Am I processing this ocrrectly?

definitely. i am never making this mistake again.

I know you mean well.

:neutral_face:

1 Like

haha. I corrected the solution post

@cutiejim I know this has been resolved, but you still have another issue.

Remember, the last time you checked, your RAIDZ2 vdev is degraded because it’s missing an entire drive.

We won’t go off topic in this thread. I wanted to remind you about this so you can take care of it before something bad happens.

yes. resilvering is a cakewalk after locking myself out of encryption with a failed OS usb drive as my only hope to get back in.

I think we need to push this as an emoji addition to the forums or to the LIKE section

1 Like

Feature request?

Outstanding support!
:trophy:

2 Likes