zpool import reboots computer

Freddie Cash fjwcash at gmail.com
Thu Jan 19 16:19:39 UTC 2012


On Thu, Jan 19, 2012 at 8:02 AM, Volodymyr Kostyrko <c.kworr at gmail.com> wrote:
> Martin Ranne wrote:
>>
>> I had a failure in one server where i try to determine if it is memory or
>> cpu. It shows up as memory failure in memtest86. The result is that it
>> managed to damage the zpool which is a raidz2 with 6 disks.
>>
>> If I boot from a FreeBSD 9.0-RELEASE usb stick and import it with zpool -f
>> -R /mnt/zroot zroot it will reboot the computer. I have also tried to import
>> it in another computer which is running 9-STABLE with the same result. On
>> the second computer I used zpool -f -R /mnt/zroot "zpool-id" serv06zroot
>>
>> Can I get some help on how to be able to debug this and in the end be able
>> to import it to repair it.
>>
>> Data for the second computer can be found attached. The disks in question
>> are da0 to da5 in this.
>
>
> Try importing pool in read-only mode. AFAIR:
>
> zpool import -f -o readonly=on -R /mnt/zroot zroot

And consider -F instead of -f.  You don't want to force the import,
and possibly cause more damage.

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-fs mailing list