[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ext3 partition still gets mounted as ext2 for me too!


I am a new ext3 user and I am having problems similar to what many
people are facing on this list.

I have done everything as the emails suggest. I am using SuSE 7.3 with
the the 2.4.10 kernel and ext3 compiled as a module. Because it is
2.4.10 kernel, I created all my journals from a rescue disk and
everything seems to be working right for the non-root filesystems. My
fstab has all my filesystems showing as ext3 and mtab reflects that. In
order to make the ext3 module available to the initrd image I added the
ext3 and jbd modules. The bootup messages confirm that these modules are
being loaded. Even after doing all that, my root filesystem still gets
mounted as ext2. Here is the output of /proc/mounts

/dev/root / ext2 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hdb1 /data ext3 rw 0 0
shmfs /dev/shm shm rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
cuda:/lmaster/home /master nfs
rw,v3,rsize=8192,wsize=8192,soft,udp,lock,addr=cuda 0 0
mako:/ldist /ldist nfs
rw,v3,rsize=32768,wsize=32768,soft,udp,lock,addr=mako 0 0mako:/software
/software nfs rw,v3,rsize=32768,wsize=32768,soft,udp,lock,addr=mako 0 0

The output of /proc/filesystems is like this:

nodev   bdev
nodev   proc
nodev   sockfs
nodev   tmpfs
nodev   shm
nodev   pipefs
nodev   nfs
nodev   devpts
nodev   usbdevfs

So, it looks like the kernel mounts it as ext2 and never tries ext3. So,
my question is: How can I tell the kernel to mount as ext3 instead of
ext2? Is there something I can edit in /linuxrc of the initrd or is
there a boot parameter which I could try?

Just for completeness, the output of tune2fs -l /dev/hda3 is like this:

tune2fs 1.24a (02-Sep-2001)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          d4bd4742-042d-4c1e-a3cc-e25478b8a072
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              1137920
Block count:              2273197
Reserved block count:     113659
Free blocks:              1444614
Free inodes:              984911
First block:              0
Block size:               4096
Fragment size:            4096
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         16256
Inode blocks per group:   508
Last mount time:          Wed Oct 31 17:28:56 2001
Last write time:          Wed Oct 31 17:28:56 2001
Mount count:              3
Maximum mount count:      20
Last checked:             Wed Oct 31 06:51:20 2001
Check interval:           15552000 (6 months)
Next check after:         Mon Apr 29 07:51:20 2002
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal UUID:             <none>
Journal inode:            8
Journal device:           0x0000
First orphan inode:       0

Thanks in advance for your help.

Devang Mehta
Senior Software Engineer
Mastersoft, Inc.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]