Can anybody help me get this pool online. During my testing I''ve been
removing and re-attaching disks regularly, and it appears that I''ve
attached a disk that used to be part of the pool, but that doesn''t
contain up to date data.
Since I''ve used the same pool name a number of times, it''s
possible that the disk I attached has never contained data relevant to this
pool, which would explain the corrupted data error. Going by the previous name,
the disk would also have been a member of the third mirror set, not the first.
What I would like to do is remove the disk containing corrupt data, and then
wipe and re-attach it properly. However, the zpool detach command is failing
with the error:
"cannot open ''rc-pool'': pool is unavailable
Any suggestions as to how I can fix this? Preferably without removing the disk
as that tends to hang the server...
# zpool status
pool: rc-pool
state: UNAVAIL
status: One or more devices could not be opened. There are insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using ''zpool
online''.
see: http://www.sun.com/msg/ZFS-8000-3C
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
rc-pool UNAVAIL 0 0 0 insufficient
replicas
mirror UNAVAIL 0 0 0 corrupted data
c1t1d0 ONLINE 0 0 0
8443716419433342693 ONLINE 0 0 0 was
/dev/dsk/c1t4d0s0
c1t2d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t3d0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c2t3d0 ONLINE 0 0 0
c1t5d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c2t4d0 ONLINE 0 0 0
c1t6d0 ONLINE 0 0 0
c2t5d0 ONLINE 0 0 0
mirror ONLINE 0 0 0
c1t7d0 ONLINE 0 0 0
c2t6d0 ONLINE 0 0 0
c2t7d0 ONLINE 0 0 0
# zpool detach rc-pool 8443716419433342693s0
cannot open ''rc-pool'': pool is unavailable
This message posted from opensolaris.org