[Gluster-users] Glusterfs 3.4.1 not able to mount the exports containing soft links

Rahul51 S rahul51.s at tcs.com
Mon Oct 14 09:33:10 UTC 2013


Hi,

I am running the glusterFS 3.4.1 NFS server. I have created a distributed 
volume on  server 1 , and I am trying to mount the soft link contained in 
the volume as NFS from server 2 . but it is failing with the error  "
mount.nfs: an incorrect mount option was specified"

Below is the volume in the server 1  that I am trying to export 

server 1 sh# gluster volume info all
Volume Name: _testvol
Type: Distribute
Volume ID: f36d4ec4-8462-44aa-a0e6-e86c8bd3c914
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: 10.137.108.163:/mnt/gluster
Brick2: 10.137.108.163:/root/test_fs


Below is the content of the of the exported volume on the server 1 

server 1 sh# ls -l
total 4
lrwxrwxrwx.  1 root root    6 Oct 14 13:54 fakeroot -> rootfs
drwxr-xr-x. 20 root root 4096 Oct 10 20:07 rootfs

 
>From server 2 , I am trying to mount the soft link fakeroot, and it is 
failing

server 2 sh# mount -o mountproto=tcp -t nfs 
10.137.108.163:/_testvol/fakeroot /root/nfs_test
mount.nfs: an incorrect mount option was specified


When I mount the directory contained in the volume from server 2 , it is 
successfully getting mounted

server 2 sh#  mount -o mountproto=tcp -t nfs 
10.137.108.163:/_testvol/rootfs /root/nfs_test/
server 2 sh#

Could you please let me know if it is an expected behaviour that glusterFS 
NFS exports cannot be mounted if the mount path is a soft link 


Regards
Rahul Shrivastava
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131014/7d1ec0f2/attachment.html>


More information about the Gluster-users mailing list