On 9/12/2009 10:33 PM, Mark J. Musante wrote:> That could be a bug with the status output. Could you try "zdb
-l" on
> one of the good drives and see if the label for c5t9d0 has "/old"
oops, i just realized i took this thread off list. i hope you dont mind me
putting it back on -- mea culpa.
the data is below my sig. but we may not need it..
> appended? If so, you may be able to replace the drive by using
> c5t9d0s0/old as the name.
# zpool replace nfspool c5t9d0s0/old c5t9d0
cannot replace c5t9d0s0/old with c5t9d0: no such device in pool
# zpool replace nfspool c5t9d0s0/o c5t9d0
#
hey now!!
# sleep 600
# zpool status
[...]
scrub: resilver in progress, 0.12% done, 108h42m to go
[...]
raidz1 DEGRADED 0 0 0
c3t8d0 ONLINE 0 0 0
c5t8d0 ONLINE 0 0 0
c3t9d0 ONLINE 0 0 0
replacing DEGRADED 0 0 0
c5t9d0s0/o UNAVAIL 0 0 0 cannot open
c5t9d0 ONLINE 0 0 0
woohoo! i''ve never had to use either "s0" or
"s0/o", but hey, i''m happy.
Thanks for your help.
--
Jeremy Kister
http://jeremy.kister.net./
## on a disk that''s online in a raidz1:
# zdb -l /dev/dsk/c3t8d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13112019
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=4372736765277861814
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''disk''
id=3
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
--------------------------------------------
LABEL 1
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13112019
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=4372736765277861814
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''disk''
id=3
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
--------------------------------------------
LABEL 2
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13112019
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=4372736765277861814
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''disk''
id=3
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
--------------------------------------------
LABEL 3
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13112019
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=4372736765277861814
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''disk''
id=3
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
# zdb -l /dev/dsk/c5t9d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13100930
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=12294998431817818465
is_spare=1
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''spare''
id=3
guid=5227892262862230420
whole_disk=0
children[0]
type=''disk''
id=0
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
children[1]
type=''disk''
id=1
guid=12294998431817818465
path=''/dev/dsk/c5t9d0s0''
devid=''id1,sd at x00000e1100b96f71/a''
whole_disk=1
is_spare=1
DTL=4773
--------------------------------------------
LABEL 3
--------------------------------------------
version=4
name=''nfspool''
state=0
txg=13100930
pool_guid=16867309821638598147
top_guid=16762401194364239721
guid=12294998431817818465
is_spare=1
vdev_tree
type=''raidz''
id=9
guid=16762401194364239721
nparity=1
metaslab_array=327
metaslab_shift=31
ashift=9
asize=1199947382784
children[0]
type=''disk''
id=0
guid=4372736765277861814
path=''/dev/dsk/c3t8d0s0''
devid=''id1,sd at
SCOMPAQ__BD3008856C______TP1012070593/a''
whole_disk=1
DTL=429
children[1]
type=''disk''
id=1
guid=246503143867597614
path=''/dev/dsk/c5t8d0s0''
devid=''id1,sd at x00000e1100eb0f79/a''
whole_disk=1
DTL=428
children[2]
type=''disk''
id=2
guid=12776584137217099681
path=''/dev/dsk/c3t9d0s0''
devid=''id1,sd at x00000e1100eb0f0e/a''
whole_disk=1
DTL=427
children[3]
type=''spare''
id=3
guid=5227892262862230420
whole_disk=0
children[0]
type=''disk''
id=0
guid=10802333971928443637
path=''/dev/dsk/c5t9d0s0/old''
whole_disk=1
DTL=4722
children[1]
type=''disk''
id=1
guid=12294998431817818465
path=''/dev/dsk/c5t9d0s0''
devid=''id1,sd at x00000e1100b96f71/a''
whole_disk=1
is_spare=1
DTL=4773