[hblug] read only HDD

Michael Adams linux_mike at paradise.net.nz
Fri Mar 9 15:31:26 NZDT 2007


On Fri, 09 Mar 2007 11:44:09 +1300
chris morris wrote:

> Ok the weird shizt is out in force today..
> 
> Cleaning out old crap in a kubuntu machine..
> did  rm -r [20gb-folder-of-rubbish] which duly vanished
> tried to create a new folder on same drive and I'm told the drive is 
> read-only!
> WTF
> so: I go sudo chmod 777 Maxtor40
> and I'm told "Read-only file system"
> WTF I thought root was god.
> 
> Jump into QTparted and the drive isnt there....oops!
> 
> I can ls the drive and see remaining directories and I can ls into
> them.. WTF lol
> 
> So bottom line: Konsole can access the drive but not write to it (
> even as root ) and QTparted doesnt even see it....
> Is this Linux's funny way of telling me the drive is stuffed ?
> 

"rm -r *" is a bit like "format C:\". The directory you were removing
was IN the drive, not the drive directory itself, correct? If not then
you may need to"mkdir" the directory again. Unlike Windows, partitions
in Linux can be mounted anywhere but a directory needs to exist to
actually mount to. Not sure if the system makes a directory on startup
if it listed in /etc/fstab.

If that is no help post the relevant bits of the command line "df -aT",
"cat/etc/fstab", "ls -l /dev" and "mount".

QTparted should still see the disk /dev/hdX even if it doesn't see the
partition. I don't know if it sees mounted partitions, never used it.

Background for Ricky, as our newbie.
http://www.linuxfocus.org/English/September2004/article349.shtml
http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/mnt.html

-- 
Michael
Linux: The OS people choose without $200,000,000 of persuasion.



More information about the HBLUG mailing list