crash on zpool import - help get data back

Eugene M. Zheganin emz at norma.perm.ru
Mon Mar 24 06:06:34 UTC 2014


Hi.

On 24.03.2014 08:43, Christian Campbell wrote:
> I had a hosed FreeBSD ZFS pool once which I recovered with 'zpool
> import -f; zpool export' under an OpenIndiana live CD. 
>
I was able to read all of the data with rsync. I recreated the pool and
restored the data read. 'zfs send' was unable to read data - it was
crashing while reading 43th gig out of 1400, as well as the scrub was.
This whole thing is just sad - clearly something happened with the
labels, thus meaning that labels are somehow modified during normal zfs
work. Why ? For what reason ? How could the pool become corrupted on a
machine with non-corrupted memory ? So my advice to FreeBSD zfs users -
scrub periodically and be prepared for some doom to happen.

P.S. Saw a couple of minor issues with zfs on Solaris, but never such
terrible ones (and it can even swap onto zfs).

Eugene.


More information about the freebsd-stable mailing list