LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2011, 07:16 AM   #1
mike11
Member
 
Registered: Apr 2009
Posts: 222

Rep: Reputation: 17
USB drive cannot be accessed after a while


Hi All,

I'm using a IOData external USB drive. I mount the drive & all is fine, but then after a while, which could be from a few minutes to an hour or so, the drive suddenly cannot be accessed, although it's mounted and shows up with fdisk -l.

Any ideas? it's really annoying having to umount and remount the drive so often.

TIA,
Mike.
 
Old 10-05-2011, 08:08 AM   #2
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
have you tried another USB slot? perhaps it overheats.
 
Old 10-05-2011, 08:22 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
can you monitor /var/log/messages (if you use a Redhat or centos or fedora etc ...)
or /var/log/syslog (if you use a ubuntu or debian etc ...)
use:
Code:
tail -f /var/log/messages
at some point I expect you'll see a message about your disk, and then you lose access to it.
Please post the result here and we can help further
 
Old 10-05-2011, 11:53 PM   #4
mike11
Member
 
Registered: Apr 2009
Posts: 222

Original Poster
Rep: Reputation: 17
Thanks both for replying.

Connecting to another usb port didn't help, still getting an error.

Here's the output in syslog when I tried rsyncing my home dir. to the external usb drive (mounted as /dev/sdb2):

Oct 6 12:50:07 mike kernel: [11537.648257] sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Oct 6 12:50:07 mike kernel: [11537.648261] sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Oct 6 12:50:07 mike kernel: [11537.648266] Info fld=0x0
Oct 6 12:50:07 mike kernel: [11537.648267] sd 5:0:0:0: [sdb] Add. Sense: Invalid command operation code
Oct 6 12:50:07 mike kernel: [11537.648272] end_request: I/O error, dev sdb, sector 98196353
Oct 6 12:50:07 mike kernel: [11537.648278] EXT3-fs error (device sdb2): ext3_find_entry: reading directory #1425409 offset 0

TIA.
 
Old 10-06-2011, 01:58 AM   #5
qrange
Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable, amd64
Posts: 805

Rep: Reputation: 32
maybe USB drive has bad block (sector 98196353). I would try it in another computer/OS to be sure.
it uses ext3? have you run fsck?
 
Old 10-06-2011, 05:06 AM   #6
mike11
Member
 
Registered: Apr 2009
Posts: 222

Original Poster
Rep: Reputation: 17
Thanks for replying. I am getting the same issue on another machine which also runs debian.
it seems as if there is some kind of a "time-out" mechanism in the OS where the drive becomes inaccessible after a while, if it's not being used (I plug it in and its mostly idle, except for some occasional backups into it).
 
  


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
Tape drive is recognized but cannot be accessed scorchgeek Linux - Hardware 2 07-31-2011 01:31 PM
Hard drive accessed constantly lemvigh Linux - Hardware 6 11-10-2007 04:12 AM
Hard drive constantly accessed with SuSE 9.3 ltpl4y3r SUSE / openSUSE 17 08-10-2005 06:49 PM
mounted hard drive can only be accessed by root Flutterby Linux - Hardware 3 07-17-2004 04:52 AM
zip drive accessed when I run /sbin/lilo major.tom Slackware 1 06-16-2004 08:40 PM


All times are GMT -5. The time now is 08:27 PM.

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