Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): server, glusterfs-3.4.0.44rhs-1 client, glusterfs-3.3.0.7rhs-1 How reproducible: always, if the client bits are 3.3.0.7rhs-1 Steps to Reproduce: 1. create a volume, start it 2. quota enable, set some limit on the root of the volume. 3. on client with 3.3.0.7rhs-1, mount the volume via glusterfs. 4. df -h on client Actual results: step2, result, [root@nfs1 ~]# gluster volume quota dist-rep12 list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- /alrt 2.0GB 80% 2.6GB 0Bytes / 300.0GB 80% 255.9GB 44.1GB step4 result, [root@rhsauto011 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_rhsauto011-lv_root 43G 1.5G 40G 4% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/vda1 485M 36M 424M 8% /boot 10.70.37.186:dist-rep12 1.8T 1.5T 265G 86% /mnt/glusterfs-test 10.70.37.58:/dist-rep12 300G 256G 45G 86% /mnt/nfs-test Issue:- as can be see "/mnt/glusterfs-test" displaying 1.8T and 1.5T as Size and Used field respectively. Whereas the nfs mount behaves properly. Expected results: quota stats should be same for nfs and glusterfs mount. Additional info:
Code for deem statfs is not present in the older version of the client