FreeNAS 11.1-U7 Cannot import encrypted volume
The story goes:
I'm running a 4 disk (3TB each) RAIDZ2 configuration & I was replacing an overheating disk. Shut the system down, removed the disk, put a new one in, and restarted. It's a little vague right now, as it was a couple of days ago, but it recognized, yet couldn't add the replacement disk for some reason.
Long and short is that the volume showed up as locked in the GUI, and I couldn't get it to unlock (I have the geli.key). I read on a forum somewhere that unmounting the volume and then reattaching it sometimes solved the problem. I tried this, and now I can't get the volume to attach/decrypt. The following is what I'm doing, trying to get it to mount. I have an external drive I can copy everything to in one shot and redo the entire NAS but, obviously, I need to get to the data first...
Log into the GUI:
Volumes --> Import Volume --> "Encrypted ZFS volume?" I select "Yes: Decrypt disks" and click ok.
I can choose ada0p2, ada1p2, ada2p2, and/or ada3p2. Through trial and error, I have found that I can choose ONLY 2 disks (I can select all 4 to "use" at once, but it only works when I select as noted), and that for some reason, one of them MUST be ada3p2 (If I choose any other combination, "Step 3" comes up, however, there is no volume to select in the drop down menu.
For the sake of consistency in this post, I'll stick to selecting ada2p2 and ada2p3 each time). So, I then choose the encryption key, and as I don't believe I set a passphrase, I hit ok.
It thinks for a moment and comes up with step 3, with a selectable volume in the drop down menu.
I select it, and click ok, and it thinks for a few seconds, and I get the following error message:
I have both "Show console messages in the footer" selected in advanced preferences, as well as a monitor attached, and the following is what comes up when I try the above:
PLEASE someone help me - I have a LOT of crap on there, but I do have some important family photos, & things.
Here's my setup:
Motherboard: HP p6-2000z (1.6GHz AMD)
RAM: 4GB (YES, I know the minimum is supposedly 8GB, but it's been running perfectly for ages now)
Storage: 4x 3TB Seagate Constellation drives
System drive: 8GB flash drive
(A follow up - provided we're successful here {and even if we aren't} - can anyone link me to somewhere that there is a list of commands to enter in the shell to copy to an externally plugged in USB drive & back, please?)
Thank you ALL for your time, just to read it, even if you can't help me!
The story goes:
I'm running a 4 disk (3TB each) RAIDZ2 configuration & I was replacing an overheating disk. Shut the system down, removed the disk, put a new one in, and restarted. It's a little vague right now, as it was a couple of days ago, but it recognized, yet couldn't add the replacement disk for some reason.
Long and short is that the volume showed up as locked in the GUI, and I couldn't get it to unlock (I have the geli.key). I read on a forum somewhere that unmounting the volume and then reattaching it sometimes solved the problem. I tried this, and now I can't get the volume to attach/decrypt. The following is what I'm doing, trying to get it to mount. I have an external drive I can copy everything to in one shot and redo the entire NAS but, obviously, I need to get to the data first...
Log into the GUI:
Volumes --> Import Volume --> "Encrypted ZFS volume?" I select "Yes: Decrypt disks" and click ok.

I can choose ada0p2, ada1p2, ada2p2, and/or ada3p2. Through trial and error, I have found that I can choose ONLY 2 disks (I can select all 4 to "use" at once, but it only works when I select as noted), and that for some reason, one of them MUST be ada3p2 (If I choose any other combination, "Step 3" comes up, however, there is no volume to select in the drop down menu.

For the sake of consistency in this post, I'll stick to selecting ada2p2 and ada2p3 each time). So, I then choose the encryption key, and as I don't believe I set a passphrase, I hit ok.

It thinks for a moment and comes up with step 3, with a selectable volume in the drop down menu.

I select it, and click ok, and it thinks for a few seconds, and I get the following error message:

Code:
Request Method: POST Request URL: http://192.168.1.199/storage/auto-import/ Software Version: FreeNAS-11.1-U7 (b45bfcf29) Exception Type: MiddlewareError Exception Value: [MiddlewareError: The volume "NAS-Root" failed to import, for futher details check pool status] Exception Location: ./freenasUI/middleware/notifier.py in volume_import, line 2676 Server time: Tue, 21 May 2019 17:50:14 -0400 Traceback Environment: Software Version: FreeNAS-11.1-U7 (b45bfcf29) Request Method: POST Request URL: http://192.168.1.199/storage/auto-import/ 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 "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in view 68. return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in dispatch 237. response = super(WizardView, self).dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" in dispatch 88. return handler(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in post 300. return self.render_done(form, **kwargs) File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done 357. **kwargs) File "./freenasUI/storage/forms.py" in done 884. self.volume = notifier().volume_import(vol['label'], vol['id'], key, passphrase, enc_disks) File "./freenasUI/middleware/notifier.py" in volume_import 2676. 'for futher details check pool status') % volume_name) Exception Type: MiddlewareError at /storage/auto-import/ Exception Value: [MiddlewareError: The volume "NAS-Root" failed to import, for futher details check pool status] Request information GET No GET data POST Variable Value auto_import_wizard-current_step '2' 2-__all__ '' 2-volume_id 'NAS-Root|14887166266537682792' __form_id 'dijit_form_Form_99' FILES No FILES data COOKIES Variable Value fntreeSaveStateCookie 'root' csrftoken '********' sessionid 'pd7va30b3ldh113zadubqz7xbgtd2y1t' META Variable Value
I have both "Show console messages in the footer" selected in advanced preferences, as well as a monitor attached, and the following is what comes up when I try the above:
Code:
May 21 17:49:36 freenas GEOM_ELI: Device gptid/bec972c2-9131-11e8-991f-3860770e8bb4.eli destroyed. May 21 17:49:36 freenas GEOM_ELI: Device gptid/008eab85-d6e2-11e8-80d6-3860770e8bb4.eli destroyed. May 21 17:49:45 freenas GEOM_ELI: Device gptid/bec972c2-9131-11e8-991f-3860770e8bb4.eli created. May 21 17:49:45 freenas GEOM_ELI: Encryption: AES-XTS 256 May 21 17:49:45 freenas GEOM_ELI: Crypto: software May 21 17:49:45 freenas GEOM_ELI: Device gptid/008eab85-d6e2-11e8-80d6-3860770e8bb4.eli created. May 21 17:49:45 freenas GEOM_ELI: Encryption: AES-XTS 256 May 21 17:49:45 freenas GEOM_ELI: Crypto: software May 21 17:49:55 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=5236072806288514073 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=8735114228111867127 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=14678466695872316278 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=17447851299479880634 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=9336531035625982523 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=5236072806288514073 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=8735114228111867127 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=14678466695872316278 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=17447851299479880634 May 21 17:49:56 freenas ZFS: vdev state changed, pool_guid=14887166266537682792 vdev_guid=9336531035625982523 May 21 17:49:56 freenas uwsgi: [middleware.notifier:2553] Importing NAS-Root [14887166266537682792] failed with: cannot import 'NAS-Root': I/O error May 21 17:49:56 freenas uwsgi: [middleware.exceptions:36] [MiddlewareError: The volume "NAS-Root" failed to import, for futher details check pool status] May 21 17:50:13 freenas nfsd: can't register svc name
PLEASE someone help me - I have a LOT of crap on there, but I do have some important family photos, & things.
Here's my setup:
Motherboard: HP p6-2000z (1.6GHz AMD)
RAM: 4GB (YES, I know the minimum is supposedly 8GB, but it's been running perfectly for ages now)
Storage: 4x 3TB Seagate Constellation drives
System drive: 8GB flash drive


(A follow up - provided we're successful here {and even if we aren't} - can anyone link me to somewhere that there is a list of commands to enter in the shell to copy to an externally plugged in USB drive & back, please?)
Thank you ALL for your time, just to read it, even if you can't help me!