리눅스에서 SMART 오류 감지
8년간 사용하던 NAS의 하드디스크에서 결국 에러 메시지가 발생했다. 알고 보니 매일 SMART 검사 에러 메시지가 메일로 오고 있었는데 미처 확인을 못했다.
Return-path: <root@debian>
Envelope-to: root@debian
Delivery-date: Sat, 25 Mar 2023 15:47:09 +0900
Received: from root by debian with local (Exim 4.94.2)
(envelope-from <root@debian>)
id 1pfxgD-00FRcJ-EF
for root@debian; Sat, 25 Mar 2023 15:47:09 +0900
Subject: SMART error (CurrentPendingSector) detected on host: debian
To: <root@debian>
X-Mailer: mail (GNU Mailutils 3.10)
Message-Id: <E1pfxgD-00FRcJ-EF@debian>
From: root@debian
Date: Sat, 25 Mar 2023 15:47:09 +0900
X-UID: 60
Status: O
This message was generated by the smartd daemon running on:
host name: debian
DNS domain: [Empty]
The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 4 Currently unreadable (pending) sectors
Device info:
SAMSUNG HD250HJ, S/N:S0UTJDWQ117986, WWN:5-0000f0-0db117986, FW:FH100-06, 250 GB
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 Fri Jan 27 14:47:09 2023 KST
Another message will be sent in 24 hours if the problem persists.
이 디스크는 2008년에 생산된 삼성 250GB 하드디스크다. 2023년 말 기준으로 대략 15년간 동작한 셈이다. 내가 나눔받아 사용하기 시작한 것이 2015년 초였고, 그 이후 절반 이상의 기간은 거의 24시간 가동 상태였다. 이 정도면 불량 섹터가 생기는 것도 당연한 일이었다.
집에 돌아와 해당 디스크의 파일을 모두 지우고 NAS에서 분리했다.
댓글 남기기