~~리눅스서버에서 1 Currently unreadable (pending) sectors 에러가 날때 [/var/log/message 파일에서 볼수있음]
리눅스 서버가 간호 랙(홀딩)이 걸려 있는 경우가 있어, 서버를 재부팅 하곤 하였습니다.

오늘 시간이 되어 message 파일을 열어보니

 

Jan 13 06:42:21 host xinetd[3244]: EXIT: telnet status=1 pid=14133 duration=1(sec)
Jan 13 07:05:48 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors
Jan 13 07:35:48 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors
Jan 13 08:05:49 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors
Jan 13 08:35:48 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors
Jan 13 09:05:48 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors
Jan 13 09:35:49 host smartd[3901]: Device: /dev/sdc, 1 Currently unreadable (pending) sectors 

이런 로그가 보였습니다.

 

혹시나 해서 /sbin/badblocks -v /dev/sdc 로 check<시간이오래걸림> 해 보았으나 이상이 없었습니다.

아마도 HDD의 smart기능에 관련된 것인듯하여 데몬자체를 죽여 버렸습니다.

이제 서버가 정상상태로 된듯합니다.

여기서 스마트기능은 하드디스크 자체에서 자신의 디스크가 불량인이 아닌지를 검사하는 기능으로 

이 기능이 없는 하드일경우 에러를 내는듯합니다.

 

이 메세지가 나타나도 방치할경우 리눅스 서버거 홀딩 되는 경우가 있으니  x윈도우상에서 시스템/관리/서버설정 에 들어가서 smartd 부분의 check를 없에고 저장합니다.