Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 18:48:12 +0200
From:      Piotr Paczynski <ppaczyn@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   ZFS failed after hard power off
Message-ID:  <AANLkTi=CJu2FByAQUzZVr6C76aU1QXaE6Yx-rScsrgxq@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I urgently need help. After hard power-off (power cable disconnected)
my FreeBSD 8.1-STABLE server fails to boot from ZFS with an I/O Error.
I was able to boot to Fixit console from 8.2 LiveFS, prepare it for
ZFS and mount the pool using "zpool import -Ff" command. Here are the
results:

Fixit# zpool status
=A0 pool: zroot
=A0state: FAULTED
status: The pool metadata is corrupted and the pool cannot be opened.
action: Destroy and re-create the pool from a backup source.
=A0=A0 see: http://www.sun.com/msg/ZFS-8000-72
=A0scrub: none requested
config:
=A0=A0=A0=A0=A0=A0=A0 NAME=A0=A0=A0=A0=A0=A0=A0=A0 STATE=A0=A0 READ WRITE C=
KSUM
=A0=A0=A0=A0=A0=A0=A0 zroot=A0=A0=A0=A0=A0=A0=A0 FAULTED=A0=A0=A0 0=A0=A0 =
=A0 0=A0=A0=A0=A0 1 corrupted data
=A0=A0=A0=A0=A0=A0=A0=A0=A0 gpt/array0 ONLINE=A0=A0=A0=A0 0=A0=A0=A0=A0 0=
=A0=A0=A0=A0 6

Also "zdb -l /dev/gpt/array0" shows 4 LABELS. Each has the same
attributes, in particular:
=A0 version=3D14
=A0 state=3D0
=A0 txg=3D4

Here are the screen-shots in case I missed something:
https://picasaweb.google.com/113032262178118660549/ZfsFailure#

Any pointers how to go about recovering data from this pool anyone?

--=20
Piotr Paczynski



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=CJu2FByAQUzZVr6C76aU1QXaE6Yx-rScsrgxq>