Hi All,

I got it. Its due to lack of hostnames in /etc/hosts.  Now it is working.  :)

I am facing another problem.  I have used replicated volumes in the two node 
gluster.  I have used these  replicated volume in openstack.
I have created file system on one volume.  But how to verify that the same 
content in one node is replicated on the gluster disk of another node ?


Thanks
Kumar

From: Gnan Kumar, Yalla
Sent: Wednesday, May 28, 2014 2:27 PM
To: [email protected]
Subject: nfs

Hi All,

I have a two node gluster storage.  The gluster version is 3.2.5.  But while 
mounting from a remote server as nfs volume, it is failing.

--------------
root@compute:~# showmount -e primary
Export list for primary:
/rpl *
/str *
/dst *

root@compute:~# mount -vvv -o mountproto=tcp -t nfs  primary:/str  
/mnt/glusterfs
mount: fstab path: "/etc/fstab"
mount: mtab path:  "/etc/mtab"
mount: lock path:  "/etc/mtab~"
mount: temp path:  "/etc/mtab.tmp"
mount: UID:        0
mount: eUID:       0
mount: spec:  "primary:/str"
mount: node:  "/mnt/glusterfs"
mount: types: "nfs"
mount: opts:  "mountproto=tcp"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "primary:/str"
mount: external mount: argv[2] = "/mnt/glusterfs"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,mountproto=tcp"
mount.nfs: timeout set for Wed May 28 06:13:38 2014
mount.nfs: trying text-based options 
'mountproto=tcp,addr=10.211.203.66,mountaddr=10.211.203.66'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 10.211.203.66 prog 100003 vers 3 prot TCP port 38467
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 10.211.203.66 prog 100005 vers 3 prot TCP port 38465
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting primary:/str


What is the reason ?

Thanks
Kumar

________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy.
______________________________________________________________________________________

www.accenture.com
_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to