| Summary: | quota: df displays wrong values of quota if glusterfs mount is on client having 3.3.0.7rhs-1 bits | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
| Component: | glusterd | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> |
| Status: | CLOSED CANTFIX | QA Contact: | Sudhir D <sdharane> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.1 | CC: | mzywusko, vagarwal, vbellur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-28 06:39:39 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Code for deem statfs is not present in the older version of the client |
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: