Hide Forgot
[root@centos-qa-client-2 sbin]# ./gluster volume quota dist-rep2 limit-usage / 2.5MB Please enter a correct value Usage: volume quota <VOLNAME> <enable|disable|limit-usage|list|remove> [path] [value] [root@centos-qa-client-2 sbin]# ./gluster volume quota dist-rep2 limit-usage / 2MB limit set on /
This is due to the way gf_string2bytesize is implemented. It does not take floating point sizes. Not fixing this for 3.2.0
Lets not fix this as gf_string2bytesize is the function called from many places (for example, for 'cache-size' in io-cache). for 2.5MB one can give '2560KB'. We can specify this as an known issue in documentation and tell users to use complete numbers.