Dell 720N Laptop User Manual


 
Quotas and Maximum Number of Files11-7
Because the quota target now has an active quota record, you can enter the
quota
resize
command, including the volume name, to make the quota entry go into
effect. This procedure takes less time than executing the
quota off
command fol-
lowed by the
quota on
command because only the newly active quota is
recalculated.
'LVSOD\LQJ,QIRUPDWLRQ$ERXW4XRWDV
The
quota report
command displays the current consumption of files and space
for each quota target and for each user and group that is under quota restrictions.
For example, if a user quota is specified in the quotas file for a user named jdoe, the
quota report shows how many files and how much disk space have been used by
jdoe. The Quota Specifier column in the quota report shows the same information as
the Quota Target column in the quotas file, with the following exception:
If a user or group is under default quota restrictions,
quota report
displays infor-
mation about the user or group as if the user or group had an entry in the quotas file.
In this case, the Quota Specifier column in the quota report is blank.
With a path argument,
quota report
displays information about all quotas that
apply to the specified file.
&UHDWLQJD8VHU4XRWD
Follow these steps to limit disk space used by a user named jdoe:
1. Decide who should be limited by a disk quota. In this example, the user is the
owner of
/vol/home/user/jdoe. The filer restricts disk usage of files with the same
UID as
/vol/home/user/jdoe.
2. Add the following line to the quotas file:
YROKRPHXVHUMGRH XVHU 0 .
Substitute the values you want for 300M and 20K. You can also use the UID of
jdoe or the name jdoe if you have set up a
passwd file on the filer or the NIS data-
base. If you want the restrictions to apply to a volume other than the root volume,
for example, the home volume, enter the following line:
YROKRPHXVHUMGRH XVHU#YROKRPH 0 .
Substitute the values you want for 300M and 20K.
3. Use the
quota on
command, including the volume name. For example, if quo-
tas are already on for the home volume, enter the following commands:
TXRWDRIIKRPH
TXRWDRQKRPH