Sokme exra information I should have included:

The box is running RH7.1, the kernel is 2.4.9-12, as built from the 
.src.rpm, but with change to the config (but no additional patches)

Version of stuff that is relevant:
[jpolley@bigmark jpolley]$ rpm -q e2fsprogs
e2fsprogs-1.23-1.7.1
[jpolley@bigmark jpolley]$ rpm -q util-linux
util-linux-2.11f-17
[jpolley@bigmark jpolley]$ rpm -q mount
mount-2.11m-1

e2fsprogs is the latest redhat have released for 7.1 (up2date is your
friend (even if it does suck, compared to apt-get)) 

mount is the version from rawhide, as suggested by the ext3fs howto
(google for ext3, it's about the 3rd link) and other sources

util-linux is the latest provided for RH7.1 - I went to install the
version from rawhide, but mysteriously, the rawhide version is only
version 2.11f-16

also, I have actually changed fstab, it now reads:
[jpolley@bigmark jpolley]$ cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 
1
LABEL=/boot             /boot                   ext3    defaults        1 
2

but there's still no joy with ext3 (an dyes, i have rebooted)

On Sun, 9 Dec 2001, Zhasper wrote:

> Greetings!
> 
> I've just moved all the filesystems in my box to ext3... or at least, I 
> thought I had...
> 
> This is a box I've just built to test a few things on quickly.. however, I 
> thought I'd set up ext3 quickly first, because I've only done it a few 
> times before and a bit of practice never hurts....
> 
> What I've done is this:
> 
> A) Recompiled kernel, making sure the ext3 support is compiled straigh 
> into the kernel, not as a module
> B) run tune2fs on the partitions to create the journal, edited /etc/fstab 
> to set all fstypes to 'auto', rebooted
> 
> If I now run mount, I get this (trimed for brevity):
> 
> [root@bigmark /root]# mount
> /dev/sda6 on / type ext3 (rw)
> /dev/sda2 on /boot type ext3 (rw)
> 
> this information is the same as in mtab:
> 
> [root@bigmark /root]# cat /etc/mtab
> /dev/sda6 / ext3 rw 0 0
> /dev/sda2 /boot ext3 rw 0 0
> 
> however, looking at /proc/mounts, i get this:
> 
> [root@bigmark /root]# cat /proc/mounts
> /dev/root / ext2 rw 0 0
> /dev/sda2 /boot ext3 rw 0 0
> 
> 
> this raises two questions:
> 
> A) wtf is /dev/root? 
> [root@bigmark /dev]# ls root
> ls: root: No such file or directory
> 
> it's not anything that exists, that i can see
> 
> Secondly, is it ext2 or ext3?
> 
> I asked in #slug, someone pointed me to a URL which I don't have handy at 
> the moment... however, points to note (and points which mean that that 
> post is not relevant to me):
> 
> * This is a custom-compiled kernel (although admittedly based on RH7.1's 
> default config, witha all the stuff i don't need stripped out)
> * I don't have ext3 is a module, it's built into the kernel.. This 
> precludes the obvious suggestion that the root FS is ext2 because the ext3 
> driver isn't loaded
> * I'm not looking at /etc/fstab to determine that i'm using ext3 - i'm 
> relying on /proc/mounts and /etc/mtab to determine what FS i'm using...
> 
> It would appear that /proc/mounts is to be believed in this instance... 
> I'm awatre taht /etc/mtab can be incorrect (you can easily, for instance, 
> force mount(8) not to lis the fs i loads into /etc/mtab)... 
> 
> but if /proc/mounts is to be believed, then why am I using ext2 rather 
> than ext3?
> 
> Any pointers anyone can give are greatly appreciated
> 
> 
> 
> 
> 



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to