Unable to import volume.

antob68fn

Cadet
Joined
Jan 1, 2018
Messages
8
Hi team,
I've started to experience Fatal trap 12 after upgrading to 11.3 then upgrading zfs pool on one of my disks (WD NAS 3.0 TB).

I'm able to start the system but, if I leave the drive in I still get into fatal trap 12. If I insert the drive after system has successfully booted, I can see the disk and after attempting to import the volume (I guess it still recognize there is one) I get the following error:


Request Method: POST
Request URL: http://192.168.2.117/storage/auto-import/
Software Version: FreeNAS-11.1-RELEASE (dc7d195f4)
Exception Type: MiddlewareError
Exception Value:
[MiddlewareError: The volume "zfsVol1" failed to import, for futher details check pool status]
Exception Location: ./freenasUI/middleware/notifier.py in volume_import, line 2647
Server time: Sun, 5 May 2019 14:40:54 -0700
Traceback
Environment:

Software Version: FreeNAS-11.1-RELEASE (dc7d195f4)
Request Method: POST
Request URL: http://192.168.2.117/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
881. self.volume = notifier().volume_import(vol['label'], vol['id'], key, passphrase, enc_disks)
File "./freenasUI/middleware/notifier.py" in volume_import
2647. 'for futher details check pool status') % volume_name)

Exception Type: MiddlewareError at /storage/auto-import/
Exception Value: [MiddlewareError: The volume "zfsVol1" 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 'zfsVol1|10984135251537352646'
__form_id 'dijit_form_Form_2'
FILES
No FILES data

COOKIES
Variable Value
csrftoken '3B3CiPTmRLZeksaG6bI6Jr8lqSKuyFbHhxWimQgLCC3XCs01Dj3LqbZHPh21nd5j'
sessionid 'r9y2sejbcqj8i01s4iupk9gjnexq7pp4'
fntreeSaveStateCookie 'root%2Croot%2F59%2Croot%2F59%2F60%2Croot%2F98%2F102%2Croot%2F98%2F111%2Croot%2F98%2F111%2F113%2Croot%2F98%2F111%2F122%2Croot%2F60%2Croot%2F60%2F61%2Croot%2F60%2F61%2F66%2Croot%2F60%2F78'
META
Variable Value


Here are system info:


Platform Intel(R) Core(TM) i7 CPU 950 @ 3.07GHzMemory 8145MBSystem Time Mon, 6 May 2019 15:17:13 -0700Uptime 3:17PM up 6:10, 0 usersLoad Average 0.09, 0.16, 0.18
 
D

dlavigne

Guest
Please clarify: which version did you upgrade from and to? You say 11.3 (which is a testing alpha version) but your traceback is for 11.1.
 

antob68fn

Cadet
Joined
Jan 1, 2018
Messages
8
My apologies,

Last upgrade was from 11.1 to 11.2
In an attempt to recover I selected to boot it at 11.1
ZFS pools were upgraded after last upgrade also
Same results
 
D

dlavigne

Guest
To clarify, was this a one disk pool or did it have redundancy?
 
D

dlavigne

Guest
If that disk died, that pool died. Were you running SMART tests? How are the disks cabled?
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
The volume "zfsVol1" failed to import, for futher details check pool status
What happens when you run zpool status and zpool import?

Sent from my phone
 

antob68fn

Cadet
Joined
Jan 1, 2018
Messages
8
What happens when you run zpool status and zpool import?

Sent from my phone

root@freenas:~ # zpool import
pool: zfsVol1
id: 10984135251537352646
state: FAULTED
status: The pool metadata is corrupted.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-72
config:

zfsVol1 FAULTED corrupted data
gptid/462bcb84-f63b-11e7-82ce-001fbc0233b6 ONLINE
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
I don't recall running
Do it now, then (short and long one)


Disks are cabled with SATA cables
Do you have a HBA? Or directly to motherboard?

How many other disks you have there? What is their cabling?

BTW your motherboard model may help as well as chassis and disk cases/bay types...

Sent from my phone
 

pro lamer

Guru
Joined
Feb 16, 2018
Messages
626
And your PSU...

Sent from my phone
 
Top