Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Cent OS fsck
PostPosted: Thu Dec 18, 2008 6:09 pm 
Offline
Senior Newbie

Joined: Sat Dec 10, 2005 12:13 pm
Posts: 11
Hello all,

I really haven't touched my linode in over a year... not really sure why I keep paying $20/mth, but having a command line can be pretty damn helpful every now and then.

Regardless, why do I have to set my root device to ro now? Otherwise I have to log into lish and hit "n" when it hangs during boot wanting to preform an fsck.

Running CentOS 5.0

Thanks,

Andrew

edit: I posted this as I was waiting for my linode to come back up running the "ro"... I now see that it re-mounts the root file system in rw mode after it runs the fsck. Why does this option even exist in the config editor then? Possibly for a different distro?

_________________
http://www.knehcsa.com


Last edited by knehcsa on Thu Dec 18, 2008 6:13 pm, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Dec 18, 2008 6:10 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Init scripts want the disk images to NOT be mounted read/write right from the start, so they can perform things like fsck. After that, it remounts them read/write and the boot up continues.

A while ago, UML seemed to not care about the "ro" flag. More recent UML kernels and Xen do care.

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group