Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 12:56:05 -0700
From:      Artem Belevich <art@freebsd.org>
To:        Stan Grishin <stangri@melmac.net>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: kernel panics because of the corrupted zpool meta-data
Message-ID:  <CAFqOu6g9k_ddYvNTdTYMsHevJ9bgx0FS3PjKYFeLt_k04gBgkg@mail.gmail.com>
In-Reply-To: <9274C3CA-36F5-4EDC-A645-C612C6D71E8A@melmac.net>
References:  <96CA3382-A3C7-472A-82C9-20C1ACACD5B9@melmac.net> <CAFqOu6hcrUjyAmRqQXKBdZq6nG5ZhG=76pukn3U2nR%2BWAaqNTw@mail.gmail.com> <9274C3CA-36F5-4EDC-A645-C612C6D71E8A@melmac.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 14, 2013 at 12:44 PM, Stan Grishin <stangri@melmac.net> wrote:

> Artem,
>
> Thanks for you suggestion. No, I haven't tried that particular command.
> But how can I get the transaction ID if even simple zpool import (no
> parameters) causes kernel panics?
>
>
"zdb -e" should work on un-imported pools.

--Artem



> -Stan
>
> On 2013-08-14, at 11:27 AM, Artem Belevich <art@freebsd.org> wrote:
>
>
>
>
> On Wed, Aug 14, 2013 at 7:33 AM, Stan Grishin <stangri@melmac.net> wrote:
>
>> As recommended in FreeBSD forums I'm posting the message here.
>>
>> I have a peculiar case where NAS4Free has corrupted the meta-data on my
>> 4-disk raidz pool and a few flavours of FreeBSD and a latest version of
>> OpenIndiana I've tried go down just when I try zpool import with no
>> additional parameters (kernel panics).
>>
>> I have more or less given up of my precious data, but if any FreeBSD dev
>> wants to investigate or help me fix the problem I'd gladly try any special
>> build you'd want me to.
>>
>> PS. I've tried removing disks one by one, but any 3 out of 4 cause kernel
>> panics and with just two I can't get my data back.
>>
>> PPS. zdb -l works and reports valid information about zpool
>> configuration, but I can't fix any problems with zdb.
>>
>>
> Did you try rolling back your pool to a previous state with 'zpool import
> -T <txg>' ? It will attempt to import the pool as it was at the time
> particular transaction group was committed.
>
> Here's more info (it's for solaris, but should work on recent FreeBSD,
> too):
> http://www.c0t0d0s0.org/archives/7621-Back-in-time-or-zpool-import-T.html
>
> --Artem
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFqOu6g9k_ddYvNTdTYMsHevJ9bgx0FS3PjKYFeLt_k04gBgkg>