FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-07-2010, 03:50 PM
James Bensley
 
Default ext4?

Listee's...

I have a 5.5 box and I have formatted a partition as ext4 however I
can't mount it, the mount command is telling me its an unknown file
system type. fsck tells me the partition is a clean ext4 partition but
I can't mount it.

Some reasearch has lead me to believe the problem is that ext4 isn't
enabled in the kernel by default in 5.5 (this was originally a 5.2 box
that has been upgraded over time, its now on 2.6.18).

I'm struggling to find some idiots steps to either get the kernel
rebuilt or use the CentOSPlus repo's to get the ext4 module for the
kernel etc....Can anyone point me at an idiots guide to make this
work?

--
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 03:57 PM
Laurent Wandrebeck
 
Default ext4?

On Sat, 7 Aug 2010 16:50:18 +0100
James Bensley <jwbensley@gmail.com> wrote:

> Listee's...
>
> I have a 5.5 box and I have formatted a partition as ext4 however I
> can't mount it, the mount command is telling me its an unknown file
> system type. fsck tells me the partition is a clean ext4 partition but
> I can't mount it.
Use mount -t ext4dev.
See http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html-single/Technical_Notes/#chap-Technical_Notes-_Technology_Previews_
Regards,
Laurent
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 04:10 PM
James Bensley
 
Default ext4?

On 7 August 2010 16:57, Laurent Wandrebeck <l.wandrebeck@gmail.com> wrote:
> Use mount -t ext4dev.

Sorry, I forgot to mention; I have reformatted the drive as ext4dev
and it still wont mount, unknown file system type again! I verified it
was OK with fsck and it says it is a clean ext4dev partition?

--
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 04:27 PM
Bernard Lheureux
 
Default ext4?

On 08/07/2010 06:10 PM, James Bensley wrote:
> On 7 August 2010 16:57, Laurent Wandrebeck<l.wandrebeck@gmail.com> wrote:
>
>> Use mount -t ext4dev.
>>
> Sorry, I forgot to mention; I have reformatted the drive as ext4dev
> and it still wont mount, unknown file system type again! I verified it
> was OK with fsck and it says it is a clean ext4dev partition?
>
>
Did you first "modprobe ext4dev" before trying to mount it ?

