From owner-freebsd-fs@FreeBSD.ORG Thu Mar 31 17:11:11 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58665106567D for ; Thu, 31 Mar 2011 17:11:11 +0000 (UTC) (envelope-from ppaczyn@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 247EA8FC2B for ; Thu, 31 Mar 2011 17:11:10 +0000 (UTC) Received: by iwn33 with SMTP id 33so3244212iwn.13 for ; Thu, 31 Mar 2011 10:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=aXHRKrqpvH37OConE2gHXRn3NPxvi7PeLZMPQ4vOJE0=; b=RyKo7A3iW9WYznewsa47Mm+SeqIR/rveRvDH560VTWhk6cR32D4/YQd5VqvOzWVvBK AmtHYXizgXy01geAbPdetCUXHa0BmxD1iqqvYota8wEk1Qn3bldmxYC1bpP9WuZUOIFL zQiT/IdLX7YgtWSNPIbYvLMDTdQi6jlR55Ibg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=fWlpNMTeodtD+F227RhVEf9LBVfsjpokPYmaKC9ogKVZzJUh/hlXkROTUF9k2jDEBo FsclnuSBEpbkndpgdhuKHLKFnxwl4eQQ4X1uMcvn7IFItAUo+Ai7zln/byHnaMEA/rIm xZWQtHFIrlSUYW4pxwCt1BIYIUgRqWtcnBYyM= MIME-Version: 1.0 Received: by 10.42.146.135 with SMTP id j7mr1854323icv.198.1301590092557; Thu, 31 Mar 2011 09:48:12 -0700 (PDT) Received: by 10.42.172.201 with HTTP; Thu, 31 Mar 2011 09:48:12 -0700 (PDT) Date: Thu, 31 Mar 2011 18:48:12 +0200 Message-ID: From: Piotr Paczynski To: freebsd-fs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: ZFS failed after hard power off X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 17:11:11 -0000 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