RE: rm

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Carruth, Rusty
Date:  
To: Main PLUG discussion list
Subject: RE: rm
You might want to check syslog (or messages) to see if the drive is getting errors. (which is to say, getting ready to die)

Or use smartctl -a to see what the SMART attributes say (look for the ‘pre-fail’ attributes). Or, best, do both.


Rusty


From: PLUG-discuss [mailto:plug-discuss-bounces@lists.phxlinux.org] On Behalf Of Michael
Sent: Thursday, November 22, 2018 8:50 AM
To: PLUG
Subject: Re: rm

I ran fsck. It just returned through. So then I reformatted it with gparted. So all is well (I guess). I did have to restart the computer after the reformat though (don't remember why) but everything seemed okay. Oh yeaaaaa! I think I had to restart it because it would not unmount and I figured I would try to restart it and if it would gracefully do so it would be good. And it did and upon restart the drive auto mounted.


On Wed, Nov 21, 2018 at 11:56 PM Eric Oyen <<mailto:eric.oyen@icloud.com>> wrote:
Ok, unmount the drive, then run
Sudo fsck <your device here>
When completed, remount and then try to remove the files using:
Sudo rm -rf <name of files here>

-Eric



On Nov 21, 2018, at 8:53 PM, Michael <<mailto:bmike1@gmail.com>> wrote:

this is interesting: I tried accessing 'Neil' from the GUI but get an error:
Sorry, could not display all the contents of "Neil": Error when getting information for file '/media/bmike1/Seagate Expansion Drive/Documents/Business/CablingJobs/Neil/IMG_20150205_180721.jpg': Input/output error)
and when I attempt to access it from a tty get:
$ ls Neil/
ls: cannot access 'Neil/IMG_20150205_180604.jpg': Input/output error
ls: cannot access 'Neil/IMG_20150205_180721.jpg': Input/output error
ls: cannot access 'Neil/IMG_20150205_180827.jpg': Input/output error
ls: cannot access 'Neil/IMG_20150205_180903.jpg': Input/output error
ls: cannot access 'Neil/IMG_20150205_180917.jpg': Input/output error
ls: cannot access 'Neil/quote.docx': Input/output error
IMG_20150205_180559.jpg IMG_20150205_180827.jpg quote.docx
IMG_20150205_180604.jpg IMG_20150205_180903.jpg
IMG_20150205_180721.jpg IMG_20150205_180917.jpg


On Wed, Nov 21, 2018 at 10:44 PM Michael <<mailto:bmike1@gmail.com>> wrote:
how do I delete the following files>?

/media/bmike1/Seagate Expansion Drive/Documents/Business/CablingJobs $ sudo rm -rf Neil/
rm: cannot remove 'Neil/IMG_20150205_180604.jpg': Input/output error
rm: cannot remove 'Neil/IMG_20150205_180721.jpg': Input/output error
rm: cannot remove 'Neil/IMG_20150205_180827.jpg': Input/output error
rm: cannot remove 'Neil/IMG_20150205_180903.jpg': Input/output error
rm: cannot remove 'Neil/IMG_20150205_180917.jpg': Input/output error
rm: cannot remove 'Neil/quote.docx': Input/output error

these are the only files on the drive.

--
:-)~MIKE~(-:


--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list - <mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list - <mailto:PLUG-discuss@lists.phxlinux.org>
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss