Re: [zfs-discuss] Need Help Invalidating Uberblock

2008-12-15 Thread Nathan Hand
I've had some success. I started with the ZFS on-disk format PDF. http://opensolaris.org/os/community/zfs/docs/ondiskformat0822.pdf The uberblocks all have magic value 0x00bab10c. Used od -x to find that value in the vdev. r...@opensolaris:~# od -A x -x /mnt/zpool.zones | grep "b10c 00ba" 0200

Re: [zfs-discuss] Need Help Recovering Zpool

2008-12-15 Thread Nathan Hand
Thanks for the reply. I tried the following: $ zpool import -o failmode=continue -d /mnt -f zones But the situation did not improve. It still hangs on the import. -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@open

Re: [zfs-discuss] Need Help Invalidating Uberblock

2008-12-15 Thread Nathan Hand
I don't know if this is relevant or merely a coincidence but the zdb command fails an assertion in the same txg_wait_synced function. r...@opensolaris:~# zdb -p /mnt -e zones Assertion failed: tx->tx_threads == 2, file ../../../uts/common/fs/zfs/txg.c, line 423, function txg_wait_synced Abort (

Re: [zfs-discuss] Need Help Recovering Zpool

2008-12-15 Thread Nathan Hand
I have moved the zpool image file to an OpenSolaris machine running 101b. r...@opensolaris:~# uname -a SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc Solaris Here I am able to attempt an import of the pool and at least the OS does not panic. r...@opensolaris:~# zpool import -d /mnt pool: zo

[zfs-discuss] Need Help Invalidating Uberblock

2008-12-14 Thread Nathan Hand
I have a ZFS pool that has been corrupted. The pool contains a single device which was actually a file on UFS. The machine was accidentally halted and now the pool is corrupt. There are (of course) no backups and I've been asked to recover the pool. The system panics when trying to do anything w