Crashed ZFS pool

Volodymyr Kostyrko arcade at b1t.name
Fri Jul 10 16:35:57 UTC 2015


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.


More information about the freebsd-fs mailing list