oRAirwolf
Explorer
- Joined
- Dec 6, 2016
- Messages
- 55
I am running FreeNAS-11.1-U1. I created a new encrypted volume with 2 striped disks for testing purposes and have been toying with locking and unlocking them before doing this on my main disk array. If I put in my password, it unlocks the volume with no problems. The problem I am running into is that when I go to unlock the volume, if I choose my geli.key file, I get the following error in the UI:
Here is what I see in the console:
If I decrypt the volume using the password, this is what I see in the console...Does this look normal?
I have re-downloaded the key after unlocking the volume with the password and tried the new key. I still get the same results. Any ideas as to why this may be happening?
Here's a video of it happening:
Code:
Environment: Software Version: FreeNAS-11.1-U1 (f7e246b8f) Request Method: POST Request URL: http://10.10.0.23/storage/volume/3/unlock/?X-Progress-ID=4b4ec991-6bae-405b-8cb3-46872ebcee53 Traceback: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 42. 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 1005. form.done(volume=volume) File "./freenasUI/storage/forms.py" in done 2792. raise MiddlewareError(msg) Exception Type: MiddlewareError at /storage/volume/3/unlock/ Exception Value: [MiddlewareError: Volume could not be imported: 2 devices failed to decrypt]
Here is what I see in the console:
Code:
Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.exceptions:36] [MiddlewareError: Unable to geli attach gptid/1c77f259-135c-11e8-bf2e-a0369f1178a4: geli: Wrong key for gptid/1c77f259-135c-11e8-bf2e-a0369f1178a4.] Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.notifier:603] [MiddlewareError: Unable to geli attach gptid/1c77f259-135c-11e8-bf2e-a0369f1178a4: geli: Wrong key for gptid/1c77f259-135c-11e8-bf2e-a0369f1178a4.] Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.exceptions:36] [MiddlewareError: Unable to geli attach gptid/1d502a35-135c-11e8-bf2e-a0369f1178a4: geli: Wrong key for gptid/1d502a35-135c-11e8-bf2e-a0369f1178a4.] Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.notifier:603] [MiddlewareError: Unable to geli attach gptid/1d502a35-135c-11e8-bf2e-a0369f1178a4: geli: Wrong key for gptid/1d502a35-135c-11e8-bf2e-a0369f1178a4.] Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.notifier:2524] Importing EncryptedVolume [6177185692294345268] failed with: cannot import '6177185692294345268': no such pool available Feb 18 11:31:09 epsilonshrike uwsgi: [middleware.exceptions:36] [MiddlewareError: Volume could not be imported: 2 devices failed to decrypt]
If I decrypt the volume using the password, this is what I see in the console...Does this look normal?
Code:
Feb 18 11:41:12 epsilonshrike GEOM_ELI: Device gptid/1c77f259-135c-11e8-bf2e-a0369f1178a4.eli created. Feb 18 11:41:12 epsilonshrike GEOM_ELI: Encryption: AES-XTS 256 Feb 18 11:41:12 epsilonshrike GEOM_ELI: Crypto: hardware Feb 18 11:41:14 epsilonshrike GEOM_ELI: Device gptid/1d502a35-135c-11e8-bf2e-a0369f1178a4.eli created. Feb 18 11:41:14 epsilonshrike GEOM_ELI: Encryption: AES-XTS 256 Feb 18 11:41:14 epsilonshrike GEOM_ELI: Crypto: hardware Feb 18 11:41:14 epsilonshrike ZFS: vdev state changed, pool_guid=6177185692294345268 vdev_guid=6522193428091623649 Feb 18 11:41:14 epsilonshrike ZFS: vdev state changed, pool_guid=6177185692294345268 vdev_guid=3126616867256274448 Feb 18 11:41:22 epsilonshrike smbd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1 Feb 18 11:41:35 epsilonshrike nfsd: can't register svc name Feb 18 11:41:44 epsilonshrike syslog-ng[7320]: syslog-ng shutting down; version='3.7.3' Feb 18 11:41:44 epsilonshrike syslog-ng[9964]: syslog-ng starting up; version='3.7.3' Feb 18 11:41:51 epsilonshrike smbd: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1 Feb 18 11:41:52 epsilonshrike savecore: /dev/da7p1: Operation not permitted Feb 18 11:41:52 epsilonshrike savecore: /dev/da6p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da5p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da4p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da3p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da2p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da1p1: Operation not permitted Feb 18 11:41:53 epsilonshrike savecore: /dev/da0p1: Operation not permitted
I have re-downloaded the key after unlocking the volume with the password and tried the new key. I still get the same results. Any ideas as to why this may be happening?
Here's a video of it happening:
Last edited by a moderator: