Hi Everyone -
First and foremost, I must say that I'm relatively "new" to FreeNAS. I have been using it for long enough to know my way around the GUI, but I do not know all the tricks behind it, especially CLI.
So earlier this year, I rebuilt my FreeNAS box, because my old hardware was aged and I had 2 of 4 drives fail on me. Fortunately I was able to recover 95% of my data before that second drive failed. So I've got new-ish (re-purposed) hardware and 5 brand new disks. I had minor hiccups with both of my flash drives corrupting at the same time, but fortunately that was all in testing phases and I lost nothing. Now that I have a good working flash drive again, I've built my NAS back up and have been using it successfully since February 2018. I chose to encrypt my disks, but I'm now finding out that many folks do not for various reasons.
I am currently using FreeNAS 11.1-U1. I have intentions of upgrading to the latest soon, but now I'm struck with a problem before I can. I have not applied any updates since building in February.
I had a power outage late last week, FreeNAS server came back up as it has in the past, but I did not notice that my volume was unavailable until last night. I went to Storage -> Volumes and saw my volume, but it said it was locked. Never had to unlock it before, but whatever, no big deal... right? I tried to unlock it, but it just gave me an error of "Volume Failed Unlocked" as soon as I click YES on the 'Do you want to unlock this volume' dialogue. I am never asked for my key or anything, just a dialogue that says that, followed by the error.
So, reading around on the forums here, I noticed that a lot of folks just have to detatch the volume and just import it again. I see the guide tell you to do such, as well. I made sure the two boxes were NOT checked, so my data wouldn't wipe. Well, I go to import the volume, but I see nothing listed. I go to Import Disks, and I see nothing listed there, too. Heck, even if I go to the Volume Manager, it tells me there are no disks to use. I'm assuming 'zpool status' is the only way to list disks, but I can't see anything and I'm guessing it's because the disks are encrypted.
I reloaded my FreeNAS configuration from February (didn't make any major changes since) and my volume is there again, but I still cannot unlock it. I continue to get the 'Volume Failed Unlocked" message on the top of the GUI.
Here is what the console shows after I attempt to unlock the volume:
zpool import does nothing - outputs no text.
I'm stumped.... I can't find any way to get my data/volume to unlock. I have restarted the box several times, as well, to no avail.
I am using a RAID-Z2 volume that is encrypted. I DO have the geli.key backed up, as well as my configuration.
FWIW:
Intel Core-i7 4770k
16GB Non-ECC RAM
MSI Z97 Gaming 5
5x 4TB HGST NAS Drives
FreeNAS 11.1-U1
One of these days, I do plan on getting hardware that supports ECC RAM, as I have a ton of it set aside, but for now this is what I've got.
I appreciate your help in advance! My apologies for being a complete newb! Let me know if there is something else that I can run to provide more information.
-Brian
First and foremost, I must say that I'm relatively "new" to FreeNAS. I have been using it for long enough to know my way around the GUI, but I do not know all the tricks behind it, especially CLI.
So earlier this year, I rebuilt my FreeNAS box, because my old hardware was aged and I had 2 of 4 drives fail on me. Fortunately I was able to recover 95% of my data before that second drive failed. So I've got new-ish (re-purposed) hardware and 5 brand new disks. I had minor hiccups with both of my flash drives corrupting at the same time, but fortunately that was all in testing phases and I lost nothing. Now that I have a good working flash drive again, I've built my NAS back up and have been using it successfully since February 2018. I chose to encrypt my disks, but I'm now finding out that many folks do not for various reasons.
I am currently using FreeNAS 11.1-U1. I have intentions of upgrading to the latest soon, but now I'm struck with a problem before I can. I have not applied any updates since building in February.
I had a power outage late last week, FreeNAS server came back up as it has in the past, but I did not notice that my volume was unavailable until last night. I went to Storage -> Volumes and saw my volume, but it said it was locked. Never had to unlock it before, but whatever, no big deal... right? I tried to unlock it, but it just gave me an error of "Volume Failed Unlocked" as soon as I click YES on the 'Do you want to unlock this volume' dialogue. I am never asked for my key or anything, just a dialogue that says that, followed by the error.
So, reading around on the forums here, I noticed that a lot of folks just have to detatch the volume and just import it again. I see the guide tell you to do such, as well. I made sure the two boxes were NOT checked, so my data wouldn't wipe. Well, I go to import the volume, but I see nothing listed. I go to Import Disks, and I see nothing listed there, too. Heck, even if I go to the Volume Manager, it tells me there are no disks to use. I'm assuming 'zpool status' is the only way to list disks, but I can't see anything and I'm guessing it's because the disks are encrypted.
I reloaded my FreeNAS configuration from February (didn't make any major changes since) and my volume is there again, but I still cannot unlock it. I continue to get the 'Volume Failed Unlocked" message on the top of the GUI.
Here is what the console shows after I attempt to unlock the volume:
Oct 8 22:01:18 System uwsgi: [middleware.notifier:2524] Importing VolumeName [12275454876993067764] failed with: cannot import '12275454876993067764': no such pool available
zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0 days 00:01:06 with 0 errors on Sun Oct 7 03:46:06
2018
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 0
errors: No known data errors
zpool import does nothing - outputs no text.
I'm stumped.... I can't find any way to get my data/volume to unlock. I have restarted the box several times, as well, to no avail.
I am using a RAID-Z2 volume that is encrypted. I DO have the geli.key backed up, as well as my configuration.
FWIW:
Intel Core-i7 4770k
16GB Non-ECC RAM
MSI Z97 Gaming 5
5x 4TB HGST NAS Drives
FreeNAS 11.1-U1
One of these days, I do plan on getting hardware that supports ECC RAM, as I have a ton of it set aside, but for now this is what I've got.
I appreciate your help in advance! My apologies for being a complete newb! Let me know if there is something else that I can run to provide more information.
-Brian
Last edited: