0. Intitially I was going to switch a windows partition from /w95 --> /w98
first I issued a umount -a (standard to dismount all windows partitions and /home didnt matter for the moment)
Before I got any further I had to back out so I did a mount -a followed by a df. None of the dismounted
partitions showed and not under mount either.
cat /proc/mounts showed /dev/root being ro now. After a few failures I decided to test this on other machines.
1. A beta1 machine (same effect but only with / being ro and /home being mounted and invisible under df/mount
2. Two beta2 text server installs, one ide, one scsi same as #1.
3. Firewall RH70 production box. same as 1.
4. Secondary DNS production RH70 box. No effect but it only has 2 partitions / and /boot.
Solution to problem:
1. umount -a
mount -n -o remount rw /
mount -t vfat /dev/hda1 /w95
mount -t ext2 /devhdb1 /home
After issueing these commands the partitions would again show up under df and mount. The only one that
didnt error out was the one with the two partitions instead of the RH default partitions.
I am as puzzled as anyone else and would like to see if this can be duplicated. I suspect the combination
of the partition setup and umount. 5 different out of six machines worries my logic.
At any rate it is logged even if it proves bogus.
So far I am only able to duplicate this problem with server installs/upgrades. Workstation or custom file systems will not
rewrite /dev/root to ro if the file structure doesnt default to RH partition scheme. I am installing a 6.2 box to see how far back I
can duplicate this.
This defect is considered MUST-FIX for Florence Gold release
Under RH6.2 with a server install and the partitions formated as / /usr /var /home /boot the same problem exists. Under the
conditions of a custom or workstation install say with / /boot or / /home umount -a will not change /dev/root to ro. So mount -a
works as designed.
This may warrant updates for previous releases, and I dont really know how far back since I only retained 6.2 and gave out
my older versions to other people.
I also forgot to mention that /dev/pts must be remounted as well else the VT logouts will issue a INIT: id "4" respawning to fast
waiting for 5 minutes and lock out all vt's.
This was discussed on testers-list; it's not a bug.
umount -a unmounts *everything* if possible, which leaves the root
Discussed yes, agreed upon no.
1. This feature is not documented in the man pages anywhere.
2. This feature does not consistently work if it is not a bug. This feature only
works when I accept the FHS hierarchy that RedHat uses with a server install.
I have used that command as defined in the the man pages for years without
root being made read only.
3. If this is the case then why doesnt mount -a reverse what umount -a does?
There is no reason to modify the permissions of partition that is in use. Even
uses mount -n -o remount ro / to change root dev to read only.
I will admit that this feature is in the source code and that technically it is not a bug but it still only works sporadically.