[ClusterLabs] Can't get nfs4 to work.

Stephano-Shachter, Dylan dstathis at seas.harvard.edu
Wed Jun 1 18:25:58 UTC 2016


Hello all,

I have just finished setting up my HA nfs cluster and I am having a small
problem. I would like to have nfs4 working but whenever I try to mount I
get the following message,

mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Wed Jun  1 10:08:45 2016
mount.nfs: trying text-based options
'vers=4,addr=10.243.16.116,clientaddr=10.243.18.22'
mount.nfs: mount(2): Protocol not supported
mount.nfs: trying text-based options 'addr=10.243.16.116'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.243.16.116 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 10.243.16.116 prog 100005 vers 3 prot UDP port 20048

I can not figure out why version 4 is not supported. My nfsserver resource
and export resource are

Resource: ch_nfs (class=ocf provider=heartbeat type=nfsserver)
  Attributes: nfs_shared_infodir=/data/nfs nfs_ip=10.243.16.116
  Operations: start interval=0s timeout=40 (ch_nfs-start-interval-0s)
              stop interval=0s timeout=20s (ch_nfs-stop-interval-0s)
              monitor interval=0s (ch_nfs-monitor-interval-30s)

Resource: ch_export_testdata_18 (class=ocf provider=heartbeat type=exportfs)
   Attributes: clientspec=10.243.18.0/255.255.255.0
options=rw,no_root_squash directory=/data/testdata fsid=1
   Operations: start interval=0s timeout=40
(ch_export_testdata_18-start-interval-0s)
               stop interval=0s timeout=120
(ch_export_testdata_18-stop-interval-0s)
               monitor interval=10 timeout=20
(ch_export_testdata_18-monitor-interval-10)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160601/e2cd4980/attachment-0003.html>


More information about the Users mailing list