--
(- Bernard Lheureux Gestionnaire des MailingLists ML, TechML, LinuxML
// http://www.bbsoft4.org/Mailinglists.htm ** MailTo:root@bbsoft4.org
v_/_ http://www.bbsoft4.org/<<<<<< *>>>>>> http://www.portalinux.org/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 04:41 PM
Laurent Wandrebeck
 
Default ext4?

On Sat, 7 Aug 2010 17:10:13 +0100
James Bensley <jwbensley@gmail.com> wrote:

> On 7 August 2010 16:57, Laurent Wandrebeck <l.wandrebeck@gmail.com> wrote:
> > Use mount -t ext4dev.
>
> Sorry, I forgot to mention; I have reformatted the drive as ext4dev
> and it still wont mount, unknown file system type again! I verified it
> was OK with fsck and it says it is a clean ext4dev partition?
Hmmmmm, looks like ext4dev only was the case in 5.4. I've just checked in 5.5 and got:
LABEL=/data /data ext4 defaults 1 2
so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko.
Do you run some vps or something ?
Regards,
Laurent
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 05:48 PM
James Bensley
 
Default ext4?

On 7 August 2010 17:27, Bernard Lheureux <bernard.lheureux@bbsoft4.org> wrote:

> Did you first "modprobe ext4dev" before trying to mount it ?

[nf5002@eros ~]$ modprobe ext4
FATAL: Module ext4 not found.
[nf5002@eros ~]$ modprobe ext4dev
FATAL: Module ext4dev not found.


--
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 05:55 PM
James Bensley
 
Default ext4?

On 7 August 2010 17:41, Laurent Wandrebeck <l.wandrebeck@gmail.com> wrote:

> so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko.

This is probably going ot provide the answer (to you atleast, its not
so clear to me);

`uname -r` tells me I'm on kernel 2.6.18-92.el5.

Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I
have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is
kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required
module but its not active, or something? I'm going to say I need to
recompile my kernel and include the module since its present on my box
or work out why the newer kernel files are present but not in use?

--
Regards,
James.

http://www.jamesbensley.co.cc/

There are 10 kinds of people in the world; Those who understand
Vigesimal, and J others...?
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 05:57 PM
Robert Heller
 
Default ext4?

At Sat, 7 Aug 2010 18:48:05 +0100 CentOS mailing list <centos@centos.org> wrote:

>
> On 7 August 2010 17:27, Bernard Lheureux <bernard.lheureux@bbsoft4.org> wrote:
>
> > Did you first "modprobe ext4dev" before trying to mount it ?
>
> [nf5002@eros ~]$ modprobe ext4
> FATAL: Module ext4 not found.
> [nf5002@eros ~]$ modprobe ext4dev
> FATAL: Module ext4dev not found.

What kernel do you have installed?

sauron.deepsoft.com% uname -a
Linux sauron.deepsoft.com 2.6.18-194.8.1.el5xen #1 SMP Thu Jul 1 19:41:05 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
sauron.deepsoft.com% sudo modprobe ext4
sauron.deepsoft.com% lsmod | grep ext4
ext4 289433 0
jbd2 95473 1 ext4
crc16 35137 1 ext4
(sauron is Dom0, CentOS 5.5)

gollum.deepsoft.com% uname -a
Linux gollum.deepsoft.com 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux
gollum.deepsoft.com% sudo modprobe ext4
gollum.deepsoft.com% lsmod | grep ext4
ext4 243693 0
jbd2 58329 1 ext4
crc16 6209 1 ext4
(gollum is my laptop, also CentOS 5.5)

>
>

--
Robert Heller -- 978-544-6933
Deepwoods Software -- Download the Model Railroad System
http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows
heller@deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 06:03 PM
Laurent Wandrebeck
 
Default ext4?

On Sat, 7 Aug 2010 18:55:35 +0100
James Bensley <jwbensley@gmail.com> wrote:

> On 7 August 2010 17:41, Laurent Wandrebeck <l.wandrebeck@gmail.com> wrote:
>
> > so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko.
>
> This is probably going ot provide the answer (to you atleast, its not
> so clear to me);
>
> `uname -r` tells me I'm on kernel 2.6.18-92.el5.
>
> Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I
> have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is
> kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required
> module but its not active, or something? I'm going to say I need to
> recompile my kernel and include the module since its present on my box
> or work out why the newer kernel files are present but not in use?
You need to boot on the latest kernel. Or it is not 5.5 (nor 5.4 as far as I can remember - it looks like a 5.3 one). So ext4 is unsupported.
Laurent
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-07-2010, 06:05 PM
Benjamin Franz
 
Default ext4?

On 08/07/2010 10:55 AM, James Bensley wrote:
> On 7 August 2010 17:41, Laurent Wandrebeck<l.wandrebeck@gmail.com> wrote:
>
>
>> so a mount -t ext4 should work, as kernel-2.6.18-194.8.1.el5 provides /lib/modules/2.6.18-194.8.1.el5/kernel/fs/ext4/ext4.ko.
>>
> This is probably going ot provide the answer (to you atleast, its not
> so clear to me);
>
> `uname -r` tells me I'm on kernel 2.6.18-92.el5.
>
> Within /lib/modules/2.6.18-92.el5/kernel/fs/ thers is no ext4, but I
> have do have a /lib/modules/2.6.18-194.8.1.el5 folder and in there is
> kernel/fs/ext4/ext4.ko so a newer kernel is preset with the required
> module but its not active, or something? I'm going to say I need to
> recompile my kernel and include the module since its present on my box
> or work out why the newer kernel files are present but not in use?
>
>
You are *WAY* behind on your running kernel. Check /boot/grub/grub.cfg
and, assuming you have the more recent kernels installed, change it to
default to the current kernel and reboot. Alternatively, if you don't
want to edit grub.cfg just yet, reboot and *choose* the most current
kernel from the grub boot menu to test it.

I use ext4 all the time and don't have any problems with it.

--
Benjamin Franz
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org