:/
 ~ $ sudo fsck -f /dev/sda1
fsck from util-linux 2.27.1
 ~ $ sudo fsck -f /dev/sda
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
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>
 or
    e2fsck -b 32768 <device>

gparted says the device is on sda1

On Fri, Sep 22, 2017 at 12:14 PM, Carruth, Rusty <Rusty.Carruth@smartm.com> wrote:

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



--
:-)~MIKE~(-: