System failure after Update 11-U3

Status
Not open for further replies.

saran

Cadet
Joined
Aug 23, 2017
Messages
7
Hi guys....

Desperately seek members helps, I'm using FreeNAS 11, all seems ok until i update the and the system can't be able to boot..showing can't load the kernel..
I spend times reading many forums but the problem still persist...below are some of the steps I've gone through but stuck at the stage to unlock my data that seems automatically locked..

1. install new image on different usb drive.
2. upload best working sys config and load into new working system.....
My problem started when I couldn't unlock the volume...i still remember my passphrase key....the error is as followed...hope someone could help solve my problem...

Error Code
Code:
Environment: Software Version: FreeNAS-11.0-RELEASE (a2dc21583) Request Method: POST Request URL: http://192.168.224.91/storage/volume/1/unlock/?X-Progress-ID=4e91c48c-42ec-4afa-8b6e-d48e994407d7 Traceback: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 39. response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response 249. response = self._get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 178. response = middleware_method(request, callback, callback_args, callback_kwargs) File "./freenasUI/freeadmin/middleware.py" in process_view 162. return login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "./freenasUI/storage/views.py" in volume_unlock 1190. form.done(volume=volume) File "./freenasUI/storage/forms.py" in done 2613. raise MiddlewareError(msg) Exception Type: MiddlewareError at /storage/volume/1/unlock/ Exception Value: [MiddlewareError: b'Volume could not be imported: 3 devices failed to decrypt']
 
Last edited by a moderator:

rs225

Guru
Joined
Jun 28, 2014
Messages
878
This sounds like an encryption problem? Did you make a backup of the encryption key? Keep safe the old USB stick, and do not do anything with it.
 

saran

Cadet
Joined
Aug 23, 2017
Messages
7
Yes.....the geli.key rite....i have tried many times even de-attached and trying to re-attached back the volume but nothing seems works...yes bro i have keep good care of it(the old usb stick) wish to hear more troubleshooting techniques... tx for yr reply..
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware specs and FreeNAS version required for every post.

What version of FreeNAS are you using now what version did you come from? Try using the old version.
 
Last edited by a moderator:

saran

Cadet
Joined
Aug 23, 2017
Messages
7
good to hear from you guys....at least trying to narrow down to the real culprit...

I'm using FreeNAS 11...from initial setup/configuration....just itch hand with trying apply new updates but ended up...with nightmare.
First system: ver 11
Hardware: Acer veriton M2640G, I5 Intel Processor with 4Tera Hdd and 8GRam...Motherboard :Chipset Intel H110
 
Last edited by a moderator:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So you say the system will not boot and you say you can't unlock your pool. Which is your problem?
 

rs225

Guru
Joined
Jun 28, 2014
Messages
878
I think the original USB won't boot after an upgrade, and the new USB boots, but can't access the pool because it is locked. Is that correct?
 

saran

Cadet
Joined
Aug 23, 2017
Messages
7
Ok well, i have created few boot environment 1.Default 2.working system and 3. is the automatic created boot 11.U3 which i can't boot....So when i try boot on working system, there is error like the device is degraded and bla...bla...thus i made a fresh installation on new usb stick and trying to restore the pool (using working system config file) and its seems fail either...

Yes....rs225 ....now im trying on fresh installation and trying hard to unlock the zfs pool...hope u have any recomendation....tx
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So after your system is booted you need to upload your config file. Things will reboot once then you can upload your key and passphrase to unlock your pool.
 

MrToddsFriends

Documentation Browser
Joined
Jan 12, 2015
Messages
1,338

saran

Cadet
Joined
Aug 23, 2017
Messages
7
Maybe this posting helps locating the key on your old boot medium (if that is your problem)
https://forums.freenas.org/index.php?threads/recover-encryption-key.16593/#post-85497

This links provide a very clear pic on encryption and key concept.....i guess i have lost the geli.key file....the only i still remember is passphrase and hoping to restore from /data/geli ...seems got better understanding on how the encryption works. Thanks Mr.Todds..

Can i try >geli init da0 for resetting the password but this neither works...
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
This links provide a very clear pic on encryption and key concept.....i guess i have lost the geli.key file....the only i still remember is passphrase and hoping to restore from /data/geli ...seems got better understanding on how the encryption works. Thanks Mr.Todds..

Can i try >geli init da0 for resetting the password but this neither works...
If you don't have the encryption key or the recovery key it's impossible to unlock the volume. That is the reason you wanted encryption in the first place right? Only the person with the key can access the data.
 

saran

Cadet
Joined
Aug 23, 2017
Messages
7
Maybe this posting helps locating the key on your old boot medium (if that is your problem)
https://forums.freenas.org/index.php?threads/recover-encryption-key.16593/#post-85497

But why i still unable to unlock the key even after i copy the /data/geli.key to new install environment......Everything is fine b4 updates but things going worse after partial update.....B4 update im able to Unlock the device with just using the passphrase key....seems, i lost my patient and wanted to re-create the pool again.....sadly i lost all the data but learn a valuable lesson....1.always keep all the config files 2.keep 2 or more cpy of flash drive on install image 3.never update if not necessary.....not all update is good for yr system..:(:(:confused:
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
But why i still unable to unlock the key even after i copy the /data/geli.key to new install environment......Everything is fine b4 updates but things going worse after partial update.....B4 update im able to Unlock the device with just using the passphrase key....seems, i lost my patient and wanted to re-create the pool again.....sadly i lost all the data but learn a valuable lesson....1.always keep all the config files 2.keep 2 or more cpy of flash drive on install image 3.never update if not necessary.....not all update is good for yr system..:(:(:confused:
Your missed the most important thing. Don't encrypt your drives unless you know what you are doing.
 

Inxsible

Guru
Joined
Aug 14, 2017
Messages
1,123
things going worse after partial update
Another important point.... either upgrade or don't upgrade. Don't do half assed things like partial updates in rolling release software.
 
Status
Not open for further replies.
Top