[Bugs] [Bug 1323486] New: quota: check inode limits only when new file/dir is created and not with write FOP
bugzilla at redhat.com
bugzilla at redhat.com
Sun Apr 3 14:43:26 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1323486
Bug ID: 1323486
Summary: quota: check inode limits only when new file/dir is
created and not with write FOP
Product: GlusterFS
Version: mainline
Component: quota
Assignee: bugs at gluster.org
Reporter: vmallika at redhat.com
CC: bugs at gluster.org
Below test-case fails with disk quota exceed even though there is space
available
1) create volume
2) # gluster volume quota vol1 limit-objects /test_dir 10
3) exceed inode limit. Create 9 files in loop ( test_dir alreday accounted as 1
inode used, we should be able to create another 9 files)
for i in {1..9}; do
touch /mnt/test_dir/f$i
done
Now if inode limit is full, but we have not set any usage limit. so any write
operation on the existing files should work, but fails with disk quota
exceeded.
dd if=/dev/zero of=/mnt/test_dir/f1 bs=256k count=4 oflag=sync
write failed: Disk quota exceeded
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list