Operating System - Linux
1832310 Members
2742 Online
110041 Solutions
New Discussion

Re: xfs & jfs support in rhel 4.0

 
Maaz
Valued Contributor

xfs & jfs support in rhel 4.0

Dear Gurus
plz help ...
what rpm should i install ? and from where ?

Regards
Maaz

# rpm -q jfsutils
jfsutils-1.1.7-1


# mkfs -t jfs /dev/hdc3
mkfs.jfs version 1.1.7, 22-Jul-2004
Warning! All data on device /dev/hdc3 will be lost!

Continue? (Y/N) y


Format completed successfully.

200812 kilobytes total disk space.
# mount /dev/hdc3 /mnt/c
mount: fs type jfs not supported by kernel

--------
# rpm -q xfsprogs
xfsprogs-2.6.13-3.2.el4.rf

# mkfs -t xfs /dev/hdc3
meta-data=/dev/hdc3 isize=256 agcount=8, agsize=6275 blks
= sectsz=512
data = bsize=4096 blocks=50200, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal log bsize=4096 blocks=1200, version=1
= sectsz=512 sunit=0 blks
realtime =none extsz=65536 blocks=0, rtextents=0
# mount /dev/hdc3 /mnt/c
mount: fs type xfs not supported by kernel

6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: xfs & jfs support in rhel 4.0

I've had the same issue with NTFS.

To get around it, I set up a small NTFS(in your case xfs) partition at install time.

Doing this insures the necessary kernel module is installed and compiled into the kernel.

Now you need to do this and re-compile the kernel after the fact.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Axel Thimm
Occasional Advisor

Re: xfs & jfs support in rhel 4.0

There is no kernel xfs support with RHEL4 anymore due to 4KSTACK issues.

You need to rebuild a kernel with 8KSTACKS and enable xfs.
Maaz
Valued Contributor

Re: xfs & jfs support in rhel 4.0

and what abt the jfs issue ? I mean what should i do ?


# rpm -q jfsutils
jfsutils-1.1.7-1


# mkfs -t jfs /dev/hdc3
mkfs.jfs version 1.1.7, 22-Jul-2004
Warning! All data on device /dev/hdc3 will be lost!

Continue? (Y/N) y


Format completed successfully.

200812 kilobytes total disk space.
# mount /dev/hdc3 /mnt/c
mount: fs type jfs not supported by kernel

Jarle Bjorgeengen
Trusted Contributor

Re: xfs & jfs support in rhel 4.0

You must re-kompile the kernel with jfs support, since RedHat decided not to include the modules with the stock kernels.

>>
# cd /usr/src/kernels/2.6.9-11.EL-smp-i686/
# grep -i jfs .config
# CONFIG_JFS_FS is not set
# grep -i xfs .config
# CONFIG_XFS_FS is not set
CONFIG_VXFS_FS=m
#
<<

Like Axel Thimm pointed out, xfs is not available at all in the kernel.
Jarle Bjorgeengen
Trusted Contributor

Re: xfs & jfs support in rhel 4.0

What a liar I am, I just showed that xfs indeed is available to configure in.

So re-compile kernel with xfs and jfs support included should do the trick .

Be aware of the error mentioned by Axel though.
Serviceguard for Linux
Honored Contributor

Re: xfs & jfs support in rhel 4.0

Also be aware that RedHat does not support recompiled kernels.