Can't import volume after rebuilding FreeNas boot stick

djlax152

Dabbler
Joined
Mar 15, 2012
Messages
48
Hello, I am having a serious panic attack as i can't seem to import my volume after my USB stick i guess became corrupted. I have had this baby going for over 5 years now and i have imported this volume at least 3 times before with zero issues. All have been because of a corrupt Boot USB drive. Any help would be greatly appreciated.

Hardware
Intel Xeon E3-1220v3 3.1GHz 8MB Cache LGA1150
AsRock Rack E3C224Di-14s
32GB Of EEC Mem Kingston
Intel ssd 530 Series120gb cache drive

Import Volume
Request Method: POST
Request URL: http://192.168.2.220/legacy/storage/auto-import/
Software Version: FreeNAS-11.2-U6 (5acc1dec66)
Exception Type: ClientException
Exception Value:
[MiddlewareError: The volume "VOLUME1" failed to import, for futher details check pool status]
Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 477
Server time: Sat, 26 Oct 2019 14:05:57 -0700
Traceback
Environment:

Software Version: FreeNAS-11.2-U6 (5acc1dec66)
Request Method: POST
Request URL: http://192.168.2.220/legacy/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
163. 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
248. 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
309. return self.render_done(form, **kwargs)
File "/usr/local/lib/python3.6/site-packages/formtools/wizard/views.py" in render_done
365. done_response = self.done(final_forms.values(), form_dict=final_forms, **kwargs)
File "./freenasUI/storage/forms.py" in done
925. c.call('pool.import_pool', arg, job=True)
File "./freenasUI/storage/forms.py" in done
925. c.call('pool.import_pool', arg, job=True)
File "/usr/local/lib/python3.6/site-packages/middlewared/client/client.py" in call
477. raise ClientException(job['error'], trace=job['exception'])

Exception Type: ClientException at /legacy/storage/auto-import/
Exception Value: [MiddlewareError: The volume "VOLUME1" 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 'VOLUME1|17730142747493866468'
__form_id 'dijit_form_Form_3'
FILES
No FILES data

COOKIES
Variable Value
fntreeSaveStateCookie 'root%2Croot%2F63%2Croot%2F63%2F64'
csrftoken '********'
sessionid '1bdwim4kw6gztz5ghcznyqmqlwkkxwxn'
META
Variable Value
 

Attachments

  • 1572124380223.png
    1572124380223.png
    2.8 KB · Views: 197

djlax152

Dabbler
Joined
Mar 15, 2012
Messages
48
Second attempt yielded this.

Request Method: POSTRequest URL: http://192.168.2.220/legacy/storage/auto-import/Software Version: FreeNAS-11.2-U6 (5acc1dec66)Exception Type: ClientExceptionException Value: [MiddlewareError: The volume "VOLUME1" failed to import, for futher details check pool status]
Exception Location: /usr/local/lib/python3.6/site-packages/middlewared/client/client.py in call, line 477Server time: Sat, 26 Oct 2019 14:25:59 -0700
Traceback



Request information
GET
No GET data
POST
Variable Value auto_import_wizard-current_step'2'2-__all__''2-volume_id'VOLUME1|17730142747493866468'__form_id'dijit_form_Form_1' FILES
No FILES data
COOKIES
Variable Value fntreeSaveStateCookie'root%2Croot%2F63'csrftoken'********'sessionid'9003zktim6a4a6malir4leb2hxu0jowu' META
Variable Value
 

Jessep

Patron
Joined
Aug 19, 2018
Messages
379
It appears you have a 6 drive RaidZ1 pool with (2) drives unavailable. RaidZ1 only has (1) drive redundancy. Until you can get one of the offline drives online you will not be able to recover your data.

This is why RaidZ1 is deprecated.

You have full backups?
 

1kokies

Contributor
Joined
Oct 7, 2017
Messages
138
i had this situation before but i am no expert, it would greatly help if you provide more details and also to post output like below. More members will be able to help you. @PhiloEpisteme helped me out on this and if you can find the post, please thank him.
Capture5.PNG



from 11.2 U6 you can't copy and paste output, need to enable SSH and install Putty. from there CLI commands and copy/paste output, example below. This is the first rule ya.

Code:
root@freenas:~ # zpool status
  pool: Data-Media
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(7) for details.
  scan: resilvered 56K in 0 days 00:00:02 with 0 errors on Thu Oct 17 00:17:09 2019
config:

        NAME                                            STATE     READ WRITE CKSUM
        Data-Media                                      ONLINE       0     0     0
          raidz1-0                                      ONLINE       0     0     0
            gptid/151f2837-e61d-11e7-a41a-086266295468  ONLINE       0     0     0
            gptid/bb0c2d26-e5db-11e7-b7ed-086266295468  ONLINE       0     0     0
            gptid/b70cb8cd-e4de-11e7-b58d-086266295468  ONLINE       0     0     0
            gptid/b84b6866-e4de-11e7-b58d-086266295468  ONLINE       0     0     0

errors: No known data errors



Can you give more details before and after ? Did you open up the case and move any sata, power, ,molex etc ? Right before this happened the pool was ok ?
 
Last edited:
Joined
Oct 18, 2018
Messages
969
What does this mean? all of my disks seem to show up and Freenas can see them
Have you double-checked your cables etc connected to the drives? And when you say they show up in FreeNAS do you mean you see them under the Disks menu? If so, what exactly do you see. Feel free to post a screenshot.

I second @1kokies suggestion; more information could be helpful. Hopefully these drives are just not connected properly and you can get them recognized by your system so your pool comes back. :)
 
Top