Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount -n -o remount,rw / fails on md raid5 root partition
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Handwerker
n00b
n00b


Joined: 14 Nov 2005
Posts: 2

PostPosted: Mon Nov 21, 2005 10:42 pm    Post subject: mount -n -o remount,rw / fails on md raid5 root partition Reply with quote

I'm using gentoo with kernel 2.6.13-gentoo-r3 and a md autodetect root device (mdadm for administration, i guess this does not matter) and reiserfs 3 on top of it for my / filesystem.
I tried to use udev, but after a kernel panic i switched back to the save haven of static device files. But now, the
Code:
mount -n -o remount,rw /
command in /etc/init.d/checkroot balks with
Quote:

mount: / not mounted already, or bad option

despite a cleanly and clearly recognizing the / fs and mounting it ro.

mount does of course not tell me what it is trying to do. Does anybody know what the -v option of mount is good for?

I found a hack around by changing the command to
Code:
mount -n -o remount,rw /dev/root
and removing /etc/mtab at the end of the shutdown/reboot process. This seems to work, but looks very strange to me. When the system is up, issuing the command results in the same nonsense.

Has somebody experienced similar problems?
What is this /dev/root device, which appears during the boot process?
I would like to know what mount is looking up in /etc/mtab and what "real" mount it is performing?

Any hints appreciated.

Markus
Back to top
View user's profile Send private message
tgh
Apprentice
Apprentice


Joined: 05 Oct 2005
Posts: 222

PostPosted: Sun Nov 27, 2005 3:50 am    Post subject: Reply with quote

Did you compile RAID5 into your kernel as built-in or as a module?

(That's the only question I can think of.)
Back to top
View user's profile Send private message
Handwerker
n00b
n00b


Joined: 14 Nov 2005
Posts: 2

PostPosted: Sun Nov 27, 2005 11:50 pm    Post subject: Reply with quote

The md driver is compiled into the kernel.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum