Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 1.8.6
-
None
-
Lustre 1.8.6 clients
-
3
-
4787
Description
lfs quota give actual used rather than what has been allocated. But what is allocated what really effects the user. Here is an example
sh-3.2# lfs quota -u treddy /nobackupp30
Disk quotas for user treddy (uid 10787):
Filesystem kbytes quota limit grace files quota limit grace
/nobackupp30 208932428 210000000 420000000 - 14641 75000 100000 -
This shows that he is under his soft quota. But if we look at what he is allocated
pbspl1 ~ # lfs quota v -u treddy /nobackupp30 | awk '$2 == ""
END
{ print sumu, suma, "\n" }'
> 208932428 220463104
We see that his allocation (220,463,104) is over the softlimit (210,000,000). Therefore his grace time has been accumulating and in fact it is expired.
I have a modified version of lfs tool that does a better job of providing the quota info.
bash-3.2# /usr/local/bin/lfs.nas quota -v -u treddy /nobackupp30
Disk quotas for user treddy (uid 10787):
Filesystem kbytes quota limit grace files quota limit grace
/nobackupp30 208932428* 210000000 420000000 None 14641 75000 100000 -
nbp30-MDT0000_UUID
6844 - 131072 - 14641 - 20480 -
nbp30-OST0000_UUID
2352640 - 2490368 - - - - -
nbp30-OST0001_UUID
1963180 - 2097152 - - - - -
...
nbp30-OST0076_UUID
2860332 - 3014656 - - - - -
nbp30-OST0077_UUID
1344680 - 1441792 - - - - -
------- -------
Total 208932428 220463104
We see here that he has no grace time left and the softlimit has turn into a hardlimit. In order to reset his grace time he must delete enough data to drop his allocation below his softlimit. In this case it would be ~10,217 MB.
So it would be better to show total allocated in the lfs quota output. Example in this case should be
Disk quotas for user treddy (uid 10787):
Filesystem kbytes quota limit grace files quota limit grace
/nobackupp30 220463104* 210000000 420000000 None - 14641 75000 100000 -
Attachments
Issue Links
- Trackbacks
-
Lustre 1.8.x known issues tracker While testing against Lustre b18 branch, we would hit known bugs which were already reported in Lustre Bugzilla https://bugzilla.lustre.org/. In order to move away from relying on Bugzilla, we would create a JIRA
-
Changelog 1.8 Changes from version 1.8.7wc1 to version 1.8.8wc1 Server support for kernels: 2.6.18308.4.1.el5 (RHEL5) Client support for unpatched kernels: 2.6.18308.4.1.el5 (RHEL5) 2.6.32220.13.1.el6 (RHEL6) Recommended e2fsprogs version: 1.41.90....
-
Changelog 2.1 Changes from version 2.1.1 to version 2.1.2 Server support for kernels: 2.6.18308.4.1.el5 (RHEL5) 2.6.32220.17.1.el6 (RHEL6) Client support for unpatched kernels: 2.6.18308.4.1.el5 (RHEL5) 2.6.32220.17.1....
-
Changelog 2.2 version 2.2.0 Support for networks: o2iblnd OFED 1.5.4 Server support for kernels: 2.6.32220.4.2.el6 (RHEL6) Client support for unpatched kernels: 2.6.18274.18.1.el5 (RHEL5) 2.6.32220.4.2.el6 (RHEL6) 2.6.32.360....