Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2019 11:21:54 -0700
From:      Xin LI <delphij@gmail.com>
To:        Michelle Sullivan <michelle@sorbs.net>
Cc:        "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org>
Subject:   Re: zfs corruption (again) due to interupted resilver and power faults.
Message-ID:  <CAGMYy3ufghESzidxz0ss%2BYtGmL0dvK6t6Sct%2BghX%2BjNCpJi4sw@mail.gmail.com>
In-Reply-To: <fdfbf579-db87-a173-5fc1-1364bf091ca2@sorbs.net>
References:  <fdfbf579-db87-a173-5fc1-1364bf091ca2@sorbs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
0x7a is 122, which is ECKSUM, it seems that your space map is corrupt.

Have you tried importing with vfs.zfs.recover=1 set in loader and import
the pool with -o readonly?

Cheers,

On Tue, Mar 19, 2019 at 6:15 AM Michelle Sullivan <michelle@sorbs.net>
wrote:

> So lost my pool again...  this time looks more hopeless, but for simpler
> reasons.
>
> Basically a significant power issue occurred whilst in a resilver
> process which I am lucky no-one was killed - though if I find the idiot
> there is still time...
>
> anyhoo, to the issue at hand...
>
> FreeBSD 12 (memstick boot)
>
> Can't import the pool 'storage'
>
> All devices are now online (one wasn't but that issue has been resolved
> by byte copying the drive to a new drive and inserting)
>
> Its a zraid2 set... only the one drive had failed and was in the middle
> of the resilver when the power issue occurred.
>
> Pool refuses to import (even with -FfX)
>
> zdb reports 4 metdata errors and no (zero) data errors... see:
> http://flashback.sorbs.net/packages/zfs/image4.jpeg
>
> 'zdb -bcd' asserts out in space_map_load (123 of 163) see:
> http://flashback.sorbs.net/packages/zfs/image5.jpeg
>
> Thoughts on how I might recover this?
>
> (Really need to as was in the middle of blowing away the original
> (backup) server for a rebuild and new backup.. so I have quite literally
> no backups, and every photo I have taken are in that zvol on the pool -
> there should be no reason why it's corrupt as with the exception of the
> resilver - there was no active writing to the pool.)
>
> Yours hopefully,
>
> Michelle
>
> --
> Michelle Sullivan
> http://www.mhix.org/
>
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3ufghESzidxz0ss%2BYtGmL0dvK6t6Sct%2BghX%2BjNCpJi4sw>