Hey all,
I have a zfs raidz1 running under 8.0-release. One of the drives started giving ECC errors, so I proceeded as follows:
zpool offline storage da5
<shutdown the server and replaced the failed drive>
zpool online storage da5
I next started a scrub, but from watching the drive lights, it didn't seem that was hitting the replaced drive at all, but just verifying what was on the other drives in the raidz1 volume. So I canceled the scrub. At this point, here is what it looks like:
Replacing the drive doesn't work:
I have tried taking the drive back offline:
What else can I try?
I have a zfs raidz1 running under 8.0-release. One of the drives started giving ECC errors, so I proceeded as follows:
zpool offline storage da5
<shutdown the server and replaced the failed drive>
zpool online storage da5
I next started a scrub, but from watching the drive lights, it didn't seem that was hitting the replaced drive at all, but just verifying what was on the other drives in the raidz1 volume. So I canceled the scrub. At this point, here is what it looks like:
Code:
anchor# zpool status
pool: storage
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://www.sun.com/msg/ZFS-8000-4J
scrub: scrub stopped after 0h3m with 0 errors on Mon May 10 15:00:55 2010
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz1 DEGRADED 0 0 0
da1 ONLINE 0 0 0
da2 ONLINE 0 0 0
da3 ONLINE 0 0 0
da4 ONLINE 0 0 0
da5 FAULTED 0 3.74K 0 corrupted data
da5 ONLINE 0 0 0
errors: No known data errors
Replacing the drive doesn't work:
Code:
anchor# zpool replace storage da5
invalid vdev specification
use '-f' to override the following errors:
/dev/da5 is part of active pool 'storage'
anchor# zpool replace -f storage da5
invalid vdev specification
the following errors must be manually repaired:
/dev/da5 is part of active pool 'storage'
I have tried taking the drive back offline:
Code:
anchor# zpool offline storage da5
cannot offline da5: no valid replicas
What else can I try?