LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2004, 03:51 AM   #1
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
root partition mounts ro


After complaints from my users that windows wouldn't let them log
in (domain controller from samba) and that YP/NIS and NFS wans't working anymore I tried to ssh into the server but that didn't go either.

Nothing seemed to work anymore so I rebooted it and attached a monitor,
then I saw that suddenly the root filesystem (/dev/hda3) was mounted
read-only.

It refuses to mount /home, /boot,/proc and the likes.
Remounting after boot (init 1) works ok as far as I can see,
booting off a resue disk and chrooting in works ok, fsck says the
partition is ok, so why gets it mounted as ro on boot?

Server is debian stable on linux 2.4.24 running services as NFS,samba,NIS,...

Any input greatly appreciated as usual.
 
Old 01-21-2004, 06:43 AM   #2
bhaskie
Member
 
Registered: Jan 2004
Location: New Delhi, India
Distribution: L.F.S 5.0 | FreeBSD 5.2 | Debian sid | Gentoo 2004.0 | Slackware 9.1
Posts: 78

Rep: Reputation: 15
What is the entry for the root filesystem in /etc/fstab?
Can you remount the root filesystem as read/write? Do you get errors on doing that?
 
Old 01-21-2004, 06:57 AM   #3
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Original Poster
Rep: Reputation: 47
Remouting went ok as I said earlier.
Turns out the problem was something else...
That stable box was once updated to testing by accident,
it was downgraded again, but never rebooted.
So everything went great untill today; new kernel and reboot.
The wrong init scripts were loaded and that caused the / partition
to mount as ro. (guess the downgrade wasn't succesfull).
I did a force-overwrite on the sysvinit package, rebooted and everything
is ok again.
Took me a while to figure that one out

Last edited by iceman47; 01-21-2004 at 06:59 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
access NTFS mounts without root btaber Linux - Hardware 4 03-23-2004 04:05 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 03:06 PM
Compiled RH7.3 to read WinXP NTFS partition, mounts in Console, but can't mount fstab BlackDogg Linux - Newbie 20 08-05-2002 11:15 PM
no root partition? mkzmonkeylagger Linux - General 5 07-15-2002 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:13 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
Open Source Consulting | Domain Registration