Kmod-jfs On CentOS 6
I am a bit of a noob with Linux and CentOS but would like to be able to access an old external USB disk formatted JFS by OS/2. I have seen there is a kmod-jfs package on elrepo that ought to work with CentOS 6 but am unsure how to install kmods without hosing my existing system…
If anyone would like to be so kind to give me a short how-to, I would be very grateful.
Thank you.
13 thoughts on - Kmod-jfs On CentOS 6
yum -y install http://mirrors.coreix.net/elrepo/elrepo/el6/x86_64/RPMS/kmod-jfs-0.0-1.el6.elrepo.x86_64.rpm
(that’s for 64bit, adjust the url accordingly for 32bit)
it won’t hose your system
Thank you, installed it and it worked fine. Now I am looking for the same for CentOS 7… It did not look like you have that in your repository?
You may want to file an RFE (request for enhancement) at http://elrepo.org/bugs .
Another option is to use the CentOSPlus kernel (kernel-plus). This kernel has the jfs kernel module enabled. It is available from CentOS
(for example, http://mirrors.coreix.net/CentOS/7/CentOSplus/ ).
Akemi
A couple of days ago I submitted a request to ElRepo and kmod-jfs is now available for CentOS 7 as well.
H wrote:
I don’t know about this – at home, I’m running C 6. Would this let me talk to my Barnes&(ig)Noble Nook?
mark
I doubt that. I was looking to transfer files from old harddisks formatted using JFS under OS/2.
Did not have a need to mount a JFS disk on my CentOS 7 system until today and it does not want to be mounted, instead complaining “unknown filesystem type ‘jfs'”. I do have kmod-jfs installed.
The commandline I use is:
mount -t “jfs” -o “uhelper=udisks2,nodev,nosuid” “/dev/sdb1” /mnt/share
I am doing this as root and /mnt/share has been created for the root user.
What am I doing wrong? Does anyone have JFS volumes mounted under CentOS 7?
The kmod-jfs package needs to be rebuilt against the EL7.4 kernel.
We will update the bug report ( http://elrepo.org/bugs/view.php?id=728 )
when the updated version is ready.
Akemi
Where does one see which kernel version the release is intended for? I should add that I installed it from elrepo earlier today on a current computer, not some time ago… No error messages.
Try the following command on a computer you had kmod-jfs installed:
$ ls -l `find /lib/modules -name jfs.ko`
It will show where the module was installed (in the extra/ directory) and may show symbolic links to other kernel versions (if any) that are compatible.
In the case of the kmod-jfs package, there was a kABI breakage when going from el7.3 to el7.4. As a result, what was built against el7.3 was broken in el7.4. It has now been built against the el7.4 kernel. This one is not backward compatible with earlier (< 7.4) kernels. Akemi
I tried the above and this is the output:
lrwxrwxrwx. 1 root root 51 Oct 26 17:56 /lib/modules/3.10.0-514.21.2.el7.x86_64/weak-updates/jfs/jfs.ko -> /lib/modules/3.10.0-514.el7.x86_64/extra/jfs/jfs.ko lrwxrwxrwx. 1 root root 51 Oct 26 17:56 /lib/modules/3.10.0-514.26.1.el7.x86_64/weak-updates/jfs/jfs.ko -> /lib/modules/3.10.0-514.el7.x86_64/extra/jfs/jfs.ko lrwxrwxrwx. 1 root root 51 Oct 26 17:56 /lib/modules/3.10.0-514.26.2.el7.x86_64/weak-updates/jfs/jfs.ko -> /lib/modules/3.10.0-514.el7.x86_64/extra/jfs/jfs.ko
-rw-r–r–. 1 root root 302480 Apr 16 2017 /lib/modules/3.10.0-514.el7.x86_64/extra/jfs/jfs.ko
I also ran yum update again but it did not pick up kmod-jfs although it was just updated. How long time does it typically take for an updated package to become available?
The output shows that the version of the installed kmod-jfs is for kernel-3.10.0-514.el7.x86_64 and is compatible with all -514 kernels
(el7.3).
I also ran yum update again but it did not pick up kmod-jfs although it was
It is syncing to mirrors. It may show up any time between now and several hours later.
Akemi
Thank you, works great!