Helmut Schneider
2008-03-06 18:50:02 UTC
The following reply was made to PR kern/114766; it has been noted by GNATS.
From: "Helmut Schneider" <***@gmx.de>
To: <bug-***@FreeBSD.org>
Cc:
Subject: Re: kern/114766: [quotas] Disk quota does not work as expected
Date: Thu, 6 Mar 2008 19:42:58 +0100
/dev/ad0s2a /home ufs rw,userquota,groupquota 2 2
quota_enable="YES"
check_quotas="YES"
I might do something fundamentally wrong but I can reproduce this on 2
machines (both 6.3-RELEASE). On both dovecot is active (Maildir is
/home/$USER/Maildir). Not sure if this is related.
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
/home: web6 fixed (user): inodes 2005 -> 2006 blocks 49416 -> 49432
/home: web6 fixed (group): inodes 2005 -> 2006 blocks 49416 -> 49432
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
/home: web24 fixed (user): inodes 2587 -> 2588 blocks 49864 -> 49876
/home: web24 fixed (group): inodes 2587 -> 2588 blocks 49864 -> 49876
[***@abc ~]#
From: "Helmut Schneider" <***@gmx.de>
To: <bug-***@FreeBSD.org>
Cc:
Subject: Re: kern/114766: [quotas] Disk quota does not work as expected
Date: Thu, 6 Mar 2008 19:42:58 +0100
I am unable to duplicate this problem.
I think this is an error on the submitters part.
quotacheck /home
quotaon /home
chown ....
repquota ...
du ...
The key step is running quotacheck before actually turning
That would explain all the fix ups quotacheck did later as
seen in the submitters follow up message.
Enabling quotas for /home in /etc/fstab makes sure that
quotacheck is run before enabling quotas for the file system at
boot time.
Quota is enabled in fstab and rc.conf:I think this is an error on the submitters part.
quotacheck /home
quotaon /home
chown ....
repquota ...
du ...
The key step is running quotacheck before actually turning
That would explain all the fix ups quotacheck did later as
seen in the submitters follow up message.
Enabling quotas for /home in /etc/fstab makes sure that
quotacheck is run before enabling quotas for the file system at
boot time.
/dev/ad0s2a /home ufs rw,userquota,groupquota 2 2
quota_enable="YES"
check_quotas="YES"
I might do something fundamentally wrong but I can reproduce this on 2
machines (both 6.3-RELEASE). On both dovecot is active (Maildir is
/home/$USER/Maildir). Not sure if this is related.
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
/home: web6 fixed (user): inodes 2005 -> 2006 blocks 49416 -> 49432
/home: web6 fixed (group): inodes 2005 -> 2006 blocks 49416 -> 49432
[***@abc ~]# quotacheck -vvv -a
*** Checking user and group quotas for /dev/ad0s2a (/home)
/home: web24 fixed (user): inodes 2587 -> 2588 blocks 49864 -> 49876
/home: web24 fixed (group): inodes 2587 -> 2588 blocks 49864 -> 49876
[***@abc ~]#