Gravypicante
Dabbler
- Joined
- Feb 7, 2014
- Messages
- 13
Hey everyone, I'm having trouble re-importing a ZFS volume that appears to be intact. Any help or insight would be greatly appreciated.
The volume started acting weird after FreeNAS unexpectedly crashed (rebooted). I had used the GUI to wipe a disk so that I could add it to a different ZFS mirror. That disk has since been added to the unrelated mirror without problems, but clicking the "Wipe" button in the GUI is what caused the first crash.
The ZFS mirror I am having trouble with consists of two disks, connected with USB. Attempting to restart FreeNAS after the first crash always ended with a "Fatal trap 12: page fault while in kernel mode" error. So I detached the volume after successfully restarting FreeNAS with both disks disconnected.
Now FreeNAS itself is working fine, and so is my other ZFS mirror (which consists of 3 SATA disks). But any attempt to re-import my first ZFS mirror instantly crashes FreeNAS and the computer reboots. Using "zpool import" shows that the detached volume appears to be fine:
I suppose there is a log somewhere that would show what exactly is happening, but I'm not sure which log would be most helpful (or where I would find it). Suggestions?
I've tried the following methods of re-importing the volume:
I would simply remake the mirror if I had a recent backup of the data. It's probably not surprising that I wasn't smart enough to do that and my only backup is several months old.
So yes, this is mostly my fault, but I'd still be infinitely grateful if someone could help me get things up and running again!
Build: FreeNAS-9.2.1.8-RELEASE-x86
Platform: Intel(R) Pentium(R) 4 CPU 3.20GHz
Memory: 2017MB
Platform: Intel(R) Pentium(R) 4 CPU 3.20GHz
Memory: 2017MB
The volume started acting weird after FreeNAS unexpectedly crashed (rebooted). I had used the GUI to wipe a disk so that I could add it to a different ZFS mirror. That disk has since been added to the unrelated mirror without problems, but clicking the "Wipe" button in the GUI is what caused the first crash.
The ZFS mirror I am having trouble with consists of two disks, connected with USB. Attempting to restart FreeNAS after the first crash always ended with a "Fatal trap 12: page fault while in kernel mode" error. So I detached the volume after successfully restarting FreeNAS with both disks disconnected.
Now FreeNAS itself is working fine, and so is my other ZFS mirror (which consists of 3 SATA disks). But any attempt to re-import my first ZFS mirror instantly crashes FreeNAS and the computer reboots. Using "zpool import" shows that the detached volume appears to be fine:
# zpool import
pool: SYF-Files
id: 12499899812707172444
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
SYF-Files ONLINE
mirror-0 ONLINE
gptid/a20fbc90-63cb-11e4-9a62-00123f3a71a4 ONLINE
gptid/b001b80c-63cb-11e4-9a62-00123f3a71a4 ONLINE
pool: SYF-Files
id: 12499899812707172444
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
SYF-Files ONLINE
mirror-0 ONLINE
gptid/a20fbc90-63cb-11e4-9a62-00123f3a71a4 ONLINE
gptid/b001b80c-63cb-11e4-9a62-00123f3a71a4 ONLINE
I suppose there is a log somewhere that would show what exactly is happening, but I'm not sure which log would be most helpful (or where I would find it). Suggestions?
I've tried the following methods of re-importing the volume:
- GUI feature "Auto Import Volume"
- Regular zpool import command
- Zpool import command with force option
- Zpool import command with discard unfinished changes option
I would simply remake the mirror if I had a recent backup of the data. It's probably not surprising that I wasn't smart enough to do that and my only backup is several months old.
So yes, this is mostly my fault, but I'd still be infinitely grateful if someone could help me get things up and running again!