LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2008, 01:18 AM   #1
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
external ext3 drives always mount as read-only!


I have been having this issue and nobody seems to be able to help me. I'm running Ubuntu hardy on an eeepc700, and for some reason, no matter what my fstab says, if the external drive has any variant of ext as it's file system, it will mount as readonly.

Here's my fstab:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=f028fe62-bc39-4a5d-91b8-01de8214315d /               ext2    noatime,errors=remount-ro 0       1
# /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/sdc1	/media/external1	ext3	auto,user,exec,rw,sync	0	0
The last entry is what I added in myself (after reading up a bit on the specifics to fstab). It is reading the fstab correctly, because instead of using automount options, it mounts to the proper directory (/media/external1), but it just doesn't mount as read/write.

Any ideas? Though I have been working hard on breaking myself into linux, I'm still a bit new, so if you suggest something, I would appreciate a link or a detailed explenation.
 
Old 06-25-2008, 10:28 AM   #2
opc
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
Gilrad,

First of all, are permissions set properly on /media/external1?

If not, type the following:

sudo chmod 777 /media/external1

Also, what happens when you type the following?

sudo mount -t auto /dev/sdc1 /media/external1

Regards,
OPC
 
Old 06-25-2008, 02:11 PM   #3
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
okay,

here's my log:

Code:
gilrad@kerjigger:~$ sudo chmod 777 /media/external1
[sudo] password for gilrad: 
gilrad@kerjigger:~$ sudo mount -t auto /dev/sdc1 /media/external1
mount: /dev/sdc1 already mounted or /media/external1 busy
mount: according to mtab, /dev/sdc1 is already mounted on /media/external1
(I then unmounted the drive)
gilrad@kerjigger:~$ sudo mount -t auto /dev/sdc1 /media/external1
gilrad@kerjigger:~$
After both operations, the drive continued to be read-only.
 
Old 06-26-2008, 10:47 AM   #4
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
bump to page one
 
Old 06-27-2008, 05:21 AM   #5
opc
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
Gilrad,

Sorry for the delay. I was distracted by other duties.

Try simplifying your fstab entry, for example like this:

/dev/sdc1 /media/external1 ext3 rw,defaults 0 0

and try mounting it again.

If that fails, I don't know what the problem is. Have you ruled out physical problems? Does the drive work properly with an other OS? Have you tried it with a live CD like Puppy Linux or Knoppix? Is there a write protection lock on the drive? Has the cable been chewed by a dog? Maybe there is a conflict in a USB hub - try a different USB port on the PC.

An other thing is to look in the sub-directories under /dev/disk/ and make sure nothing looks strange for this drive. For example, the symbolic links might indicate that /dev/sdc should be used instead of /dev/sdc1. Or maybe there is no entry at all for the drive in question. Do an "ls -las /dev/disk/by-id" with the drive disconnected and again with it connected. You should see an entry appear for your drive.

Regards,
opc

Last edited by opc; 06-29-2008 at 01:16 AM. Reason: grammatical
 
Old 06-27-2008, 05:35 AM   #6
opc
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
...by the way, does /etc/mtab also list the drive as read only?


-opc
 
Old 06-28-2008, 12:06 AM   #7
Gilrad
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks! Simplifying it worked out, actually. With a few annoying exceptions (such as having to manually change the readwrite permissions on each and every currently existing file and folder), everything is working just fine
 
  


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: Can't mount external hard drives anymore. Was rebooted without unmounting jwhitman Linux - General 5 04-21-2008 05:33 PM
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
Mount, READ and WRITE reiserfs and ext3 partitions smiley_lauf Linux - Newbie 21 04-03-2006 04:11 PM
Cannot Mount External HD or Read MP3's reh_42 Ubuntu 2 02-12-2006 10:21 AM
how to mount a external hard drive in ext3 format? kuertensun Linux - Newbie 12 09-06-2005 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:00 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
Open Source Consulting | Domain Registration