I recently installed the new quota patches for 1.2.11. Everything works great,
except for a couple of things:
1. In /etc/fstab, the quota docs say to add a defaults,usrquota,grpquota to the
file system you wish to enable quotas on, e.g.
/dev/sda1 / ext2 defaults
/dev/sda2 /d0 ext2 defaults,usrquota,grpquota
This works fine, but requires that a quota.user and quota.group file be located
on the root directory of the filesystem with the quotas enabled. The
documentation states that you can redefine where these files are located
with a usrquota=/usr/adm/....... But if you implement this, the quota
utils cannot locate these files if you wish to use the grpquota. For example
if /etc/fstab contains the line:
/dev/sda2 /d0 ext2 defaults,usrquota=/usr/adm/quota.user,grpquota=/usr/adm/quota.group
Then quotacheck bombs out with a message (similar to):
** Cannot open (/usr/adm/quota.user,grpquota=/usr/adm/quota.group)
** file not found.
It appears that it thinks the user quota filename is actually:
(that is, everything AFTER quotausr= )
So, whats the fix??
2. If a user logs on to a system with their home directory linked (NFS) to
another machine that HAS quotas enabled on the filesystem, a quota -v
shows that the user has NO quotas enforced. Yet if the user logs onto
the machine that actually houses the quota-enabled file system, a quota -v
shows the correct information. The rquotad daemon IS running on the
server with the quotas, so what is the problem??
3. The grace period "disappears" from time to time. Every time I add a new user
to the system, I do a edquota -p quser <newuser> and a quotacheck -avug.
Is this wrong?? Does this re-initialize the grace period info?? Help!!