Control Web Panel
WebPanel => Information => Topic started by: kikloo on October 10, 2019, 06:22:42 AM
-
Hi,
I had tried CWP some time back and CWP was not able to enable quotas on the server, and even the pro support was unable to achieve the same. Where as cpanel does it out of the box, I am back here now to check if its still working or not ?
Thanks.
-
quota need to enable manually http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
-
Oh! It means that its still not auto-working like they do in cPanel.
Thanks for the update.
-
Oh! It means that its still not auto-working like they do in cPanel.
Thanks for the update.
Most of users do not use quotas and this why CWP do not install it by default.
-
Quota is a necessity, for Resellers and/or folks running a server on someone else's behalf. It is also useful for individuals, to keep track on how much disc is being used. It's not really an optional item, for a server control panel.
EVERY server that I have running, has quota enable in some form, excluding some CWP ones but not all.
I recently tried to enable it on a VPS, as per the wiki instructions but got an error complaining that the syntax mixed old and new formats. I haven't had the time to investigate further.
-
if you have ext partition then it will autowork but for xfs you will need to manually install it
-
CentOS 7 standard quota setup, followed by the erroneous wiki suggested changes:
/dev/mapper/system-home /home ext4 rw,seclabel,relatime,quota,usrquota,grpquota,data=ordered 0 0
# /dev/mapper/system-home /home ext4 usrjquota=quota.user,jqfmt=vfsv0 0 0
Result of daily cron
repquota: Cannot open quotafile /home/aquota.user: No such file or directory
repquota: Not all specified mountpoints are using quota.
Using suggested wiki changes
EXT4-fs (dm-2): old and new quota format mixing
Xfs is too inflexible (cannot shrink) and so ext4 is always used. Nobody should really be using ext3 these days on production systems. Ext2 is still valid for /tmp.
-
For the benefit of others, the following syntax appears to be working fine.
/dev/mapper/system-home /home ext4 usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1 0 0