Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Lustre 2.8.0
-
None
-
3
-
9223372036854775807
Description
Steps to reproduce are as follows:
1) create files until quota limit has been reached(ex. 3000 files)
# lfs setquota -u test -I 3000 /lustre/
# for i in `seq 1 3000`; do sudo -u test touch /lustre/test/$i; done
# lfs quota -v -u test /lustre
Disk quotas for user test (uid 1001):
Filesystem kbytes quota limit grace files quota limit grace
/lustre 0 0 0 - 3000* 0 3000 -
lustre-MDT0000_UUID
0 - 0 - 3000* - 3000 -
lustre-MDT0001_UUID
0 - 0 - 0 - 0 -
lustre-OST0000_UUID
0 - 0 - - - - -
lustre-OST0001_UUID
0 - 0 - - - - -
2) update quota limit(ex. 4000 files)
# lfs setquota -u test -I 4000 /lustre/
3) create files (over 3000 files)
# for i in `seq 1 3010`; do sudo -u test touch /lustre/test/$i; done touch: cannot touch ‘/lustre/test/3001’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3002’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3003’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3004’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3005’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3006’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3007’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3008’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3009’: Disk quota exceeded touch: cannot touch ‘/lustre/test/3010’: Disk quota exceeded # lfs quota -v -u test /lustre Disk quotas for user test (uid 1001): Filesystem kbytes quota limit grace files quota limit grace /lustre 0 0 0 - 3000 0 4000 - lustre-MDT0000_UUID 0 - 0 - 3000* - 3000 - lustre-MDT0001_UUID 0 - 0 - 0 - 0 - lustre-OST0000_UUID 0 - 0 - - - - - lustre-OST0001_UUID 0 - 0 - - - - - Total allocated inode limit: 3000, total allocated block limit: 0
But, I cannot create more files than the limit set previously.
If I clear and reset quota, quota works correctly.
# lfs setquota -u test -I 0 /lustre/ # lfs setquota -u test -I 4000 /lustre/ # for i in `seq 1 3010`; do sudo -u test touch /lustre/test/$i; done # echo $? 0
Is this a bug or specification?
I cannnot find the description concerned from the lustre manual.