Good morning, I try to use the last release of ext3 patch with a 2.4.10 linux kernel. I have two troubles : - when the kernel is booting, I receive : NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 208k freed Adding Swap: 128480k swap-space (priority -1) Adding Swap: 128480k swap-space (priority -2) Why my root filesystem (ext3) is seen by the kernel as an ext2 filesystem ? - the second trouble... When I restart the linux box (a Toshiba 4060 XCDT), the root filesystem seems to be not clean and a fsck is done... Why ? For information : Weierstrass:[~] > cat /etc/fstab /dev/hda5 / ext3 defaults 1 1 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 none /proc proc defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 /dev/hda6 swap swap defaults 0 0 /dev/hda7 swap swap defaults 0 0 Weierstrass:[~] > cat /etc/mtab /dev/hda5 / ext3 rw 0 0 none /proc proc rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 I don't know where is the problem. Regards, JKB
Hi, On Mon, Sep 24, 2001 at 06:08:59PM +0200, BERTRAND Joël wrote:> I try to use the last release of ext3 patch with a > 2.4.10 linux kernel. I have two troubles : > - when the kernel is booting, I receive : > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > VFS: Mounted root (ext2 filesystem) readonly. > Freeing unused kernel memory: 208k freed > Adding Swap: 128480k swap-space (priority -1) > Adding Swap: 128480k swap-space (priority -2) > > Why my root filesystem (ext3) is seen by the kernel as an ext2 > filesystem ?Have you built ext3 as a module, perhaps? Or have you not converted the root fs to ext3?> - the second trouble... When I restart the linux box (a Toshiba 4060 > XCDT), the root filesystem seems to be not clean and a fsck is done... > Why ?Because it was mounted as ext2, I imagine.> Weierstrass:[~] > cat /etc/mtab > /dev/hda5 / ext3 rw 0 0 > none /proc proc rw 0 0 > none /dev/pts devpts rw,gid=5,mode=620 0 0Try "cat /proc/mounts" for the definitive information about whether / is ext2 or ext3. /etc/mtab only gets set up _after_ the kernel has mounted the root filesystem, so the user-space code setting it up might get it wrong --- the kernel info in /proc is always authoritative. Cheers, Stephen
By the way, I have been running with ext3 v0.9.6 on 2.4.9 with no problems. But, when I do a df I do not see the root filesystem. Not a big deal, but any thoughts? dar:~> df Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda7 34084104 23655524 8697180 74% /home /dev/hda5 4134900 1721156 2203696 44% /usr dar:~> cat /etc/mtab /dev/hda1 / auto rw 0 0 none /proc proc rw 0 0 /dev/hda7 /home ext3 rw 0 0 /dev/hda5 /usr ext3 rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 dar:~> cat /proc/mounts /dev/root / ext3 rw 0 0 /proc /proc proc rw 0 0 /dev/hda7 /home ext3 rw 0 0 /dev/hda5 /usr ext3 rw 0 0 none /dev/pts devpts rw 0 0 For the record, /etc/fstab specifies the type for /, /usr, and /home all as "auto". -- David Hollister Driversoft Engineering: http://devicedrivers.com Digital Audio Resources: http://digitalaudioresources.org
#include <hallo.h> David Hollister wrote on Mon Sep 24, 2001 um 10:38:40AM:> dar:~> cat /etc/mtab > /dev/hda1 / auto rw 0 0^^^^ known bug in fileutils, look in archives Gruss/Regards, Eduard. -- Plug-and-Play is really nice, unfortunately it only works 50% of the time. To be specific the "Plug" almost always works. --unknown source
Stephen C. Tweedie wrote: > Hi, > > On Mon, Sep 24, 2001 at 06:08:59PM +0200, BERTRAND Joël wrote: > > >> I try to use the last release of ext3 patch with a >>2.4.10 linux kernel. I have two troubles : >>- when the kernel is booting, I receive : >>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. >>VFS: Mounted root (ext2 filesystem) readonly. >>Freeing unused kernel memory: 208k freed >>Adding Swap: 128480k swap-space (priority -1) >>Adding Swap: 128480k swap-space (priority -2) >> >>Why my root filesystem (ext3) is seen by the kernel as an ext2 >>filesystem ? >> > > Have you built ext3 as a module, perhaps? No, ext3 is build in the kernel. > Or have you not converted > the root fs to ext3? I have converted the root filesystem to ext3 with tune2fs -j /dev/hda5. In /, I can seen a .journal (33554432 Bytes). >>- the second trouble... When I restart the linux box (a Toshiba 4060 >>XCDT), the root filesystem seems to be not clean and a fsck is done... >>Why ? >> > > Because it was mounted as ext2, I imagine. > > >>Weierstrass:[~] > cat /etc/mtab >>/dev/hda5 / ext3 rw 0 0 >>none /proc proc rw 0 0 >>none /dev/pts devpts rw,gid=5,mode=620 0 0 >> > > Try "cat /proc/mounts" for the definitive information about whether / > is ext2 or ext3. /etc/mtab only gets set up _after_ the kernel has > mounted the root filesystem, so the user-space code setting it up > might get it wrong --- the kernel info in /proc is always > authoritative. /dev/root / ext2 rw 0 0 /proc /proc proc rw 0 0 none /dev/pts devpts rw 0 0 OK, the root filesystem is mounted as ext2. Why ? I don't know what is wrong... Regards, JKB
I think that I have found the problem. The root filesystem must be unmounted to be converted in ext3. But, how can I convert the root filesystem ? I if unmount the root filesystem, I have any access to tune2fs... Regards, JKB
#include <hallo.h> BERTRAND Joël wrote on Tue Sep 25, 2001 um 10:08:56AM:> I think that I have found the problem. The root filesystem must be > unmounted to be converted in ext3. But, how can I convert the root > filesystem ? I if unmount the root filesystem, I have any access to > tune2fs...The root partition never gets umounted. You can change into runlevel 1 where no process should write file handles, umount / (it becomes ro mounted automaticaly) and work with tune2fs. When done, do mount / -o remount,rw again. Gruss/Regards, Eduard. -- Fernsehen ist das einzige Schlafmittel, das mit den Augen eingenommen wird.
On Tue, 25 Sep 2001, BERTRAND Joël wrote:> > I think that I have found the problem. The root filesystem must be > unmounted to be converted in ext3. But, how can I convert the root > filesystem ? I if unmount the root filesystem, I have any access to > tune2fs... >Please read this post: <http://www.uwsg.indiana.edu/hypermail/linux/kernel/0109.3/0131.html> It is somekind feature to ensure that you have rescue disk... *GRIN* BR, Jani --- Jani Averbach