We have a default quota of 10M, which is the first line in /etc/quotas:
* user 10M 10K
Here is a quota report for a user with no entry in /etc/quotas:
quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier ----- -------- -------- -------- ------- ------- -------- -------- --------------- user 30967 vol0 - 472 10240 113 10240
So now I add this line to /etc/quotas
/h1/s/sj/sjs3j user 20M 20K
And I run
quota resize quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier ----- -------- -------- -------- ------- ------- -------- -------- --------------- user 30967 vol0 - 472 10240 113 10240
The quota for this user has not changed. Only turning quotas off and back on does the trick.
The quota resize command issued no error. I read an earlier post to this list that indicated that this was fixed. Has anyone actually gotten this to work?
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support
The quota for this user has not changed. Only turning quotas off and back on does the trick.
This is bug 5660. Patches have been made for the past several versions which do fix the problem, and I imagine the patch will be made available for 5.0.2 as well. Be sure to let Customer Support know if you're interested. The bug has been fixed in the release that will follow 5.1.
Paul Eastham Network Appliance Engineering
Thats the way it works.Quota resize hads no effect on newly added quotas,except for for some situations pertaining to default quotas. More information on that that is available on page 220 of System Admin Guide for 5.0 .If you do not have the guide find it here.. http://now.netapp.com/knowledge/docs/ontap/sag50.pdf.
Puneet _____________
Stephen C. Losen wrote:
We have a default quota of 10M, which is the first line in /etc/quotas:
user 10M 10K
Here is a quota report for a user with no entry in /etc/quotas:
quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier
user 30967 vol0 - 472 10240 113 10240
So now I add this line to /etc/quotas
/h1/s/sj/sjs3j user 20M 20K
And I run
quota resize quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier
user 30967 vol0 - 472 10240 113 10240
The quota for this user has not changed. Only turning quotas off and back on does the trick.
The quota resize command issued no error. I read an earlier post to this list that indicated that this was fixed. Has anyone actually gotten this to work?
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support
Quota resize *only works* when lines in the /etc/quotas file are *modified*
Add or deleting lines require the quota off ; quota on commands
--tmac
On Wed, 26 Aug 1998, puneet wrote:
Thats the way it works.Quota resize hads no effect on newly added quotas,except for for some situations pertaining to default quotas. More information on that that is available on page 220 of System Admin Guide for 5.0 .If you do not have the guide find it here.. http://now.netapp.com/knowledge/docs/ontap/sag50.pdf.
Puneet _____________
Stephen C. Losen wrote:
We have a default quota of 10M, which is the first line in /etc/quotas:
user 10M 10K
Here is a quota report for a user with no entry in /etc/quotas:
quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier
user 30967 vol0 - 472 10240 113 10240
So now I add this line to /etc/quotas
/h1/s/sj/sjs3j user 20M 20K
And I run
quota resize quota report /h1/s/sj/sjs3j
Type ID Volume Tree Used Limit Used Limit Quota Specifier
user 30967 vol0 - 472 10240 113 10240
The quota for this user has not changed. Only turning quotas off and back on does the trick.
The quota resize command issued no error. I read an earlier post to this list that indicated that this was fixed. Has anyone actually gotten this to work?
Steve Losen scl@virginia.edu phone: 804-924-0640
University of Virginia ITC Unix Support
Quota resize *only works* when lines in the /etc/quotas file are *modified*
Yep -- that's the bug. :-)
Add or deleting lines require the quota off ; quota on commands
When we fix the bug, then you can actually add new lines and have them take effect as long as there was already an existing default quota for the user in question.
Dave