Control Web Panel

WebPanel => Information => Topic started by: kikloo on October 10, 2019, 06:22:42 AM

Title: Are quotas working out of the box now ?
Post 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.
Title: Re: Are quotas working out of the box now ?
Post by: Sandeep on October 11, 2019, 10:54:48 AM
quota need to enable manually http://forum.centos-webpanel.com/centos-configuration/how-to-setup-user-quotas/
Title: Re: Are quotas working out of the box now ?
Post by: kikloo on September 18, 2020, 04:17:13 PM
Oh! It means that its still not auto-working like they do in cPanel.

Thanks for the update.
Title: Re: Are quotas working out of the box now ?
Post by: Igor S. on September 21, 2020, 10:50:18 AM
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.
Title: Re: Are quotas working out of the box now ?
Post by: cinique on September 21, 2020, 01:28:20 PM
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.
Title: Re: Are quotas working out of the box now ?
Post by: studio4host on September 22, 2020, 08:37:22 AM
if you have ext partition then it will autowork but for xfs you will need to manually install it
Title: Re: Are quotas working out of the box now ?
Post by: cinique on September 22, 2020, 08:58:34 AM
CentOS 7 standard quota setup, followed by the erroneous wiki suggested changes:
Quote
/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
Quote
repquota: Cannot open quotafile /home/aquota.user: No such file or directory
repquota: Not all specified mountpoints are using quota.
Using suggested wiki changes
Quote
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.

Title: Re: Are quotas working out of the box now ?
Post by: cinique on September 23, 2020, 12:49:41 PM
For the benefit of others, the following syntax appears to be working fine.
Code: [Select]
/dev/mapper/system-home /home ext4 usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv1 0 0