Can't import zfs mirror
Posted: 25 Sep 2015 00:09
I had created a simple zfs mirror a long time ago when this was still FreeNAS 7.x
One of my drives died. When I brought up my server it would no longer boot.
I had a spare box I loaded up the latest version of NAS4Free brought over both drives and tried to import the zfs pool to recover my data.
I get the following error:
zpool import -f
pool: files
id: 7904906901605944398
state: FAULTED
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-3C
config:
files FAULTED corrupted data
mirror-0 FAULTED corrupted data
1721085329635625914 FAULTED corrupted data
5177942592732901939 UNAVAIL cannot open
It says to use the -f flag however when I do I get the same error.
There is a hardware fault in the UNAVAIL drive the bios won't recognize it. Is there anyway to get past this error?
I have a replacement drive. Could I copy the working drive and give it the ID of the failed drive and then do the import?
Since I was doing a Mirror all or at least most of my data is on the good drive. How can I get to it? Can I convert it to a non mirror and just access it?
One of my drives died. When I brought up my server it would no longer boot.
I had a spare box I loaded up the latest version of NAS4Free brought over both drives and tried to import the zfs pool to recover my data.
I get the following error:
zpool import -f
pool: files
id: 7904906901605944398
state: FAULTED
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-3C
config:
files FAULTED corrupted data
mirror-0 FAULTED corrupted data
1721085329635625914 FAULTED corrupted data
5177942592732901939 UNAVAIL cannot open
It says to use the -f flag however when I do I get the same error.
There is a hardware fault in the UNAVAIL drive the bios won't recognize it. Is there anyway to get past this error?
I have a replacement drive. Could I copy the working drive and give it the ID of the failed drive and then do the import?
Since I was doing a Mirror all or at least most of my data is on the good drive. How can I get to it? Can I convert it to a non mirror and just access it?