Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2012 08:19:38 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: zpool import reboots computer
Message-ID:  <CAOjFWZ6AH4-eG2jdLc2brFUokMD8K8qsVDUv1B_Pa0zL%2B=NGoQ@mail.gmail.com>
In-Reply-To: <4F183E92.9060300@gmail.com>
References:  <39C592E81AEC0B418EAD826FC1BBB09B25031D@mailgate> <4F183E92.9060300@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 19, 2012 at 8:02 AM, Volodymyr Kostyrko <c.kworr@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ6AH4-eG2jdLc2brFUokMD8K8qsVDUv1B_Pa0zL%2B=NGoQ>