From owner-freebsd-fs@FreeBSD.ORG Sun Dec 19 15:13:40 2010 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 9FC17106566C; Sun, 19 Dec 2010 15:13:40 +0000 (UTC) (envelope-from srg.gavrilov@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 56EC58FC0C; Sun, 19 Dec 2010 15:13:40 +0000 (UTC) Received: by iwn39 with SMTP id 39so2382359iwn.13 for ; Sun, 19 Dec 2010 07:13:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=txtRQvGReQIMdAId0RbMeGqPTnabAU2kAOJeZTkXTFk=; b=Uk5VvCP364/Xl+QK1RDCD504XPwi8/+gEM7wkSCIJi42AA/BM9LYhYm0hgbJd4QwGu 2/j1T8/7AeK+vjM9sIuI9J/vgM8UlTei5XavzD51PMdxMsWrztqB2XAQxIGv+2gYzWQ8 9X57JZdfrIr1XX+dYXnbqeezxOvZQEZBjllpc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fF88J4ic4cM1hGVX/Zu8ixK/Y7XfyAWHVrihqe5rJaBZ3y/U18YuYhkW8ep+io5bml RAchwaWl+2i/9f4wmmgoVDq4zgSrtYEJaKdZSVDSas138clUVCii7iD8dtiNCGrGMtTB lbCdWkzr6qpOVhI0PpDHFARde/By2Wahfd/c0= MIME-Version: 1.0 Received: by 10.42.178.69 with SMTP id bl5mr3091655icb.338.1292771619596; Sun, 19 Dec 2010 07:13:39 -0800 (PST) Received: by 10.42.150.65 with HTTP; Sun, 19 Dec 2010 07:13:39 -0800 (PST) In-Reply-To: <20101219123029.GM2127@garage.freebsd.pl> References: <20101219123029.GM2127@garage.freebsd.pl> Date: Sun, 19 Dec 2010 18:13:39 +0300 Message-ID: From: Sergey Gavrilov To: Pawel Jakub Dawidek Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS recovery after power failure 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: Sun, 19 Dec 2010 15:13:40 -0000 I've destroyed 2 latest uberblocks and imported pool. It's ok now. Your command don't work for me as is, but all tgx nubmers of all labels are the same and equal 666999 now. Think it's already useless information. So I saved those uberblocks. I can provide them if you need. 2010/12/19 Pawel Jakub Dawidek > On Sat, Dec 18, 2010 at 11:21:52AM +0300, Sergey Gavrilov wrote: > > zpool import -F pool2 ok, but > > zpool status -xv > > pool: pool2 > > state: FAULTED > > status: The pool metadata is corrupted and the pool cannot be opened. > > action: Destroy and re-create the pool from a backup source. > > see: http://www.sun.com/msg/ZFS-8000-72 > > scrub: none requested > > config: > > > > NAME STATE READ WRITE CKSUM > > pool2 FAULTED 0 0 1 corrupted data > > raidz2 ONLINE 0 0 6 > > da9 ONLINE 0 0 0 > > da10 ONLINE 0 0 0 > > da11 ONLINE 0 0 0 > > da12 ONLINE 0 0 0 > > da13 ONLINE 0 0 0 > > da14 ONLINE 0 0 0 > > da15 ONLINE 0 0 0 > > da16 ONLINE 0 0 0 > > > > zpool clear pool2 > > cannot clear errors for pool2: I/O error > > > > Is there any way to recovery data or portion of data at least. > > Could you provide output of: > > # apply "zdb -l /dev/da%1 | egrep '(^LABEL|txg=|)'" `jot 8 9` > > -- > Pawel Jakub Dawidek http://www.wheelsystems.com > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! > -- Best regards, Sergey Gavrilov