おのたく日記 YouTubeも始めました→
2017-05-31(Wed) シーゲート ST3000DM001 3TB HDD壊れる [長年日記]
■ まえからSMARTで警告が出ていたSeagateのST3000DM001(3TB)だけど、
Device: /dev/sdc [SAT], 3560 Currently unreadable (pending) sectors Device info: ST3000DM001-9YN166, FW:CC4H, 3.00 TBついに、いつのまにか接続が切れて、うんとスントもいわなくった。
■ zfsのmirror poolにしていたのでreplaceする
エラーの状況は、
# zpool status
pool: tank
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: scrub repaired 0 in 5h45m with 0 errors on Mon May 29 19:26:52 2017
config:
NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
ata-ST3000DM001-part1 UNAVAIL 0 0 0
ata-TOSHIBA_DT01ACA300-part1 ONLINE 0 0 0
errors: No known data errors
てな状態なので、新しいSeagate 4TBのHDDを買ってきて入れ替えた。
# zpool replace tank 96512279046075681 /dev/disk/by-id/ata-ST4000DM000-part1
# zpool status
pool: tank
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will
continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
scan: resilver in progress since Wed May 31 00:43:01 2017
3.50M scanned out of 1.01T at 256K/s, (scan is slow, no estimated time)
3.50M resilvered, 0.00% done
config:
NAME STATE READ WRITE CKSUM
tank DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
replacing-0 UNAVAIL 0 0 0
96512279046075681 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-ST3000DM001-part1
ata-ST4000DM000-part1 ONLINE 0 0 0 (resilvering)
ata-TOSHIBA_DT01ACA300-part1 ONLINE 0 0 0
errors: No known data errors
すこし時間をおいてみてみると
action: Wait for the resilver to complete.
scan: resilver in progress since Wed May 31 00:43:01 2017
37.1G scanned out of 1.01T at 41.6M/s, 6h47m to go
37.1G resilvered, 3.60% done
て事なので、朝までにはRAID-1(mirror)の再構築が終わるかな。
|