LinuxQuestions.org
Review your favorite Linux distribution.
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 03-31-2009, 02:12 AM   #1
mdmazaza
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
External HDD on Red Hat Enterprise Linux Server release 5.3 issue


I have Red Hat Enterprise Linux Server release 5.3 (Tikanga) - Linux 2.6.18-128.1.1.0.1.el5 #1 SMP Tue Feb 10 15:02:51 EST 2009 i686 i686 i386 GNU/Linux For testing purpose, I need to use an external HDD WD conected on USB. Please see product desc: p://www.officemax.ro/poze_produse/pdf/11039.pdf
I formated the device as ext3 and conected to the USB port. After 10-15 minuted the device becomes read-only


Please see the error log file:

Mar 30 16:11:10 soatest automount[2419]: lookup_mount: lookup(file): key ".directory" not found in map
Mar 30 16:11:10 soatest automount[2419]: create_udp_client:90: hostname lookup failed: No such process
Mar 30 16:11:10 soatest automount[2419]: create_tcp_client:299: hostname lookup failed: No such process
Mar 30 16:11:10 soatest automount[2419]: lookup_mount: exports lookup failed for .directory
Mar 30 16:11:14 soatest kernel: sd 7:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Mar 30 16:11:14 soatest kernel: Add. Sense: Logical unit not ready, initializing command required
Mar 30 16:11:14 soatest kernel:
Mar 30 16:11:14 soatest kernel: end_request: I/O error, dev sdc, sector 2294022216
Mar 30 16:11:14 soatest kernel: EXT3-fs error (device sdc3): read_inode_bitmap: Cannot read inode bitmap - block_group = 8750, inode_bitmap = 286720001
Mar 30 16:11:14 soatest kernel: Aborting journal on device sdc3.
Mar 30 16:11:14 soatest kernel: sd 7:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Mar 30 16:11:14 soatest kernel: Add. Sense: Logical unit not ready, initializing command required
Mar 30 16:11:14 soatest kernel:
Mar 30 16:11:14 soatest kernel: end_request: I/O error, dev sdc, sector 274568
Mar 30 16:11:14 soatest kernel: Buffer I/O error on device sdc3, logical block 1545
Mar 30 16:11:14 soatest kernel: lost page write due to I/O error on sdc3
Mar 30 16:11:14 soatest kernel: sd 7:0:0:0: Device not ready: <6>: Current: sense key: Not Ready
Mar 30 16:11:14 soatest kernel: Add. Sense: Logical unit not ready, initializing command required
Mar 30 16:11:14 soatest kernel:
Mar 30 16:11:14 soatest kernel: end_request: I/O error, dev sdc, sector 262208
Mar 30 16:11:14 soatest kernel: Buffer I/O error on device sdc3, logical block 0
Mar 30 16:11:14 soatest kernel: lost page write due to I/O error on sdc3
Mar 30 16:11:14 soatest kernel: EXT3-fs error (device sdc3) in ext3_new_inode: IO failure
Mar 30 16:11:21 soatest kernel: journal commit I/O error
Mar 30 16:11:21 soatest kernel: EXT3-fs error (device sdc3) in ext3_mkdir: IO failure
Mar 30 16:11:21 soatest kernel: ext3_abort called.
Mar 30 16:11:21 soatest kernel: EXT3-fs error (device sdc3): ext3_journal_start_sb: Detected aborted journal
Mar 30 16:11:21 soatest kernel: Remounting filesystem read-only



Many thanks in advanced.
 
Old 03-31-2009, 02:19 AM   #2
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
Even i faced the same issue while using a transend 110 GB usb drive
the problem was, the USB connector between drive & machine was faulty as it was making loose connection so i was getting the IO error in var-log-messages.

do check the connector, wheather its connected tightly or not.
 
Old 03-31-2009, 02:19 AM   #3
aswathamana
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Lightbulb hi

hey ur externel hdd is mounted in read only b'cos
the format is not done correctly

step1. do the format once more
step2. mount the hdd in read write mode using the mount command

eg: mount -o ro /dev/sdc1 /mnt [-o ro read only]
eg: mount -o rw /dev/sdc1 /mnt [-o rw read write mode]
you do the mounting in read write mode then it will work fine
 
Old 03-31-2009, 02:28 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Quote:
Originally Posted by aswathamana View Post
hey ur externel hdd is mounted in read only b'cos
the format is not done correctly

step1. do the format once more
step2. mount the hdd in read write mode using the mount command

eg: mount -o ro /dev/sdc1 /mnt [-o ro read only]
eg: mount -o rw /dev/sdc1 /mnt [-o rw read write mode]
you do the mounting in read write mode then it will work fine

Ummm ... what leads you to believe that an I/O error
has to do with a faulty formatting?
 
Old 03-31-2009, 04:53 AM   #5
mdmazaza
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I tried both solutions and did not help.
Any hints? Do you think that formating the device can help?
What steps should I follow
Thanks
 
Old 03-31-2009, 06:17 AM   #6
maxy7710
Member
 
Registered: Jan 2008
Location: Mumbai, india
Distribution: REDHAT, FEDORA,SUSE, UBUNTU, ORACLE ENTERPRISE LINUX & SOLARIS 10
Posts: 130

Rep: Reputation: 17
formating should be the last option.

wht i would suggest is, try with a new device & check the output for some time. also try it on different USB port.

Also check mount | grep u r device, to see the rights to the device.
 
Old 03-31-2009, 07:18 AM   #7
mdmazaza
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I did additional research and find out that this issue could be related to the : Sleep mode of the external WD HDD.
Did you hear smth related to this. Because the External HDD enters in Power saving mode ...Linux doesn't know how to handle this @ start-up and mount it as read only
 
Old 04-09-2009, 02:24 PM   #8
djeepp
LQ Newbie
 
Registered: Jun 2006
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by mdmazaza View Post
I did additional research and find out that this issue could be related to the : Sleep mode of the external WD HDD.
Did you hear smth related to this. Because the External HDD enters in Power saving mode ...Linux doesn't know how to handle this @ start-up and mount it as read only
Here is what you need.

http://alienghic.livejournal.com/382903.html
 
  


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
Red Hat Enterprise Linux ES release 4 update 1 shibu_sp Linux - Newbie 1 03-04-2009 02:34 AM
SUID and SGID not working on Red Hat Enterprise Linux ES release 4 Bob Lawson Linux - Security 2 11-28-2008 07:49 AM
Red Hat Enterprise Linux 5 Release Date? keysorsoze Red Hat 5 03-01-2007 08:15 PM
what last version/release of Red Hat enterprise Linux AS? xcore_on Linux - Newbie 1 05-11-2006 04:28 AM
Red Hat Linux Enterprise release 3 kernel version Minnie Nguyen Linux - Enterprise 1 01-29-2006 02:28 PM


All times are GMT -5. The time now is 12:30 AM.

Main Menu
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