Quota (quota [ -v ] [ username ] on all of our client machines stopped
reporting user's disk quota. The problem was reported to NetApp but
the answer I got back was that they were able to reproduce the
'problem' and that it works as designed. :-(
Here is the background.
At our university we have two toasters. A F520 and a F330 (Data ONTAP
4.3.3) that are part of a complex of machines used for providing
electronic mail for staff and students (nfs). There are about 40,000+
accounts.
The F330 used to contain the spool and the F520 contained two home
directories (quota trees), one for staff and the other for students.
Quota for spool (F330) were none.
Quota for the individual home directories were set. The /etc/quotas file
looked something like this
/home_sta tree 39G
/home_stu tree 20G
#
/home_sta/j/joe user 40M
..
/home_stu/a/stud1 user 5M
/home_stu/z/stud99 user 6M
..
For performance reasons the spool was migrated from the F330 to the
F520 and the /home_stu directory was migrated from the F520 to the
F330.
The F330 has only the one quota tree, /home_stu, where quotas are
still defined as shown above.
The F520 has two quota trees, /spool and /home_sta, where we don't
want any individual quotas for the spool, however, we do need
individual quotas on the /home_sta directories.
The new /etc/quotas file looks like this
/spool tree 25G
/home_sta tree 39G
#
/home_sta/j/joe user@home_sta 45M
/home_sta/x/fred user@home_sta 90M
...
Now, all of the client machines (SunOS, Solaris 2.6) stopped reporting
any user quotas. The quotas ARE still being enforced by the toaster,
however, when a user queries his/her quota they get back just the
headings,
% id
uid=101(dummy) gid=277(employee)
% pwd
/home/sta/x/dummy
% quota -v
Disk quotas for dummy (uid 101):
Filesystem usage quota limit timeleft files quota limit timeleft
%
If, on the other hand, your home directory is on the F330 which
contains only the one quota tree, the quotas do get reported
correctly.
% id
uid=195(dummy1) gid=202(mailuser)
% pwd
/home/stu/t/dummy1
% quota -v
Disk quotas for dummy1 (uid 195):
Filesystem usage quota limit timeleft files quota limit timeleft
/home/stu 72 5120 5120 32 10240 10240
%
Any help would be greatly appreciated and I apologize for the long
and winded description of the problem.
George
-------------------------------------------------------------------------------
George Kahler e-mail: george(a)yorku.ca
UNIX Systems Administrator humans: (416) 736-5257 x.22699
Computing Services, York University machines: (416) 736-5830
Toronto, Ontario, Canada, M3J-1P3