From owner-freebsd-fs@FreeBSD.ORG Sat Jun 4 12:21:18 2011 Return-Path: <owner-freebsd-fs@FreeBSD.ORG> 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 5999C106566C; Sat, 4 Jun 2011 12:21:18 +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 810398FC12; Sat, 4 Jun 2011 12:21:17 +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 <bartosz.stec@it4pro.pl>) id 1QSpql-000Gep-Uf; Sat, 04 Jun 2011 14:21:16 +0200 Message-ID: <4DEA232C.8000804@it4pro.pl> Date: Sat, 04 Jun 2011 14:21:00 +0200 From: Bartosz Stec <bartosz.stec@it4pro.pl> 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: Pawel Jakub Dawidek <pjd@FreeBSD.org> References: <4DE7C122.2040004@it4pro.pl> <20110603121625.GD1862@garage.freebsd.pl> In-Reply-To: <20110603121625.GD1862@garage.freebsd.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 14:21:16 X-Connected-IP: 78.8.144.74:49425 X-Message-Linecount: 342 X-Body-Linecount: 328 X-Message-Size: 16291 X-Body-Size: 15635 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: freebsd-fs@freebsd.org 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 <freebsd-fs.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>, <mailto:freebsd-fs-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-fs> List-Post: <mailto:freebsd-fs@freebsd.org> List-Help: <mailto:freebsd-fs-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-fs>, <mailto:freebsd-fs-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 04 Jun 2011 12:21:18 -0000 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 >> <http://mfsbsd.vx.sk/iso/mfsbsd-se-8.2-zfsv28-i386.iso>" 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. > mfsbsd# zpool import -f zroot cannot import 'zroot': one or more devices is currently unavailable mfsbsd# dmesg vdev_geom_open_by_guid:352[1]: Searching by guid [2774520698453861827]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_read_guid:239[1]: Reading guid from gptid/f5ee2146-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap2... vdev_geom_read_guid:239[1]: Reading guid from gptid/c506cc78-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_read_guid:239[1]: Reading guid from gptid/303e329f-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap1... vdev_geom_read_guid:239[1]: Reading guid from gptid/060c432a-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/2ea57c66-bc69-11df-8955-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/2ea57c66-bc69-11df-8955-0050dad823cd is 2774520698453861827 vdev_geom_attach:95[1]: Attaching to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:116[1]: Created geom and consumer for gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [2774520698453861827] succeeded, provider /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_guid:352[1]: Searching by guid [8243099701788087797]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_read_guid:239[1]: Reading guid from gptid/f5ee2146-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap2... vdev_geom_read_guid:239[1]: Reading guid from gptid/c506cc78-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_attach:95[1]: Attaching to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [8243099701788087797] succeeded, provider /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_guid:352[1]: Searching by guid [8179308819206918822]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_attach:95[1]: Attaching to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [8179308819206918822] succeeded, provider /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented vdev_geom_detach:156[1]: Closing access to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:168[1]: Destroyed geom zfs::vdev. vdev_geom_open_by_guid:352[1]: Searching by guid [2774520698453861827]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_read_guid:239[1]: Reading guid from gptid/f5ee2146-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap2... vdev_geom_read_guid:239[1]: Reading guid from gptid/c506cc78-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_read_guid:239[1]: Reading guid from gptid/303e329f-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap1... vdev_geom_read_guid:239[1]: Reading guid from gptid/060c432a-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/2ea57c66-bc69-11df-8955-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/2ea57c66-bc69-11df-8955-0050dad823cd is 2774520698453861827 vdev_geom_attach:95[1]: Attaching to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:116[1]: Created geom and consumer for gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [2774520698453861827] succeeded, provider /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_guid:352[1]: Searching by guid [8243099701788087797]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_read_guid:239[1]: Reading guid from gptid/f5ee2146-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gpt/swap2... vdev_geom_read_guid:239[1]: Reading guid from gptid/c506cc78-bc3a-11df-8066-0050dad823cd... vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_attach:95[1]: Attaching to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [8243099701788087797] succeeded, provider /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_guid:352[1]: Searching by guid [8179308819206918822]. vdev_geom_read_guid:239[1]: Reading guid from acd0t01... vdev_geom_read_guid:239[1]: Reading guid from acd0... vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_attach:95[1]: Attaching to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_open_by_guid:363[1]: Attach by guid [8179308819206918822] succeeded, provider /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented vdev_geom_detach:156[1]: Closing access to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:168[1]: Destroyed geom zfs::vdev. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:116[1]: Created geom and consumer for gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/2ea57c66-bc69-11df-8955-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/2ea57c66-bc69-11df-8955-0050dad823cd is 2774520698453861827 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented log_sysevent: type 19 is not implemented vdev_geom_detach:156[1]: Closing access to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/2ea57c66-bc69-11df-8955-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/2ea57c66-bc69-11df-8955-0050dad823cd is 2774520698453861827 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:121[1]: Found consumer for gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_attach:140[1]: Used existing consumer for gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/5bc92016-6852-11df-a16c-0050dad823cd... vdev_geom_detach:156[1]: Closing access to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_read_guid:273[1]: guid for gptid/5bc92016-6852-11df-a16c-0050dad823cd is 8243099701788087797 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_open_by_path:384[1]: Found provider by name /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:95[1]: Attaching to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_attach:136[1]: Created consumer for gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_read_guid:239[1]: Reading guid from gptid/87d467cc-bc3b-11df-8066-0050dad823cd... vdev_geom_read_guid:273[1]: guid for gptid/87d467cc-bc3b-11df-8066-0050dad823cd is 8179308819206918822 vdev_geom_open_by_path:399[1]: guid match for provider /dev/gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/2ea57c66-bc69-11df-8955-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/5bc92016-6852-11df-a16c-0050dad823cd. vdev_geom_detach:156[1]: Closing access to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:160[1]: Destroyed consumer to gptid/87d467cc-bc3b-11df-8066-0050dad823cd. vdev_geom_detach:168[1]: Destroyed geom zfs::vdev. -- Bartosz Stec