input/output error on disk(?)

Robert Nichols rnicholsNOSPAM at comcast.net
Sat Oct 17 07:26:00 UTC 2009


charles zeitler wrote:
> On Fri, Oct 16, 2009 at 7:49 PM, charles zeitler <cfzeitler at gmail.com> wrote:
>> thanks for the help, Tony.
>> i finally checked the results of cat'ing to /dev/null,
>> which found 11 troubled files. having removed them,
>> am now running smartctl -t on umounted disk.
>>
>>>    # tar -cvf - --ignore-failed-read --one-file-system / \
>>>      2>/some/other/volume/tarfiles.txt | cat >/dev/null
>>>
>>> Good luck.
>>>
>>> --
> second try  of smartctl -t  yielded the same results-
> i may have removed    files from 11 bad blocks-
> and missed the first.
> 
> am now running the tar seq. above (fingers crossed)

SMART has no idea whether a sector has been allocated to a file or
not.  The test will continue to find the same bad sectors until
writes to those sectors occur, which will allow the drive to remap
them to spare sectors.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the users mailing list