I am running CentOS 6.4 Kernel version 2.6.32-358.23.2.el6.x86_64 #1 SMP and have the following nfs info:
- nfs-utils-lib-1.1.5-6.el6.x86_64
- nfs4-acl-tools-0.3.3-6.el6.x86_64
- nfs-utils-1.2.3-36.el6.x86_64
and am trying to mount an NFS volume with nfs3. I have the following line in my fstab
:
172.16.11.87:/volume1/web /home/nas nfsver=3 rsize=8192,wsize=8192,timeo=14,intr(no_root_squach)
When I run nfsstat
it still shows the client as nfs4
Server rpc stats:
calls badcalls badauth badclnt xdrcall
0 0 0 0 0
Client rpc stats:
calls retrans authrefrsh
1988817 6 1988818
Client nfs v4:
null read write commit open open_conf
0 0% 36943 1% 21606 1% 401 0% 392369 19% 375986 18%
open_noat open_dgrd close setattr fsinfo renew
0 0% 0 0% 387945 19% 22904 1% 3 0% 2914 0%
setclntid confirm lock lockt locku access
1 0% 1 0% 0 0% 0 0% 0 0% 97856 4%
getattr lookup lookup_root remove rename link
613996 30% 29888 1% 1 0% 1248 0% 253 0% 414 0%
symlink create pathconf statfs readlink readdir
26 0% 226 0% 2 0% 3 0% 0 0% 3825 0%
server_caps delegreturn getacl setacl fs_locations rel_lkowner
5 0% 0 0% 0 0% 0 0% 0 0% 0 0%
exchange_id create_ses destroy_ses sequence get_lease_t reclaim_comp
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
layoutget layoutcommit layoutreturn getdevlist getdevinfo ds_write
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
ds_commit
0 0%
You have misspelled nfsvers=3 and no_root_squash.
nfsvers is an option.
It seems that you missed the nsf-type. Changing nfsmount.conf may solve the problem in a system that will never work with nfs4. I have faced the same problem and it was solved like this in your fstab
So that people can get a real answer to the problem, this is how I solved it:
in the
/etc/nfsmount.conf
:That's it, it now shows up as