On Wed, Jun 25, 2014 at 12:09:07PM +0200, Jan Schmidt via illumos-zfs wrote:
> It seems that we've hit what is described in
> https://www.illumos.org/issues/4390. To me it looks like the mentioned fixes 
> are
> only preventing the pool corruption to occur in the first place.
> 
> How to recover a pool with a corrupted space map?

When I had space map corruption I created this evil patch:

        http://people.freebsd.org/~pjd/patches/space_map_add_recovery.patch

which did save the pool for me, but your mileage may wary.

All in all, the best option would be to try importing the pool
read-only, backing up the data and recreating the pool.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://mobter.com

Attachment: pgphlDxfKC1k9.pgp
Description: PGP signature

_______________________________________________
developer mailing list
[email protected]
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to