I have checked my /etc/fstab (using xfs for my filesystem) and the quotas are enabled and working.
For the share, centOS7, I set my disk quota to be 5GB. When I mount the share on Windows 7 or MAC 10.9/10.10, the Capacity shows up as 10GB. The disk usage is also being reported incorrectly. There are more than 6MB in that share. If I get rid of the disk quota, the capacity and usage are correct. Can someone please shine some light on this issue please. Thank you.
/etc/fstab
Code: Select all
/dev/sda1 / xfs defaults 1 1
/dev/sdb1 /array1 xfs grpquota,suid,dev,usrquota,exec 0 0
Code: Select all
[global]
workgroup = WORKGROUP
printcap name = /dev/null
load printers = no
unix extensions = no
server string = CentOS7
force directory mode = 0777
force create mode = 0777
encrypt passwords = yes
disable spoolss = yes
max log size = 50
client max protocol = SMB3
nt acl support = no
[centos7]
writeable = yes
read list = administrator,user4
path = /array1/centos7
write list = user10,user2
force group = centos7
valid users = administrator,user4,user10,user2
Code: Select all
[root@centOS7 ~]# repquota -g /array1
*** Report for group quotas on device /dev/sdb1
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
Group used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 4 0 0 4 0 0
users -- 12 0 0 4 0 0
centos7 -- 3486184 0 5242880 4 0 0