View previous topic :: View next topic |
Author |
Message |
Handwerker n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 2
|
Posted: Mon Nov 21, 2005 10:42 pm Post subject: mount -n -o remount,rw / fails on md raid5 root partition |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tgh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 05 Oct 2005 Posts: 222
|
Posted: Sun Nov 27, 2005 3:50 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Handwerker n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 14 Nov 2005 Posts: 2
|
Posted: Sun Nov 27, 2005 11:50 pm Post subject: |
|
|
The md driver is compiled into the kernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|