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

ext3 mounted as ext2



Hi,

Also I do have some problems mounting an ext3fs which gets just mounted
as an ext2fs. (Yeap, I looked a little bit around in the mailling list
and found similiar problems which haven't help me ;-( )

I have a root ( /) and a /mnt partition. both are converted via tune2fs
-j into a journaled fs.


my fstab looks like this:

/dev/hda1       /                       ext2              defaults   1  
1
/dev/hda2	/mnt			ext2		  defaults   1   1


on system startup root (/) gets mounted as ext3fs but /mnt gets just
mounted as ext2fs. I want /mnt mounted as an ext3fs, too!

What makes me wonder is the asymmetry. both fs_vfstype fields are set to
ext2 but / gets mounted as ext3 and /mnt gets mounted as ext2.

What would work is setting the fs_vfstype field to ext3 BUT then non
ext3-aware kernels don't mount that entry anymore. (rc.S mounts the
fstab files via "/sbin/mount -avt nonfs")


My question: how do I set the fs_vfstype field in /etc/fstab so that
ext3-aware kernels mount partitions as ext3fs and non-ext3-aware kernels
mount partitions as plain ext2fs. any ideas?

Thanks, Stefan



Some info about my system (have I forgotten anything important?)
================================================================
I have compiled ext3 into the 2.4.16 kernel:

CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set


/proc/filesystems mentions that

nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   tmpfs
nodev   shm
nodev   pipefs
        ext3
        ext2
        msdos
nodev   nfs


tune2fs -l /dev/hda1

tune2fs 1.25 (20-Sep-2001)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          0a70e88a-077f-11d5-83a9-95889e39c439
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal needs_recovery
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2064384
Block count:              8257504
Reserved block count:     412875
Free blocks:              1224536
Free inodes:              1880892
First block:              1
Block size:               1024
Fragment size:            1024
Blocks per group:         8192
Fragments per group:      8192
Inodes per group:         2048
Inode blocks per group:   256
Last mount time:          Sun Dec  9 09:10:32 2001
Last write time:          Sun Dec  9 09:10:32 2001
Mount count:              10
Maximum mount count:      20
Last checked:             Sun Dec  9 07:11:37 2001
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal UUID:             <none>
Journal inode:            29
Journal device:           0x0000
First orphan inode:       0




tune2fs -l /dev/hda2

tune2fs 1.25 (20-Sep-2001)
Filesystem volume name:   <none>
Last mounted on:          <not available>
Filesystem UUID:          755af99a-0786-11d5-833b-9199ceac6f95
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal needs_recovery
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              2066432
Block count:              8259552
Reserved block count:     412977
Free blocks:              3635617
Free inodes:              2015386
First block:              1
Block size:               1024
Fragment size:            1024
Blocks per group:         8192
Fragments per group:      8192
Inodes per group:         2048
Inode blocks per group:   256
Last mount time:          Sun Dec  9 09:10:37 2001
Last write time:          Sun Dec  9 09:10:37 2001
Mount count:              10
Maximum mount count:      20
Last checked:             Sun Dec  9 07:31:10 2001
Check interval:           0 (<none>)
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               128
Journal UUID:             <none>
Journal inode:            15
Journal device:           0x0000
First orphan inode:       0





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