Red Hat Bugzilla – Bug 50798
ext3 partition not mountable under 7.1 as ext2
Last modified: 2007-04-18 12:35:27 EDT
Description of Problem:
Installed Roswell on /dev/hdb1. Because of other problems, I rebooted and
came up on ly 7.1 system. I then tried to mount /dev/hdb1 as ro ext2.
Steps to Reproduce:
mount -t ext2 -o ro /dev/hdb1 /mnt/xx/
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems
Did you have any kernel log messages appear when you tried this? What exactly
were the steps that you went through before rebooting into 7.1?
This behaviour is expected when an ext3 filesystem has not been cleanly
unmounted. In that case, the information in the ext3 journal still needs to be
replayed before you can mount it safely as ext2. Mounting as ext3 then
unmounting it will be sufficient. Running e2fsck on the partition will also
work (I recommend using e2fsprogs-1.22 or later for that, though.)
1. I had successfully shutdown the system on /dev/hdb1 and rebooted to 7.1 on
2. I got the following log message on the 7.1 system after trying a mount:
Aug 3 10:42:18 chaos kernel: EXT2-fs: ide0(3,65): couldn't mount because of
unsupported optional features (4).
3. I had successfully booted another Roswell install from yet another partition
and successfully mounted the hdb1 partition.
Thanks, I'll try to reproduce this. It's either a filesystem bug or a problem
with initscripts --- if the initscripts tell the kernel to mount the root
filesystem readonly before all the fs cleanup has been completed (in particular,
before all active-but-deleted files have been closed), the recovery bit will
remain set. I'll investigate.
In any case, fsck on the filesystem should render it remountable as ext2.
This defect is considered SHOULD-FIX for Fairfax.
Can you reproduce this? In particular, can you capture a log of the ext3
shutdown which leads to this?
We've had some reports that old initscripts were not unmounting all filesystems
in the correct order. Did you have any subdirectories under /usr mounted at the
At this point I can't reproduce this.
I currently have just installed RC1 into this partition and everything looks OK.
I suggest this be closed as ??