Date: Sat, 04 Jun 2011 14:21:00 +0200 From: Bartosz Stec <bartosz.stec@it4pro.pl> To: Pawel Jakub Dawidek <pjd@FreeBSD.org> Cc: freebsd-fs@freebsd.org Subject: Re: [ZFSv28] Loader hangs, import failes, zfs filesystem unavailable. Message-ID: <4DEA232C.8000804@it4pro.pl> In-Reply-To: <20110603121625.GD1862@garage.freebsd.pl> References: <4DE7C122.2040004@it4pro.pl> <20110603121625.GD1862@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DEA232C.8000804>