Re: input/output error on disk(?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09-10-15 01:29:22, charles zeitler wrote:
> when trying to copy a certain file, i get the message:
> cp: reading 'file' :  Input/output error
> 
> i took the volume it was on offline, & did a forced
> e2fsck.  same thing.
> 
> smartctl -H tells me the drive 'passes' .
> 
> i can change the name with mv, no problem there.
> 
> are there any other (non-destructive) steps i can take?

It is likely that the disk has one or more bad blocks.  Use
`smartctl -a /dev/sdx` to see all the data (or -A to see only the 
attributes) and look at the raw values of Current_Pending_Sector and 
Reallocated_Event_Count.  The first reflects unfixed problems, and the 
second fixed problems.  If both numbers are low, I would just keep 
using the drive, though I would first do a long test with `smartctl -t 
long /dev/sdx` (wait until the indicated time and then do a `smartctl -
a /dev/sdx` to see what happened) and then enabled Automatic Offline 
Testing with `smartctl -o on /dev/sdx` (this will help keep up with 
sectors as they go bad, without unnecessary data loss).

A program such as ddrescue (`yum install ddrescue`, `info ddrescue`) 
may help to salvage the damaged file(s).

-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux