ZFS invalid vdev configuration
Denis MacPherson
denismacpherson at gmail.com
Mon Jul 6 18:21:07 UTC 2009
Having a issue with a raidz1 setup, I was testing some things out on a
live cd and made a change in the bios for the sata to change it from
AHCI to IDE, then before I booted back into FreeBSD I had changed this
back so FreeBSD never saw any of these changes. When I booted back up,
I was getting insufficient replicas corrupted data message. I tried to
export the pool as I found some info on this helping some people but
now I am unable to re-import the pool back. Below I have attached some
of the outputs of various commands. Any help would be much
appreciated.
--------------------------------------------------------------------------------------------------------------------------------------
command: zpool import
pool: datapool
id: 5998882629718828483
state: FAULTED
action: The pool cannot be imported due to damaged devices or data.
config:
datapool UNAVAIL insufficient replicas
raidz1 UNAVAIL corrupted data
ad14 ONLINE
ad12 ONLINE
ad10 ONLINE
ad8 ONLINE
ad16 ONLINE
ad18 ONLINE
command: zpool import datapool
cannot import 'datapool': invalid vdev configuration
command: dmesg
ZFS filesystem version 6
ZFS storage pool version 6
acd0: DVDR <NEC DVD RW ND-2500A/1.06> at ata0-slave UDMA33
ad4: 152627MB <TOSHIBA MK1646GSX LB111A> at ata2-master SATA150
ad6: 953868MB <SAMSUNG HD103UJ 1AA01108> at ata3-master SATA300
ad8: 953869MB <WDC WD10EACS-00D6B1 01.01A01> at ata4-master SATA300
GEOM_LABEL: Label for provider ad4p1 is msdosfs/EFI.
GEOM_LABEL: Label for provider ad4s1a is ufsid/493ee78d1bd00753.
ad10: 953869MB <WDC WD10EACS-00D6B1 01.01A01> at ata5-master SATA300
GEOM_LABEL: Label for provider ad6s1 is ext2fs/1.39-Aug092008.
ad12: 953869MB <WDC WD10EACS-00D6B1 01.01A01> at ata6-master SATA300
ad14: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata7-master SATA300
ad16: 953868MB <WDC WD10EADS-00L5B1 01.01A01> at ata8-master SATA300
ad18: 953869MB <WDC WD10EADS-00L5B1 01.01A01> at ata9-master SATA300
Trying to mount root from zfs:tank/root
GEOM_LABEL: Label msdosfs/EFI removed.
GEOM_LABEL: Label ufsid/493ee78d1bd00753 removed.
GEOM_LABEL: Label for provider ad4s1a is ufsid/493ee78d1bd00753.
GEOM_LABEL: Label ufsid/493ee78d1bd00753 removed.
GEOM_LABEL: Label ext2fs/1.39-Aug092008 removed.
command: zdb -l /dev/ad8
--------------------------------------------
LABEL 0
--------------------------------------------
version=6
name='datapool'
state=0
txg=2498378
pool_guid=5998882629718828483
hostid=2846502798
hostname=''
top_guid=2074816204479013297
guid=8852512481608149738
vdev_tree
type='raidz'
id=0
guid=2074816204479013297
nparity=1
metaslab_array=14
metaslab_shift=35
ashift=9
asize=6001199677440
children[0]
type='disk'
id=0
guid=11429030338875577754
path='/dev/ad14'
devid='ad:WD-WCAU46148536'
whole_disk=0
DTL=23
children[1]
type='disk'
id=1
guid=15556804307381672763
path='/dev/ad12'
devid='ad:WD-WCAU44223223'
whole_disk=0
DTL=22
children[2]
type='disk'
id=2
guid=11466465050580886753
path='/dev/ad10'
devid='ad:WD-WCAU44223259'
whole_disk=0
DTL=21
children[3]
type='disk'
id=3
guid=8852512481608149738
path='/dev/ad8'
devid='ad:WD-WCAU44026431'
whole_disk=0
DTL=20
children[4]
type='disk'
id=4
guid=12199743530994947046
path='/dev/ad16'
devid='ad:WD-WCAU46152226'
whole_disk=0
DTL=19
children[5]
type='disk'
id=5
guid=9333427139064108901
path='/dev/ad18'
devid='ad:WD-WCAU46165741'
whole_disk=0
DTL=18
--------------------------------------------
LABEL 1
--------------------------------------------
version=6
name='datapool'
state=0
txg=2498378
pool_guid=5998882629718828483
hostid=2846502798
hostname=''
top_guid=2074816204479013297
guid=8852512481608149738
vdev_tree
type='raidz'
id=0
guid=2074816204479013297
nparity=1
metaslab_array=14
metaslab_shift=35
ashift=9
asize=6001199677440
children[0]
type='disk'
id=0
guid=11429030338875577754
path='/dev/ad14'
devid='ad:WD-WCAU46148536'
whole_disk=0
DTL=23
children[1]
type='disk'
id=1
guid=15556804307381672763
path='/dev/ad12'
devid='ad:WD-WCAU44223223'
whole_disk=0
DTL=22
children[2]
type='disk'
id=2
guid=11466465050580886753
path='/dev/ad10'
devid='ad:WD-WCAU44223259'
whole_disk=0
DTL=21
children[3]
type='disk'
id=3
guid=8852512481608149738
path='/dev/ad8'
devid='ad:WD-WCAU44026431'
whole_disk=0
DTL=20
children[4]
type='disk'
id=4
guid=12199743530994947046
path='/dev/ad16'
devid='ad:WD-WCAU46152226'
whole_disk=0
DTL=19
children[5]
type='disk'
id=5
guid=9333427139064108901
path='/dev/ad18'
devid='ad:WD-WCAU46165741'
whole_disk=0
DTL=18
--------------------------------------------
LABEL 2
--------------------------------------------
version=6
name='datapool'
state=0
txg=2498378
pool_guid=5998882629718828483
hostid=2846502798
hostname=''
top_guid=2074816204479013297
guid=8852512481608149738
vdev_tree
type='raidz'
id=0
guid=2074816204479013297
nparity=1
metaslab_array=14
metaslab_shift=35
ashift=9
asize=6001199677440
children[0]
type='disk'
id=0
guid=11429030338875577754
path='/dev/ad14'
devid='ad:WD-WCAU46148536'
whole_disk=0
DTL=23
children[1]
type='disk'
id=1
guid=15556804307381672763
path='/dev/ad12'
devid='ad:WD-WCAU44223223'
whole_disk=0
DTL=22
children[2]
type='disk'
id=2
guid=11466465050580886753
path='/dev/ad10'
devid='ad:WD-WCAU44223259'
whole_disk=0
DTL=21
children[3]
type='disk'
id=3
guid=8852512481608149738
path='/dev/ad8'
devid='ad:WD-WCAU44026431'
whole_disk=0
DTL=20
children[4]
type='disk'
id=4
guid=12199743530994947046
path='/dev/ad16'
devid='ad:WD-WCAU46152226'
whole_disk=0
DTL=19
children[5]
type='disk'
id=5
guid=9333427139064108901
path='/dev/ad18'
devid='ad:WD-WCAU46165741'
whole_disk=0
DTL=18
--------------------------------------------
LABEL 3
--------------------------------------------
version=6
name='datapool'
state=0
txg=2498378
pool_guid=5998882629718828483
hostid=2846502798
hostname=''
top_guid=2074816204479013297
guid=8852512481608149738
vdev_tree
type='raidz'
id=0
guid=2074816204479013297
nparity=1
metaslab_array=14
metaslab_shift=35
ashift=9
asize=6001199677440
children[0]
type='disk'
id=0
guid=11429030338875577754
path='/dev/ad14'
devid='ad:WD-WCAU46148536'
whole_disk=0
DTL=23
children[1]
type='disk'
id=1
guid=15556804307381672763
path='/dev/ad12'
devid='ad:WD-WCAU44223223'
whole_disk=0
DTL=22
children[2]
type='disk'
id=2
guid=11466465050580886753
path='/dev/ad10'
devid='ad:WD-WCAU44223259'
whole_disk=0
DTL=21
children[3]
type='disk'
id=3
guid=8852512481608149738
path='/dev/ad8'
devid='ad:WD-WCAU44026431'
whole_disk=0
DTL=20
children[4]
type='disk'
id=4
guid=12199743530994947046
path='/dev/ad16'
devid='ad:WD-WCAU46152226'
whole_disk=0
DTL=19
children[5]
type='disk'
id=5
guid=9333427139064108901
path='/dev/ad18'
devid='ad:WD-WCAU46165741'
whole_disk=0
DTL=18
More information about the freebsd-fs
mailing list