Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-25-2005, 05:16 PM   #1
LQ Newbie
Registered: Apr 2005
Location: New Hampshire, USA
Distribution: RedHat 7.2
Posts: 2

Rep: Reputation: 0
Formating USB Disk became readonly

I recently bought three external USB 160g LaCie harddisks that I was hoping to use with RedHat Enterprize WS 2.6.9-5.EL. They came formated vfat, were recognized, and I was able to store and retrieve files from them.

I wanted to be able to store permissions so I tried to format one of them using mkfs.ext3. The disk formated but was then readonly. I was unable to figure out how to change it to readwrite and in trying everything I could think of, the disk is now not recognized by the system anymore. It's difficult to remember the things I had done, but they included changing fstab.

If I recall correctly, the command I used to format was: mkfs.ext3 -L Extern_Dsk2 /dev/sda1

Did I need to define a partition first? If so, how? fdisk? If so, it is strange the format proceeded.

I have been using Linux for about 6 months so I am a newbe, however, I was pretty perficent with OS2 so I think it is usually the basic concepts I am missing most of the time with Linux.

Anyone have any suggestions as to what to do next? But more than that, why did the disk become read only (even to root)? What should I have done instead of what I did do?


Old 10-25-2005, 06:42 PM   #2
Registered: Jul 2005
Distribution: Debian
Posts: 94

Rep: Reputation: Disabled
As a fairly new newbie, I can't say that my answer is definitive, but my guess is simply that the drive was being mounted as read-only. fstab would probably have had "ro" in the line for the drive, which would make it read only to everyone, including root. Why it was set up like this, who knows, but it is easy to change so no big deal I guess. Regards,

Old 10-26-2005, 09:42 AM   #3
LQ Newbie
Registered: Apr 2005
Location: New Hampshire, USA
Distribution: RedHat 7.2
Posts: 2

Original Poster
Rep: Reputation: 0

I can't be sure because the entry is not in fstab anymore, but I think it was something like this:

/dev/sdb1 /media/usbdisk2 ext3 pamconsole,noatime,sync,fscontext=system_ubject_r:removable_t,exec,noauto,managed 0 0



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
Formating a New Partition on USB Hard drive mrground Linux - Hardware 3 11-30-2005 07:51 PM
usb controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 02:18 PM
formating a disk onionkn1ght Linux - Software 2 10-14-2004 11:31 AM
Using a floppy disk to load a USB disk. joeyjwc Linux - General 2 03-21-2004 07:05 PM
Formating iomag zip disk brown Linux - Newbie 9 01-30-2003 01:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration