Hello,
i'm testing a simple server with only 2 HD Zraid1.
If one hd fail:
pool: rpool
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://zfsonlinux.org/msg/ZFS-8000-4J
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
3371417627674286864 FAULTED 0 0 0 was /dev/sda2
sda2 ONLINE 0 0 0
-------------------------------------------------------------------------------
Can i identify the broken HD and change it without shutdown ?
If Yes, how ?
If not .. the only way i have finded is find the serial of the survived HD andso change the other one.
smartctl -i /dev/sda
...
Serial Number: WD-WCC4N4HP56UP -> This is the good one
Thanks!
i'm testing a simple server with only 2 HD Zraid1.
If one hd fail:
pool: rpool
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://zfsonlinux.org/msg/ZFS-8000-4J
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
3371417627674286864 FAULTED 0 0 0 was /dev/sda2
sda2 ONLINE 0 0 0
-------------------------------------------------------------------------------
Can i identify the broken HD and change it without shutdown ?
If Yes, how ?
If not .. the only way i have finded is find the serial of the survived HD andso change the other one.
smartctl -i /dev/sda
...
Serial Number: WD-WCC4N4HP56UP -> This is the good one
Thanks!