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

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

 





On 5/17/20 1:52 PM, Richard 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.

After umounting the drive from the server:

# fsck /dev/sdc
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Yes, the server is running some old OS, but it is not accessible but on its subnet...

And

# parted /dev/sdc print
Model: SAMSUNG HD103SI (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  1000GB  1000GB  primary  ext4


_______________________________________________
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