Re: I/O error on a file on a backup drive

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

 



On Sun, 17 May 2020 at 14:54, Richard <lists-fedora@xxxxxxxxxxxxxxxxxxxxx> wrote:

> Date: Sunday, May 17, 2020 13:22:54 -0400
> From: Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
>
> I am having a problem with rsyncing:
>
> rsync -ah --stats --delete /home/
> /media/HD103SI/backups/homebase/home
> rsync:
> readlink_stat("/media/HD103SI/backups/homebase/home/abba/abba/Excel
> /Home/Power usage.xls") failed: Input/output error (5)
> rsync: recv_generator: failed to stat
> "/media/HD103SI/backups/homebase/home/abba/abba/Excel/Home/Power
> usage.xls": Input/output error (5)
> IO error encountered -- skipping file deletion
>
> So I go to the directory and I try to ls P* and it hangs.
>
> I tried to remove the bad file:
>
> rm Power\ usage.xls
> rm: cannot remove `Power usage.xls': Input/output error
>
> How can I get this bad file out of the way so I can back up
> properly?
>

I would probably fsck the drive to see if there are errors, and go
from there.

I worked in an IRIX64 shop for years.  IO errors could be due to
bad cables or termination on SCSI cables, but mostly disks that
were failing, so were telling us to replace the disk are restore
from backups. 

According to the man page, "fsck.xfs" is just "exit 0". 
I would first  check the disk's S.M.A.R.T status (smartmontools)
and then use "xfs_repair" (preferably on a ddrescue image -- note the
section of the xfs_repair man page on "Disk Errors").

--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux