Try fsck –f (for force). If the filesystem is marked clean and some other stuff it won’t run the test, IIRC.
From: PLUG-discuss [mailto:plug-discuss-bounces@
lists.phxlinux.org ] On Behalf Of Michael
Sent: Friday, September 22, 2017 5:15 AM
To: Main PLUG discussion list
Subject: Re: rsync
$ sudo fsck /dev/sdc1
fsck from util-linux 2.27.1
$
isn't it supposed to give a code of some sort?
Here is a mall snippet of the errors it gives when trying to rsync to the drive:
rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46403032.ini") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46403576.xml") failed: Input/output error (5)
here is a snippet of the errors I get when trying to delete the file recovery directory:
rm: cannot remove 'file recovery/recup_dir.465/
f46401688.xml.gz': Input/output error rm: cannot remove 'file recovery/recup_dir.465/
f46401920.xml.gz': Input/output error
any ideas how I can delete them?
On Thu, Sep 7, 2017 at 5:36 PM, James Dugger <james.dugger@gmail.com> wrote:
You potentially have corrupt files or problems with your disk. Use the fsck command to check files/file system and smartctl command to check the disk
On Sep 7, 2017 4:52 AM, "Michael" <bmike1@gmail.com> wrote:
I get the following errors. How do I stop it?
$ rsync -aWuq --delete-before /home/bmike1/Documents /media/bmike1/"Seagate Expansion Drive"
rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46038464.elf") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46285928.txt") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46399616.bz2") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46399920.xml") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46400256.bz2") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46400560_tooltip.svg.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46400824_analog_meter.svg.gz" ) failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46401072_extender-background. svg.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46401488.xml.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46401688.xml.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46401920.xml.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46402208.xml.gz") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46402688.png") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46403032.ini") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46403576.xml") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46404144.xml") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46404624.xml") failed: Input/output error (5) rsync: readlink_stat("/media/bmike1/
Seagate Expansion Drive/Documents/Programs/file recovery/recup_dir.465/ f46405344.xml") failed: Input/output error (5) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
--
:-)~MIKE~(-:
------------------------------
---------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss
--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss