Pls help me urgently....../var is not mounting in rw mode
Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi repo
Thanks for your suggestion
but is ther any other alternative?
because for this I need to keep my server down which is not possible now,I can try this in non-office hour but not now
I will be highly pleased if you can suggest any other alternative without rebooting the server
Their are ways to do it without a liveCD but without unmounting /var the potential for filesystem corruption is too great to even attempt... I would not advise any action here unless you can cleanly unmount /var using umount and then can fsck it. If it's suppose to be mounted rw which appears to be the case, I would suggest that if a FSCK doesn't fix it, it'll give an indication of the problem behind /var not mounting correctly.
I suppose one possibility is using something like an external hard drive, copying /var to another partition on that and mounting it as -ro and then unmounting the original to fix it with FSCK, with the server still live (this way no body will lose any work they just did while you fix the original). But it's not clean, the best method without a doubt would be to take the server down and perform a FULL fsck on every partition as their may possibly be effects on the other partitions too which have not kicked in yet.
Oh yes, as it's not been said, please DO NOT use URGENT (or urgently in this case) in thread titles, all it does is put people off even looking at a thread. Thankfully however you have included the actual problem in the thread title where people usually forget. I can understand why you have put it, but it makes things inconvient for us to deal with and undiserable to even look at.
Last edited by r3sistance; 02-02-2009 at 05:53 AM.
Reason: urgently
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.