Red Hat Bugzilla – Bug 22215
mount 2.10m doesn't support NFS v3 from a 2.2.18 server
Last modified: 2005-10-31 17:00:50 EST
Hi, I have a Linux 2.2.18 machine [Redhat 6.2] from which I export /home to
another machine which has Redhat 7.0 with errata installed. The client
machine also has 2.2.18 installed. In both machines, NFS v3 client/server
support were enabled via make menuconfig. Both machines have the latest
nfs-utils from http://nfs.sourceforge.net/
On the RH 6.2 machine 192.168.2.3 which is configured as a NFS server, I
modify /etc/exports to the following
On the RH 7.0 machine [192.168.2.2], I mount the export via the following
mount -t nfs -orsize=32768,wsize=32768,nfsvers=3 192.168.2.3:/home /mnt/home
This results in the following message
NFSv3 not supported!
mount: wrong fs type, bad option, bad superblock on 126.96.36.199:/home,
or too many mounted file systems
I tried using mount-2.10o from Rawhide but it gave the same result
However, If I reverse the roles of the machines, then mount-2.10f on the RH
6.2 box seems to be able to mount a filesystem from the RH 7.0 box as a NFS
According to a message on email@example.com, this is what Trond
It is 'mount' itself that saying so because it believes your kernel is
too old to support NFSv3. Remember official support for NFSv3 goes in
as of kernel 2.2.18 only.
Try editing the line
else if (kernel_version < MAKE_VERSION(2,2,18))
nfs_mount_version = 3;
else if (kernel_version < MAKE_VERSION(2,2,17))
nfs_mount_version = 3;
(or whatever) depending on which NFSv3-patched kernel you're using.
This patch also seems to be available at this URL
Request a release of a mount RPM which is capable of mounting NFS v3 mounts
from Linux servers
The "fix" you suggest isn't necessary, however, updating mount to 2.0r is. 2.0f
is way too old to know about 2.2.x kernels that support NFSv3.
2.0r is in the internal tree for the next release already.
(meaning it will be in Rawhide in a couple of days)
Bero, Any idea when util-linux 2.10r will show up in rawhide. It's been close to
two weeks after your message and I see only util-linux 2.10p in rawhide
Argh, the package was rejected because it doesn't build on ia64. :/
You can get it from http://www.linux-easy.com/rh-updates/ while I'm fixing the