Jump to content

FreeNAS Encryption Assistance - Mount USB

Go to solution Solved by rustikles,

Question: Have you asked this question on the FreeNAS forums yet? They are here: forums.freenas.org I would ask under: Help & Support > Storage.

I don't know much about Encryption and I don't know of a way to fix a "mangled root partition", which I'd imagine is a requirement to mounting the partitions. 

They might. If you are screwed however, they will probably be very "Well, you should've known better." They can be harsh when it comes to basic things, though not always.

I did go on their forums as well, but before they could respond, I got it to work :D. It's hard to explain the stress off of my shoulders now. I don't even want to talk about how much anime I could have lost.

 

For reference: I found a utility called UFS Explorer which allowed me to browse the remaining intact files on my usb drive. From there, I followed suggestions from past freenas forum postings to find the .key file on the fourth partition under /geli. Once copied, it was a simple matter to replace the same location on my new usb with the files I recovered.

 

Moral of the story: Make backups and recovery files for everything before you go changing settings.

To preface: I am a terrible human being and should feel bad.

 

If you're familiar with the system, freenas is typically run off of a USB device which can easily be replaced in the event of failure. I have periodic backups of all system settings, so there's no issue in that respect. However, I also set up encryption on all my drive a while back. Being a good little server admin (personal equipment here, not business), I downloaded recovery keys in the event that I forgot the encryption password for some reason. (Some of you may be cringing at the realization of what I've done -or not done-).

 

Skip ahead to today. USB stick starts to have issues and won't boot due to a mangled root partition (a bystander inadvententially unplugged it :mellow:). Although, despite knowing the password to decrypt the drives, you also need to have the geli key for auto-import of encrypted devices. Basically, I messed up and didn't back up all the proper files.

 

 

All that is to ask this: How can I mount the partitions on my previous freenas usb drive to copy the geli key I need?

CPU: i5 4670k • Cooler: Corsair H100i • Motherboard: MSI Z87 MPOWER • RAM: Crucial Ballistix Elite 2x 8GB • Storage: Samsung 840 250GB SSD, 2x WD Red 3TB • GPU: EVGA GTX 780 3GB • PSU: Corsair RM750W • Case: Corsair 750D • Mouse: Razer Naga 2012 (I actually use the thing for productivity/media buttons) • Keyboard: Ducky Shine 3 w/ Browns - Green LED • Monitor: Asus PB278Q 27" 2560 x 1440, ASUS PB238Q 23" 1920x1080 • Lighting: 2m NZXT Sleeved Blue LED Strip • pcpartpicker.com/p/3cHfZ

 

Link to comment
Share on other sites

Link to post
Share on other sites

-snip-

Question: Have you asked this question on the FreeNAS forums yet? They are here: forums.freenas.org I would ask under: Help & Support > Storage.

I don't know much about Encryption and I don't know of a way to fix a "mangled root partition", which I'd imagine is a requirement to mounting the partitions. 

They might. If you are screwed however, they will probably be very "Well, you should've known better." They can be harsh when it comes to basic things, though not always.

† Christian Member †

For my pertinent links to guides, reviews, and anything similar, go here, and look under the spoiler labeled such. A brief history of Unix and it's relation to OS X by Builder.

 

 

Link to comment
Share on other sites

Link to post
Share on other sites

Question: Have you asked this question on the FreeNAS forums yet? They are here: forums.freenas.org I would ask under: Help & Support > Storage.

I don't know much about Encryption and I don't know of a way to fix a "mangled root partition", which I'd imagine is a requirement to mounting the partitions. 

They might. If you are screwed however, they will probably be very "Well, you should've known better." They can be harsh when it comes to basic things, though not always.

I did go on their forums as well, but before they could respond, I got it to work :D. It's hard to explain the stress off of my shoulders now. I don't even want to talk about how much anime I could have lost.

 

For reference: I found a utility called UFS Explorer which allowed me to browse the remaining intact files on my usb drive. From there, I followed suggestions from past freenas forum postings to find the .key file on the fourth partition under /geli. Once copied, it was a simple matter to replace the same location on my new usb with the files I recovered.

 

Moral of the story: Make backups and recovery files for everything before you go changing settings.

CPU: i5 4670k • Cooler: Corsair H100i • Motherboard: MSI Z87 MPOWER • RAM: Crucial Ballistix Elite 2x 8GB • Storage: Samsung 840 250GB SSD, 2x WD Red 3TB • GPU: EVGA GTX 780 3GB • PSU: Corsair RM750W • Case: Corsair 750D • Mouse: Razer Naga 2012 (I actually use the thing for productivity/media buttons) • Keyboard: Ducky Shine 3 w/ Browns - Green LED • Monitor: Asus PB278Q 27" 2560 x 1440, ASUS PB238Q 23" 1920x1080 • Lighting: 2m NZXT Sleeved Blue LED Strip • pcpartpicker.com/p/3cHfZ

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×