Hi,
i done enable quotas in CentOS 7 (xfs) but i got doubt after reading this guide:
https://help.directadmin.com/item.php?id=557
in CentOS 6 (ext4) i using (usrquota,grpquota) in /etc/fstab like this:
also i done same in CentOS 7 (xfs) and i think its fine:
but im not sure after reading this part:
so which way is the best? and is this fine to use pquota for ext4 and xfs?
Thanks
i done enable quotas in CentOS 7 (xfs) but i got doubt after reading this guide:
https://help.directadmin.com/item.php?id=557
As well, we replace the grpquota with pquota (project quotas), which will allow DA to setup directoy quotas, for things like enforcement of per-domain disk quotas.
in CentOS 6 (ext4) i using (usrquota,grpquota) in /etc/fstab like this:
Code:
/home ext4 defaults,usrquota,grpquota
also i done same in CentOS 7 (xfs) and i think its fine:
Code:
# /usr/sbin/repquota /home
*** Report for user quotas on device /dev/mapper/centos-home
Block grace time: 7days; Inode grace time: 7days
Block limits File limits
User used soft hard grace used soft hard grace
----------------------------------------------------------------------
root -- 100 0 0 19 0 0
admin -- 336 0 0 38 0 0
but im not sure after reading this part:
As well, we replace the grpquota with pquota (project quotas), which will allow DA to setup directoy quotas, for things like enforcement of per-domain disk quotas.
so which way is the best? and is this fine to use pquota for ext4 and xfs?
Code:
/home xfs defaults,usrquota,grpquota
/home xfs defaults,usrquota,pquota
/home xfs defaults,uquota,prjquota
Thanks