You are not logged in.

#1 2010-05-16 08:17:29

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

[Solved using Windows] Can't delete files: I/O error!

Hi, smile

Yesterday I've used my 500 GB external hard drive to backup some files from my girlfriend's Windows computer.
While copying files I noticed some errors about some .wma files that cannot be copied, but I didn't care too much about that.

After removing Windows and installing Xubuntu 10.04 (which, btw, works perfectly on a quite old laptop) I copied back the backup files onto the laptop.
Everything was fine and I just needed to remove those backup files from my external hard drive: impossible.
Both Thunar and 'rm -fr' failed to remove these .wma files from my hard drive, reporting an I/O error:

rm: cannot remove `filename.wma': Input/output error

What happened? Have these corrupted files corrupted my external hard drive filesystem as well?

After asking a few question to Google, I realized the best thing to do was a fsck. The bad news is that this is a NTFS formatted hard disk and fcsk basically doesn't work on this filesystem.

So my question is: what can I do to get rid of these files and then check that my external hard disk is ok?

Any help would be much appreciated, I really don't know what to do.
Thank you! big_smile

Last edited by rent0n (2010-05-16 08:59:49)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2010-05-16 08:33:04

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [Solved using Windows] Can't delete files: I/O error!

Someone's been downloading videos from the internet, eh? lol (Edit: don't mean this in a nasty way hmm )

Anyway, the only way to fix this is to get to a windows machine and run

chkdsk <yourdrive> /f

That'll 'fix' it.

Last edited by JackH79 (2010-05-16 08:38:02)

Offline

#3 2010-05-16 08:48:04

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Solved using Windows] Can't delete files: I/O error!

Watch out, you're talking about my girlfriend! ;P
Actually, these files come from an english audiobook ('This sceptered isle') copied from an english teacher's computer...

Atm, I'm running a graphical ScanDisk from a Windows Vista computer. Is this the same as running chkdsk?
Thanks,

Last edited by rent0n (2010-05-16 08:49:17)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#4 2010-05-16 08:52:39

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [Solved using Windows] Can't delete files: I/O error!

Funny thing. The reason I mentioned the download from the Internet was just because something similar happened to me a while back. I got those files from a teacher as well lol

Chkdsk is the equivalent to fsck. Chkdsk can also scan for bad sectors and the "/f" switch tells it to fix any errors encountered automatically.

Offline

#5 2010-05-16 08:59:25

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

Re: [Solved using Windows] Can't delete files: I/O error!

Yes, it worked, thank you! big_smile

Bad teachers...


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#6 2010-05-16 09:06:12

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [Solved using Windows] Can't delete files: I/O error!

Glad it worked.

And yes, just checked it: chkdsk is the same as the gui option in the disk properties.

Offline

#7 2010-05-16 10:02:21

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [Solved using Windows] Can't delete files: I/O error!

Pervert teachers. Downloading porn and infecting student material. Tisk, tisk, tisk...


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

Board footer

Powered by FluxBB