| Summary: | Quota: size displayed for file is not similar to back end | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Saurabh <saurabh> |
| Component: | quota | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | mainline | CC: | aavati, gluster-bugs |
| 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: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Saurabh
2011-04-18 07:07:12 UTC
[root@centos-qa-client-3 sbin]# getfattr -m . -d -e hex /mnt/drep/d2/f.2 getfattr: Removing leading '/' from absolute path names # file: mnt/drep/d2/f.2 trusted.afr.drep-client-2=0x000000000000000000000000 trusted.afr.drep-client-3=0x000000000000000000000000 trusted.gfid=0x422837d4c6174f6880c050cd8650be21 trusted.glusterfs.quota.032245e2-9380-4deb-8dfa-ed1aebeb7ca4.contri=0x000000000007f000 after calculation 7f00=520192, where as the back-end shows 512000 [root@centos-qa-client-3 sbin]# ls -li /mnt/drep/d2/f.1 4620397 -rw-r--r-- 1 root root 512000 Apr 18 02:53 /mnt/drep/d2/f.1 hence the quota limits gets filled up soon. Finding this bug only in this glusterfs 3.2.0qa14 release. This is due to the new way of using st_blocks to account for quota usage. Expected behaviour. |