LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-10-2016, 09:16 PM   #1
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Rep: Reputation: Disabled
Unhappy External HDD Input/Output error when moving and deleting certain files.


Hi everyone. Now that I got my Ext HDD mounted and accessible, I still have another problem that I've been having for awhile. It's an Input/output error whenever I try to move or delete certain files. Don't know what to do. Everyone says put it in windows and run chdsk... but I don't have windows.

Quote:
Error while deleting.

There was an error deleting catmovie.mp4

Error removing file: Input/output error
Anyway I can fix this through linux?
 
Old 08-10-2016, 09:39 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
I suggest that you run fsck against the external HDD in question.

------------------
Steve Stites
 
Old 08-10-2016, 09:40 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,261
Blog Entries: 24

Rep: Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891
It sometimes happens that external media gets mounted to root ownership and user is unable to alter its contents.

What are the permissions on the file and on the directory that contains it?

Also, Linux has its own file checking function. See man fsck for more.

It might help to know what distro/version and what desktop environment you are using. Your user agent icon says "Ubuntu," but that sometimes indicates a Ubuntu derivative.
 
Old 08-10-2016, 10:34 PM   #4
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
It sometimes happens that external media gets mounted to root ownership and user is unable to alter its contents.

What are the permissions on the file and on the directory that contains it?

Also, Linux has its own file checking function. See man fsck for more.

It might help to know what distro/version and what desktop environment you are using. Your user agent icon says "Ubuntu," but that sometimes indicates a Ubuntu derivative.
I'm using linux mint 17 quiana. I ran fsck before and I'm still getting this input/output error. Not sure what you mean by permissions. How would I check that?
 
Old 08-10-2016, 11:09 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,825

Rep: Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401
fsck.ntfs is a link to ntfsfix which only repairs a few common problems. You still could have some inconsistencies. It is not a chkdsk replacement. I would not expect an input/output error to be a permission problem.

Connecting to a Windows pc would be the best check. Does the output of the desk command provide any additional clues?
 
Old 08-10-2016, 11:11 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,235

Rep: Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636Reputation: 2636
I would suggest everyone read this thread first.
Testdisk has been run to recover a NTFS partition.
If there are (significant) errors on NTFS, it must be fixed using Windows tools. ntfsfix exists in Linux to attempt to fix things, but NTFS is proprietary Microsoft code.
 
Old 08-11-2016, 06:32 AM   #7
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
I would suggest everyone read this thread first.
Testdisk has been run to recover a NTFS partition.
If there are (significant) errors on NTFS, it must be fixed using Windows tools. ntfsfix exists in Linux to attempt to fix things, but NTFS is proprietary Microsoft code.
I have feared this....
 
Old 08-11-2016, 10:06 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,261
Blog Entries: 24

Rep: Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891Reputation: 3891
Quote:
Not sure what you mean by permissions.
The link in my previous post will address this.
 
Old 08-12-2016, 10:01 PM   #9
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
The link in my previous post will address this.
Permissions seem fine...
 
Old 08-13-2016, 10:30 AM   #10
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mothqueen View Post
Permissions seem fine...
I take that back. In the problematic directory, x is missing in the rwx permission triad...
 
Old 08-13-2016, 10:43 AM   #11
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mothqueen View Post
I take that back. In the problematic directory, x is missing in the rwx permission triad...
OK not really sure what to do here.
 
Old 08-13-2016, 12:23 PM   #12
mothqueen
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Original Poster
Rep: Reputation: Disabled
Yea I don't think it's a permissions problem... I think it's a logical problem with the drive.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Toshiba 500 GB HDD Input/Output Read Error eruptionjoojo Linux - Laptop and Netbook 2 09-20-2014 10:26 AM
Input/output error when copying files to Fedora Live CD kenneho Fedora 6 01-06-2011 05:39 AM
lost access to vfat formated external HD - input/output error alexis2009 Linux - General 4 10-12-2009 02:15 AM
Input/Output error while copying from an external drive on a Debian machine skipperx Debian 7 05-27-2009 12:27 PM
/dev/hdd input/output error... Linux~Powered Linux - Software 8 02-17-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration