I'm running OpenSolaris build svn_101b. I have 3 SATA disks connected to
my motherboard. The raid, a raidz, which is called "rescamp", has worked
good before until a power failure yesterday. I'm now unable to import
the
pool. I can't export the raid, since it isn't imported.
# zpool import rescamp
cannot import 'rescamp': invalid vdev configuration
# zpool import
pool: rescamp
id: 12297694211509104163
state: UNAVAIL
action: The pool cannot be imported due to damaged devices or data.
config:
rescamp UNAVAIL insufficient replicas
raidz1 UNAVAIL corrupted data
c15d0 ONLINE
c14d0 ONLINE
c14d1 ONLINE
I've tried using zdb -l on all three disks, but in all cases it failes
to
unpack the labels.
# zdb -l /dev/dsk/c14d0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3
If I run # zdb -l /dev/dsk/c14d0s0 I do find 4 labels, but c14d0, c14d1
and c15d0 is what I created the raid with. I do find labels this way for
all
three disks. Is this to any help?
# zdb -l /dev/dsk/c14d1s0
--------------------------------------------
LABEL 0
--------------------------------------------
version=13
name='rescamp'
state=0
txg=218097573
pool_guid=12297694211509104163
hostid=4925114
hostname='slaskvald'
top_guid=9479723326726871122
guid=17774184411399278071
vdev_tree
type='raidz'
id=0
guid=9479723326726871122
nparity=1
metaslab_array=23
metaslab_shift=34
ashift=9
asize=3000574672896
is_log=0
children[0]
type='disk'
id=0
guid=9020535344824299914
path='/dev/dsk/c15d0s0'
devid='id1,c...@ast31000333as=____________9te0dglf/a'
phys_path='/p...@0,0/pci-...@11/i...@1/c...@0,0:a'
whole_disk=1
DTL=102
children[1]
type='disk'
id=1
guid=14384361563876398475
path='/dev/dsk/c14d0s0'
devid='id1,c...@asamsung_hd103uj=s13pjdws690618/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@0,0:a'
whole_disk=1
DTL=216
children[2]
type='disk'
id=2
guid=17774184411399278071
path='/dev/dsk/c14d1s0'
devid='id1,c...@ast31000333as=____________9te0de8w/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@1,0:a'
whole_disk=1
DTL=100
--------------------------------------------
LABEL 1
--------------------------------------------
version=13
name='rescamp'
state=0
txg=218097573
pool_guid=12297694211509104163
hostid=4925114
hostname='slaskvald'
top_guid=9479723326726871122
guid=17774184411399278071
vdev_tree
type='raidz'
id=0
guid=9479723326726871122
nparity=1
metaslab_array=23
metaslab_shift=34
ashift=9
asize=3000574672896
is_log=0
children[0]
type='disk'
id=0
guid=9020535344824299914
path='/dev/dsk/c15d0s0'
devid='id1,c...@ast31000333as=____________9te0dglf/a'
phys_path='/p...@0,0/pci-...@11/i...@1/c...@0,0:a'
whole_disk=1
DTL=102
children[1]
type='disk'
id=1
guid=14384361563876398475
path='/dev/dsk/c14d0s0'
devid='id1,c...@asamsung_hd103uj=s13pjdws690618/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@0,0:a'
whole_disk=1
DTL=216
children[2]
type='disk'
id=2
guid=17774184411399278071
path='/dev/dsk/c14d1s0'
devid='id1,c...@ast31000333as=____________9te0de8w/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@1,0:a'
whole_disk=1
DTL=100
--------------------------------------------
LABEL 2
--------------------------------------------
version=13
name='rescamp'
state=0
txg=218097573
pool_guid=12297694211509104163
hostid=4925114
hostname='slaskvald'
top_guid=9479723326726871122
guid=17774184411399278071
vdev_tree
type='raidz'
id=0
guid=9479723326726871122
nparity=1
metaslab_array=23
metaslab_shift=34
ashift=9
asize=3000574672896
is_log=0
children[0]
type='disk'
id=0
guid=9020535344824299914
path='/dev/dsk/c15d0s0'
devid='id1,c...@ast31000333as=____________9te0dglf/a'
phys_path='/p...@0,0/pci-...@11/i...@1/c...@0,0:a'
whole_disk=1
DTL=102
children[1]
type='disk'
id=1
guid=14384361563876398475
path='/dev/dsk/c14d0s0'
devid='id1,c...@asamsung_hd103uj=s13pjdws690618/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@0,0:a'
whole_disk=1
DTL=216
children[2]
type='disk'
id=2
guid=17774184411399278071
path='/dev/dsk/c14d1s0'
devid='id1,c...@ast31000333as=____________9te0de8w/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@1,0:a'
whole_disk=1
DTL=100
--------------------------------------------
LABEL 3
--------------------------------------------
version=13
name='rescamp'
state=0
txg=218097573
pool_guid=12297694211509104163
hostid=4925114
hostname='slaskvald'
top_guid=9479723326726871122
guid=17774184411399278071
vdev_tree
type='raidz'
id=0
guid=9479723326726871122
nparity=1
metaslab_array=23
metaslab_shift=34
ashift=9
asize=3000574672896
is_log=0
children[0]
type='disk'
id=0
guid=9020535344824299914
path='/dev/dsk/c15d0s0'
devid='id1,c...@ast31000333as=____________9te0dglf/a'
phys_path='/p...@0,0/pci-...@11/i...@1/c...@0,0:a'
whole_disk=1
DTL=102
children[1]
type='disk'
id=1
guid=14384361563876398475
path='/dev/dsk/c14d0s0'
devid='id1,c...@asamsung_hd103uj=s13pjdws690618/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@0,0:a'
whole_disk=1
DTL=216
children[2]
type='disk'
id=2
guid=17774184411399278071
path='/dev/dsk/c14d1s0'
devid='id1,c...@ast31000333as=____________9te0de8w/a'
phys_path='/p...@0,0/pci-...@11/i...@0/c...@1,0:a'
whole_disk=1
DTL=100
Any idea what to do?