From: Jack R. <jre...@co...> - 2010-07-26 17:23:10
|
OK, I'm sure this is a FAQ, and I should be able to find existing answers ... and I did try, but I can't. I found a number of claims that "the smartd home page" has links with answers, but couldn't find the actual links, or couldn't find the info in the voluminous referenced pages. So: sorry for asking what I'm profoundly convinced has been asked and answered before, but ... Given that I'm getting this message every half hour (on a RHEL 5.3 system): Jul 26 09:40:04 demo01-wkst smartd[3242]: Device: /dev/sda, 5 Currently unreadable (pending) sectors and given, further, that some of my apps are behaving very badly ... how can I find the files affected by the bad sectors, and hopefully remove those sectors from active use, recreate the files, and get back to a working state? |
From: Alex S. <ml...@os...> - 2010-09-28 21:32:25
|
Hi Jack, You can try to find them using smartctl utility by running "long test" drive self diagnostic. Then you can try to write to the problematic sectors using hdparm, but please keep in mind that this way you will damage data in this sectors. For the gui, if you want it, i`m recommending gsmartcontrol, but also you can do everything using command line. P.S. If its a server - then i`m recommending to replace this hard drive. On 07/26/2010 07:10 PM, Jack Repenning wrote: > OK, I'm sure this is a FAQ, and I should be able to find existing answers ... and I did try, but I can't. I found a number of claims that "the smartd home page" has links with answers, but couldn't find the actual links, or couldn't find the info in the voluminous referenced pages. So: sorry for asking what I'm profoundly convinced has been asked and answered before, but ... > > Given that I'm getting this message every half hour (on a RHEL 5.3 system): > > Jul 26 09:40:04 demo01-wkst smartd[3242]: Device: /dev/sda, 5 Currently unreadable (pending) sectors > > and given, further, that some of my apps are behaving very badly ... > > how can I find the files affected by the bad sectors, and hopefully remove those sectors from active use, recreate the files, and get back to a working state? > |