[Gluster-users] gluster 5, Centos 7.6 and nfs

Jiffin Thottan jthottan at redhat.com
Fri Jan 25 04:07:43 UTC 2019


There were two nfs-solution w.r.t gluster, one is build nfs server aka gluster nfs, Another one is nfs-ganesha.
The gNFS got deprecated in favour of nfs-ganesha. Are u trying to user nfs-ganesha here?

--

Jiffin


----- Original Message -----
From: "Thing" <thing.thing at gmail.com>
To: "Gluster Users" <gluster-users at gluster.org>
Sent: Friday, January 25, 2019 6:41:58 AM
Subject: [Gluster-users] gluster 5, Centos 7.6 and nfs

Hi, 

I am trying to get the above combo working but I cant get nfs from a RHEL7.6 client to work. I keep getting, 

"[root at vuwunicodsktop2 ~]# showmount -e 10.180.48.186 
clnt_create: RPC: Program not registered 
[root at vuwunicodsktop2 ~]#" 

nmap and verbose mounting shows, 

======= 
[root at vuwunicodsktop2 ~]# nmap centos76-001 

Starting Nmap 6.40 ( http://nmap.org ) at 2019-01-25 14:03 NZDT 
Nmap scan report for centos76-001 (10.180.48.186) 
Host is up (0.00014s latency). 
Not shown: 986 filtered ports 
PORT STATE SERVICE 
22/tcp open ssh 
111/tcp open rpcbind 
139/tcp closed netbios-ssn 
445/tcp closed microsoft-ds 
2049/tcp closed nfs 
49152/tcp closed unknown 
49153/tcp closed unknown 
49154/tcp closed unknown 
49155/tcp closed unknown 
49156/tcp closed unknown 
49157/tcp closed unknown 
49158/tcp closed unknown 
49159/tcp closed unknown 
49160/tcp closed unknown 
MAC Address: 00:50:56:8D:60:25 (VMware) 

Nmap done: 1 IP address (1 host up) scanned in 4.34 seconds 
[root at vuwunicodsktop2 ~]# mount -vv -t nfs centos76-001:/gv0 /gv0 
mount.nfs: timeout set for Fri Jan 25 14:05:43 2019 
mount.nfs: trying text-based options 'vers=4.1,addr=10.180.48.186,clientaddr=10.180.48.181' 
mount.nfs: mount(2): Connection refused 
mount.nfs: trying text-based options 'addr=10.180.48.186' 
mount.nfs: prog 100003, trying vers=3, prot=6 
mount.nfs: trying 10.180.48.186 prog 100003 vers 3 prot TCP port 2049 
mount.nfs: portmap query failed: RPC: Remote system error - Connection refused 
mount.nfs: trying text-based options 'vers=4.1,addr=10.180.48.186,clientaddr=10.180.48.181' 
mount.nfs: mount(2): Connection refused 
mount.nfs: trying text-based options 'addr=10.180.48.186' 
mount.nfs: prog 100003, trying vers=3, prot=6 
mount.nfs: trying 10.180.48.186 prog 100003 vers 3 prot TCP port 2049 
mount.nfs: portmap query failed: RPC: Remote system error - Connection refused 
mount.nfs: trying text-based options 'vers=4.1,addr=10.180.48.186,clientaddr=10.180.48.181' 
mount.nfs: mount(2): Connection refused 
mount.nfs: trying text-based options 'addr=10.180.48.186' 
mount.nfs: prog 100003, trying vers=3, prot=6 
mount.nfs: trying 10.180.48.186 prog 100003 vers 3 prot TCP port 2049 
mount.nfs: portmap query failed: RPC: Remote system error - Connection refused 
mount.nfs: trying text-based options 'vers=4.1,addr=10.180.48.186,clientaddr=10.180.48.181' 
mount.nfs: mount(2): Connection refused 
mount.nfs: trying text-based options 'addr=10.180.48.186' 
mount.nfs: prog 100003, trying vers=3, prot=6 
mount.nfs: trying 10.180.48.186 prog 100003 vers 3 prot TCP port 2049 
mount.nfs: portmap query failed: RPC: Remote system error - Connection refused 
^C 
======== 

When I try the glusterfs works fine so I appear to be missing something. 

Anyone got a current URL howto for the above combo please? 

rpcbind is running. 






_______________________________________________
Gluster-users mailing list
Gluster-users at gluster.org
https://lists.gluster.org/mailman/listinfo/gluster-users


More information about the Gluster-users mailing list