Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2015 19:35:42 +0300
From:      Volodymyr Kostyrko <arcade@b1t.name>
To:        freebsd-fs@freebsd.org
Subject:   Re: Crashed ZFS pool
Message-ID:  <559FF45E.1090100@b1t.name>
In-Reply-To: <559CEDC3.2040107@harmless.hu>
References:  <559CEDC3.2040107@harmless.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08.07.2015 12:30, Gergely Czuczy wrote:

> So, anyone has any idea what to do with it? It would be nice to get it
> back to a functional state. Or at least to a state where the data can be
> accessed.

Have you tried to import pool with:

1. Read-only mode. ( -o readonly=on )
2. Unmounted. ( -N )
3. Checking whether some previous transactions are good. ( -Fn and then -F).

There are also extra options made for debugging:

1. -X - xtreem rewind, tries transactions scrubbing each next one.
2. -T txg - specify a starting txg for import. Might be particulary 
useful if some previous transactions are not only damaged beyond repair 
but also make system dump core.

Once in my life I had a problem with a pool that I ought to use -T - the 
controller was buggy and last few transactions were damaged badly.

-- 
Sphinx of black quartz judge my vow.



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