LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 05-26-2009, 08:15 AM   #1
skipperx
Member
 
Registered: May 2009
Posts: 48

Rep: Reputation: 15
Input/Output error while copying from an external drive on a Debian machine


Hello:

I am trying to copy data from an ext3 partition on a USB external drive on a newly installed Lenny machine. It consistently fails with a

Code:
kernel:[15743.080180] journal commit I/O error
The drive has only ext3 partition and some extra free space. Can someone please help me.

Thank you.
 
Old 05-26-2009, 09:11 AM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Have you tried running a file system check on the external drive ? fsck

Make sure you unmount the drive before checking the file system...

Last edited by farslayer; 05-26-2009 at 09:12 AM.
 
Old 05-26-2009, 12:36 PM   #3
skipperx
Member
 
Registered: May 2009
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for getting back.

I ran fsck just after formatting and it was fine, I mean there were no error msges. Then I wrote to it with Kubuntu notebook. Kubuntu machine can read and write to it without any problem. I'll run fsck again this afternoon when I get back home and report back. If something is wrong there, what does it mean? Debian does not like somethings written the drive by Kubuntu? Or The drive is bad? There used to be an NTFS partition on it. I thought that was causing the problem. So, I repartitioned with only ext3 and left some room for NTFS stuff later. It' quite frustrating.
 
Old 05-26-2009, 03:52 PM   #4
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
Did you unplug the drive from a system without properly un-mounting it first ?
 
Old 05-26-2009, 06:56 PM   #5
skipperx
Member
 
Registered: May 2009
Posts: 48

Original Poster
Rep: Reputation: 15
Yes I usually unmount drive before removing physically.

I just ran fsck and here is the output.
Code:
 fsck.ext3 -f /dev/sda1
e2fsck 1.41.3 (12-Oct-2008)
Linux: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Linux: 864/12181504 files (0.7% non-contiguous), 839462/48717104 blocks
I am finding numerous complaints about these FreeAgent drives on linux machines now. I wish I googled a bit more before buying. It seems there is a common problem of the drives powering down and not waking up. My problem may not be identical, but they don't seem to be linux-friendly. I also found a fix for ubuntu, but it's too compicated for noob like me. The interesting thing is that the drive seems to be running fine on my notebook with kubuntu.
 
Old 05-27-2009, 01:56 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,687

Rep: Reputation: Disabled
Silly question: Are you sure your Debian installation has support for ext3? Because the complaint is a journal error...
 
Old 05-27-2009, 12:24 PM   #7
skipperx
Member
 
Registered: May 2009
Posts: 48

Original Poster
Rep: Reputation: 15
I don't know if the system has "ext3 support" How do I check?

The HD where the system resides is ext3 and I was able to format the external drive with ext3 by the same machine. So, I was assuming it supports ext3. May have been an oversight or ignorance.
 
Old 05-27-2009, 12:27 PM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,687

Rep: Reputation: Disabled
No, my error. I surmised that it is only ext3 on the USB device and (possibly) ext2 on your debian box. Sorry.
 
  


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
debian Input/output error SuperDude123 Linux - Software 1 02-14-2009 11:14 PM
solution for input/output error while copying from cd to linux nalinicisf Linux - Newbie 2 09-11-2008 02:35 PM
ls: reading directory .: Input/output error when copying data to new drive abefroman Linux - Software 7 03-13-2008 08:34 PM
input/output error when connecting to winXP machine with smbmount andrewgm Linux - Networking 7 03-25-2004 11:07 AM
input/output error copying from cdrom to hard drive aredshaw Linux - Hardware 4 07-16-2002 03:35 PM


All times are GMT -5. The time now is 05:11 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration