Description of problem: This issue is about not having the information about the symlink mount in the df -h. Version-Release number of selected component (if applicable): glusterfs-3.6.0.33-1.el6rhs.x86_64 How reproducible: always Steps to Reproduce: 1. create a volume of 6x2 type, start it 2. mount the volume over nfs on a client 3. create directory inside the mount-point 4. create a symlink for the directory 5. mount using the symlink Actual results: df -h does not show the mount done for symlink [root@rhsauto012 nfs-symdir]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel_rhsauto012-root 27G 4.3G 23G 17% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 1.9G 175M 1.7G 10% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/vda1 497M 105M 393M 21% /boot rhsqe-repo.lab.eng.blr.redhat.com:/opt 1.9T 298G 1.5T 17% /opt /dev/mapper/gluster_vg-RHS_pool1_tdata 179G 2.4G 176G 2% /xfs-mount 10.70.37.74:/vol0 2.7T 1.7G 2.7T 1% /mnt/nfs-test [root@rhsauto012 nfs-symdir]# [root@rhsauto012 nfs-symdir]# mount | grep dir1 10.70.37.74:/vol0/dir1 on /mnt/nfs-symdir type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.70.37.74,mountvers=3,mountport=38465,mountproto=tcp,local_lock=none,addr=10.70.37.74) Expected results: df -h should display the mount info Additional info:
This is know issue in nfs clients.If there are multiple nfs mount for same export directory , it will start filtering duplicates by devnum. See for more information: https://bugzilla.redhat.com/show_bug.cgi?id=920806
This really is not something that can be fixed in gluster-nfs. If this is a problem, a bug should be filed against the RHEL NFS-client, or the "coreutils" package that contains "du". Bug 1152615 is a similar bug for RHEL6 as Bug 920806 that Jiffin pointed out for Fedora.