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

Re: ext3 and kernel 2.4.10




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










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