Help with Faulted zpool
ticso at cicely7.cicely.de
Sun Jul 4 13:40:28 UTC 2010
On Sun, Jul 04, 2010 at 02:38:54PM +0300, Volodymyr Kostyrko wrote:
> 04.07.2010 00:12, Sam Fourman Jr. ??????????????(????):
> >Hello list,
> >I have a File server that runs FreeBSD 8.1 (zfs v14)
> >after a poweroutage, I am unable to import my zpool named Network
> >my pool is made up of 6 1TB disks configured in raidz.
> >there is ~1.9TB of actual data on this pool.
> >FreeBSD does not have many option for restoring a pool from corrupt meta
> >I have loaded OpenSolaris svn_134 on a septate boot disk,
> >in hopes of recovering my zpool.
> >on Opensolaris 134, I am not able to import my zpool
> >almost everything I try gives me cannot import 'Network': I/O error
> >I have done quite a bit of searching, and I found that import -fFX
> >Network should work
> >however after ~ 20 hours this hard locks Opensolaris (however it does
> >return a ping)
> >here is a list of commands that I have run on Open Solaris
> >if anyone could help me use zdb or mdb to recover my pool
> >I would very much appreciate it.
> >I believe the metadata is corrupt on my zpool
> Just sharing the knowledge, you know...
> Some time ago my primary file server suffers from controller damage.
> When ZFS tried to fix metadata controller was able to write most of it
> failing to complete full restore. Thus I've got pool with two or more
> recent snapshots broken. FreeBSD (RELENG_8) dumps core when trying to
> import pool. OpenSolaris (last version available, i think with ZFSv22)
> was giving the same result.
> I've managed to recover all data from pool using single user mode. This
> way when I got shell ZFS already knows about my pool, but no are
> mounted. From this point it's possible to mount each dataset RO and copy
> all data from it to another disk. You will face the kernel coredump only
> in case of some dataset metadata would be heavily damaged.
I've had a similar expirience long time ago.
Mounting a special FS let the system fall into endless disk excercise,
which I waited for more about one day before I gave up.
But it was possible to clone an earlier snapshot of the FS and mount
> All you need is:
> 1. Original zpool.cache with which your pool was imported.
> 2. ZFS module loaded.
> 3. Break into single user.
> Sphinx of black quartz judge my vow.
> freebsd-fs at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
More information about the freebsd-fs