LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 06-29-2004, 08:02 PM   #1
the_gorf
LQ Newbie
 
Registered: Jun 2004
Location: Seattle Washingont
Distribution: Red Hat Enterprise 3, Mandrake 10
Posts: 7

Rep: Reputation: 0
read-only filesystem


Recently we had an idiot at our co-lo provider flip some power switches and we lost an install fo Red Hat Enterprise Server 3. I am sitting at the console and the server boots automatically into single-user mode. This is because it determines that /dev/null is mounted on a read-only filesystem.

Ok so simple enough right? just

rm -f /dev/null
mknod -m 0666 /dev/null c 1 3

right? Well the problem is that because the OS thinks that /dev/null is mounted on a read-only fs, it will not allow me to remove it. So I also tried to run fsck agains the partition. Again no luck because the OS thinks it is ro. Specifically erroring out on /dev/null.

So what are my options at this point? Boot off the CD into repair mode? LOL hadn't thought of that until just now as I was typing.

But if you have any additional suggestions I would appreciate hearing them.
 
Old 06-30-2004, 12:27 AM   #2
dawood
LQ Newbie
 
Registered: Dec 2002
Location: Pune
Posts: 21

Rep: Reputation: 15
Hi
You can remount the partition in read and write mode. Just run this command
mount /dev/hdax -o rw,remount
And reboot ur system, u should be able to read and write that partition
/dev/hdax is ur partition which u want to mount in read write mode
Just check whether it can help u.
bye
 
  


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
read-only filesystem karunesh Linux - General 1 09-30-2005 11:04 AM
read only filesystem ONLY greg108 Linux - General 3 08-26-2004 07:11 PM
read only filesystem lardino Linux - Newbie 17 08-11-2004 07:22 AM
Read-only filesystem neillans Linux - General 2 06-11-2004 02:27 PM
how do I change the filesystem from read-only to read-write? les_chow Linux - Newbie 5 05-26-2004 04:14 PM


All times are GMT -5. The time now is 11:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration