From owner-freebsd-fs@FreeBSD.ORG Sat Jun 4 16:56:07 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 E4241106564A; Sat, 4 Jun 2011 16:56:06 +0000 (UTC) (envelope-from bartosz.stec@it4pro.pl) Received: from mainframe.kkip.pl (kkip.pl [87.105.164.78]) by mx1.freebsd.org (Postfix) with ESMTP id 5D1368FC08; Sat, 4 Jun 2011 16:56:06 +0000 (UTC) Received: from static-78-8-144-74.ssp.dialog.net.pl ([78.8.144.74]) by mainframe.kkip.pl with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1QSu8i-000HIU-EH; Sat, 04 Jun 2011 18:56:05 +0200 Message-ID: <4DEA6394.5000602@it4pro.pl> Date: Sat, 04 Jun 2011 18:55:48 +0200 From: Bartosz Stec Organization: IT4Pro User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-fs@freebsd.org References: <4DE7C122.2040004@it4pro.pl> <20110603121625.GD1862@garage.freebsd.pl> <4DEA232C.8000804@it4pro.pl> In-Reply-To: <4DEA232C.8000804@it4pro.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-User: bartosz.stec@it4pro.pl X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Spam-Score: -8.1 X-Spam-Score-Int: -80 X-Exim-Version: 4.76 (build at 12-May-2011 10:41:54) X-Date: 2011-06-04 18:56:05 X-Connected-IP: 78.8.144.74:56550 X-Message-Linecount: 74 X-Body-Linecount: 60 X-Message-Size: 3393 X-Body-Size: 2721 X-Received-Count: 1 X-Recipient-Count: 2 X-Local-Recipient-Count: 2 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 Cc: Pawel Jakub Dawidek Subject: Re: [ZFSv28] Loader hangs, import failes, zfs filesystem unavailable. 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: Sat, 04 Jun 2011 16:56:07 -0000 W dniu 2011-06-04 14:21, Bartosz Stec pisze: > W dniu 2011-06-03 14:16, Pawel Jakub Dawidek pisze: >> On Thu, Jun 02, 2011 at 06:58:10PM +0200, Bartosz Stec wrote: >>> Hi list, >>> Today I needed to shut down my home server (FreeSBD9-CURRENT, 3 x >>> 40GB ATA HDD in RADZ1, ZFS only, GPT, i386) for a moment. After >>> power up, loader started to spin cursor indifinitely, and didn't >>> load the kernel. No error messages, no hints, just spinning cursor. >>> I tried booting from other HDDs in case that bootstrap area errors >>> on single hdd but no luck. >>> I wanted to play with latest current LiveFS snapshot (with ZFSv28 >>> support), but apparently latest one is from february?? >>> Finally I ended with mfsBSD from http://mfsbsd.vx.sk/ >>> I've downloaded "8.2-RELEASE-i386 with ZFSv28 special edition >>> " iso, burned >>> it and booted machine. Here's what happened when i was trying to >>> import zpool: >>> >>> mfsbsd# zpool status >>> no pools available >>> mfsbsd# zpool import >>> pool: zroot >>> id: 16074929158756467860 >>> state: ONLINE >>> status: The pool was last accessed by another system. >>> action: The pool can be imported using its name or numeric >>> identifier and >>> the '-f' flag. >>> see: http://www.sun.com/msg/ZFS-8000-EY >>> config: >>> >>> zroot ONLINE >>> raidz1-0 ONLINE >>> gptid/2ea57c66-bc69-11df-8955-0050dad823cd ONLINE >>> gptid/5bc92016-6852-11df-a16c-0050dad823cd ONLINE >>> gptid/87d467cc-bc3b-11df-8066-0050dad823cd ONLINE >>> mfsbsd# zpool import -f zroot >>> cannot import 'zroot': one or more devices is currently unavailable >> Is there anything that may keep any of those vdevs open? >> Try setting vfs.zfs.debug to 1 before import. >> > It seems that LiveFS is now included in bootonly ISO, so I made another attempt using FreeBSD-9.0-CURRENT-201105-i386-bootonly.iso image. I tried importing with debugging enabled, but dmesg output was the same as in my previous message. I had so much faith in raidz + snapshots, that I have absolutely no backups of this system :( I don't care about time which is needed to find a problem and possible fix, but I am really worried about my data now. What else could I do? And yes, I know that I shouldn't treat CURRENT as a stable and reliable system, and you never have too much backups. I just didn't realized how important data on this machine is until I realized that maybe I just lost it... Crap. -- Bartosz Stec