[ZFSv28] Loader hangs, import failes,
zfs filesystem unavailable.
Bartosz Stec
bartosz.stec at it4pro.pl
Sat Jun 4 19:12:27 UTC 2011
W dniu 2011-06-04 20:49, Vladislav V. Prodan pisze:
> 02.06.2011 19:58, 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
>
> Please run and show the output of these commands:
> zpool status -x
> zdb -l /dev/ad0
> zdb -l /dev/ad1
> zdb -l /dev/ad2
> zdb zroot
>
'Zpool status' and 'zdb root' won't work until pool is imported (I
think), and I guess you wanted zdb output from ZFS partitions, not whole
HDD's, so here you go:
mfsbsd# zpool status -x
no pools available
mfsbsd# zdb zroot
zdb: can't open 'zroot': No such file or directory
mfsbsd# zdb -l /dev/ad0p3
--------------------------------------------
LABEL 0
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 2774520698453861827
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 1
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 2774520698453861827
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 2
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 2774520698453861827
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 3
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 2774520698453861827
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
mfsbsd# zdb -l /dev/ad1p3
--------------------------------------------
LABEL 0
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8243099701788087797
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 1
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8243099701788087797
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 2
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8243099701788087797
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 3
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8243099701788087797
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
mfsbsd# zdb -l /dev/ad1p3
--------------------------------------------
LABEL 0
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8179308819206918822
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 1
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8179308819206918822
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 2
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8179308819206918822
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--------------------------------------------
LABEL 3
--------------------------------------------
version: 28
name: 'zroot'
state: 0
txg: 2686596
pool_guid: 16074929158756467860
hostid: 1256456247
hostname: 'serwer.obsysa.net'
top_guid: 16978903338095502658
guid: 8179308819206918822
vdev_children: 1
vdev_tree:
type: 'raidz'
id: 0
guid: 16978903338095502658
nparity: 1
metaslab_array: 23
metaslab_shift: 30
ashift: 9
asize: 116826046464
is_log: 0
children[0]:
type: 'disk'
id: 0
guid: 2774520698453861827
path: '/dev/gpt/disk0'
phys_path: '/dev/gpt/disk0'
whole_disk: 0
DTL: 264
children[1]:
type: 'disk'
id: 1
guid: 8243099701788087797
path: '/dev/gpt/disk1'
phys_path: '/dev/gpt/disk1'
whole_disk: 0
DTL: 779
children[2]:
type: 'disk'
id: 2
guid: 8179308819206918822
path: '/dev/gpt/disk2'
phys_path: '/dev/gpt/disk2'
whole_disk: 0
DTL: 263
--
Bartosz Stec
More information about the freebsd-fs
mailing list