On Mon, Apr 02, 2018 at 03:13:26PM +0300, Denis wrote:
> I'm having trouble with 'Disk Usage Quota' on OpenBSD 6.2 amd64.
> I need to set quota for group1.
>
> Settings are:
>
> # cat /etc/rc.conf
> ...
> check_quotas=YES
> ...
>
> # cat /etc/fstab
> ...
> 1234567890abcdef.g /home ffs
> rw,nodev,nosuid,groupquota=/var/quotas/quota.group1 1 2
> ...
>
> /var/qoutas/quota.group1 is present
>
> # edquota -g group1
> Quotas for group group1:
> /home: KBytes in use: 0, limits (soft = 1000000, hard = 1000050)
> inodes in use: 0, limits (soft = 0, hard = 0 )
>
> # quotaon -a
>
> .. but while checking quota for group1 it shows nothing
>
> # quota -g group1
> Disk quotas for group exchange(gid 1005): none
>
> What was done wrong?
You need to reboot after enabling quotas or run quotacheck -a
-Otto