I am trying to mount a NFS with Centos 7 and the location of the files is on a HPunix 10.2.
$ rpcinfo -p owl|grep nfs
100003 2 udp 2049 nfs
150001 1 udp 754 pcnfsd
150001 2 udp 754 pcnfsd
150001 1 tcp 757 pcnfsd
150001 2 tcp 757 pcnfsd
This was the HPUNIX nfs information, and the Centos 7 is the following:
$ rpcinfo -p |grep nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049 nfs_acl
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 3 udp 2049 nfs_acl
$ sudo mount -t nfs -v -osoft,rw,vers=2 hpunixl:/var/serverdir mydir/
mount.nfs: timeout set for Fri Apr 21 10:26:32 2017
mount.nfs: trying text-based options 'soft,vers=2,addr=10.1.40.21'
mount.nfs: prog 100003, trying vers=2, prot=6
mount.nfs: portmap query retrying: RPC: Program not registered
mount.nfs: prog 100003, trying vers=2, prot=17
mount.nfs: trying 10.1.40.21 prog 100003 vers 2 prot UDP port 2049
mount.nfs: prog 100005, trying vers=1, prot=17
mount.nfs: trying 10.1.40.21 prog 100005 vers 1 prot UDP port 728
mount.nfs: mount(2): Protocol not supported
mount.nfs: Protocol not supported
It seems almost like Centos 7 does not support NFS version 2 but the man pages implies is does. I am lost on this I have tried going on line and checking but it seems Centos 6 works but 7 does not.
NFS version 2 will not mount with Centos 7
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: NFS version 2 will not mount with Centos 7
Source :Storage GuideRed Hat Enterprise Linux 7 supports NFSv3, NFSv4.0, and NVSv4.1 clients. NFS clients
attempt to mount using NFSv4.0 by default, and fall back to NFSv3 if the mount
operation is not successful. NOTE NFS version 2 (NFSv2) is no longer supported by Red Hat
Re: NFS version 2 will not mount with Centos 7
Thank you,
Is there an recommended Centos version I can down load to get support for NFS version 2?
Or is there something similar I can use as in some type of permanent ftp mount?
Regards,
Is there an recommended Centos version I can down load to get support for NFS version 2?
Or is there something similar I can use as in some type of permanent ftp mount?
Regards,
Re: NFS version 2 will not mount with Centos 7
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke