Description of problem: volume name used to mount a volume while doing a auxiliary mount. Version-Release number of selected component (if applicable): glusterfs-server-3.4.0.20rhsquota1-1.el6.x86_64 glusterfs-fuse-3.4.0.20rhsquota1-1.el6.x86_64 glusterfs-3.4.0.20rhsquota1-1.el6.x86_64 How reproducible: always Steps to Reproduce: 1. create a 6x2 volume, start it 2. enable quota 3. Actual results: the auxiliary mount created shows that the mount includes /tmp/<volume-name> localhost:dist-rep2 1.1T 266M 1.1T 1% /tmp/dist-rep2 Expected results: we should get away with this kind of mount point as the name should be some arbitrary name Additional info:
As I know that the quota related mount is done if one issues a quota list command, as per the fix the mount should be in /var/run/gluster. Actaully this not the case on "glusterfs-3.4.0.36rhs", can be seen in the logs mentioned below. the mount still can be under /tmp. [root@nfs2 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_nfs2-lv_root 50G 1.8G 45G 4% / tmpfs 4.0G 0 4.0G 0% /dev/shm /dev/vda1 485M 32M 428M 7% /boot /dev/mapper/vg_nfs2-lv1 425G 19G 407G 5% /rhs/bricks [root@nfs2 ~]# ls /var/run/gluster [root@nfs2 ~]# gluster volume quota quota-dist-rep list /1 Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- /1 1.0GB 80% 1.0GB 0Bytes [root@nfs2 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_nfs2-lv_root 50G 1.8G 45G 4% / tmpfs 4.0G 0 4.0G 0% /dev/shm /dev/vda1 485M 32M 428M 7% /boot /dev/mapper/vg_nfs2-lv1 425G 19G 407G 5% /rhs/bricks localhost:quota-dist-rep 2.5T 98G 2.4T 4% /tmp/quota-dist-rep [root@nfs2 ~]# glusterfs -V glusterfs 3.4.0.36rhs built on Oct 22 2013 10:56:17 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/> GlusterFS comes with ABSOLUTELY NO WARRANTY. It is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any later version (LGPLv3 or later), or the GNU General Public License, version 2 (GPLv2), in all cases as published by the Free Software Foundation. [root@nfs2 ~]# ls /var/run/gluster quota-dist-rep.pid [root@nfs2 ~]#
mount is seen different path, i.e. [root@nfs1 ~]# df -h /var/run/gluster/dist-rep12 Filesystem Size Used Avail Use% Mounted on localhost:dist-rep12 2.5T 451G 2.1T 18% /var/run/gluster/dist-rep12 and even after setting the quota-deem-statfs to on, [root@nfs1 ~]# df -h /var/run/gluster/dist-rep12 Filesystem Size Used Avail Use% Mounted on localhost:dist-rep12 100G 8.0G 93G 8% /var/run/gluster/dist-rep12 verified on glusterfs-3.4.0.38rhs-1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-1769.html