おのたく日記 YouTubeも始めました→
2020-10-20(Tue) [長年日記]
■ [HDD][ZFS] HDD壊れた ?
今回はzfsではなくて、SMARTさんからメール
This message was generated by the smartd daemon running on:
host name: host
DNS domain: on-o.com
The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 8 Offline uncorrectable sectors
Device info:
ST4000DM000-1F2168, S/N:12345678, WWN:5-100d50-093c40fdb, FW:CC54, 4.00 TB
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.
The original message about this issue was sent at Sat Oct 17 18:53:11 2020 JST
Another message will be sent in 24 hours if the problem persists.
ということで、4TBドライブが壊れて来ているらしい。
前回HDD交換した、2018年11月11日からの日記のようにzfs scrubしてみると
# zpool status -v
pool: tank
state: ONLINE
scan: scrub repaired 0B in 0 days 08:34:44 with 0 errors on Tue Oct 20 18:11:32 2020
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sdc1 ONLINE 0 0 0
sdb1 ONLINE 0 0 0
cache
sda3 ONLINE 0 0 0
errors: No known data errors
前回とは異なり、ZFSのファイルシステムにはダメージはまだ来ていない。
というわけで、SMARTでのオンラインテスト中
# smartctl -l selftest /dev/sdc
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.7.0-2-amd64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Self-test routine in progress 80% 29730 -
# 2 Short offline Completed without error 00% 27040 -
# 3 Extended offline Completed: read failure 10% 27019 -
# 4 Extended offline Completed: read failure 10% 26953 -
# 5 Extended offline Completed without error 00% 21620 -
# 6 Short offline Completed without error 00% 12787 -
# 7 Extended offline Completed without error 00% 2366 -
# 8 Short offline Completed without error 00% 2346 -
このシーゲートの4TB HDDは、Head_Flying_Hours 29730h+40m+11.535s = 3年4ヶ月だから、もう少し使えるかと思って、だましだまし使ってる
|