LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-30-2005, 12:27 PM   #1
solemar
LQ Newbie
 
Registered: Jun 2005
Location: Hong Kong
Posts: 3

Rep: Reputation: 0
Angry firewire hdd will not stay read-write


I am running Mandrake 10.2 and attempting to mount an external Maxtor 250G drive as read-write. I have edited fstab to include 'rw'. When first mounted I can create a new folder in the drive's root and looking at /proc/mount shows 'rw'. However once I navigate to any lower directory and try to create a folder there I get a read only error - /proc/mount now shows 'ro' for this drive.

Permissions for all directories on the drive are set to 777 and can be confirmed via ls -l. Unmounting and remounting the drive via diskdrake resets the status to 'rw' once again but the reversion to 'ro' happens once I do any navigation within the disk structure.

This did not happen in the past and the disk was always 'rw' at all times. I can only wonder if the upgrade to 10.2 was the cause.

Not being able to write to the drive is a big pain - any ideas?

solemar
 
Old 06-30-2005, 01:06 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
When it drops to ro mode, type 'dmesg' and see if any errors are shown. Sometimes, failing hardware, filesystem errors, or bugs can cause the kernel to remount a drive ro.
 
Old 06-30-2005, 06:33 PM   #3
solemar
LQ Newbie
 
Registered: Jun 2005
Location: Hong Kong
Posts: 3

Original Poster
Rep: Reputation: 0
Matir,
you're right, dmesg is reporting some errors causing a remount as ro - following is a snip from the output:

EXT3-fs: mounted filesystem with ordered data mode.
SCSI error : <2 0 1 0> return code = 0x8000002
sde: Current: sense key: Medium Error
Additional sense: Data phase error
end_request: I/O error, dev sde, sector 236716111
EXT3-fs error (device sde1): ext3_get_inode_loc: unable to read inode block - in ode=14794754, block=29589506
Aborting journal on device sde1.
EXT3-fs error (device sde1) in ext3_reserve_inode_write: Journal has aborted
EXT3-fs error (device sde1) in ext3_dirty_inode: Journal has aborted
ext3_abort called.
EXT3-fs error (device sde1): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only

[... repeats with similar output for 3 or 4 more block addresses]

I have looked further at the disk contents (which is all flac files ripped from CD) and found at least 4 folders (each one a complete CD) which have become corrupted in some way - the folder name is still there but it is now attached to what appears to be zero byte file. My original thought was to just delete these and re-rip those few CDs but delete doesn't work due to the read only setting.

I do have a fairly recent back up on another disk - do I need to go as far as reformatting the problem disk and copying back from the backup?

solemar
 
Old 06-30-2005, 08:28 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
It's hard to say. In fact, you're the second user I've seen with ext3 journal issues lately. I wonder if there's a kernel bug going on?

Anyway, you might be able to mount the drive as ext2 and work from there without it dropping back into ro mode. This will, of course, make the journal inconsistent with the drive, but I believe that is okay.
 
Old 07-04-2005, 07:46 AM   #5
solemar
LQ Newbie
 
Registered: Jun 2005
Location: Hong Kong
Posts: 3

Original Poster
Rep: Reputation: 0
Matir,
I have now run e2fsck on the unmounted disk and it proceeds to find bad blocks. Trouble is I do not know what to do with the questions it throws up about forcing rewrite. Does saying yes to this have any risks to the rest of the data on the disk or will it simply repair (or cordon off) the bad bits?

Thanks for your help.

solemar
 
  


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
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 01:17 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 08:14 PM
ext hdd mounting read/write issue Jestrik Linux - Hardware 1 06-12-2004 09:46 AM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 12:33 PM
my dvd is read as hdd and my ide cd-rw is read as scsi??? spyghost Linux - Hardware 11 07-16-2003 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:10 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