Dell 740N Laptop User Manual


 
11-6 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
5HVL]LQJ4XRWDV
The
quota resize
command updates active quotas without recalculating disk
usage, and is faster than
quota off
followed by
quota on
. An active quota is
one that appears in the output of the
quota report
command, discussed in Dis-
playing Information about Quotas.
You use the
quota resize
command after changing limits for a group or user. For
example, jdoe has a disk quota of 500 MB, as shown in the following example.
#Quota Target type disk files
/vol/home/user/jdoe user 500M 10K
* user 10M 10K
Use the
quota resize
command to update the quota if jdoes disk quota were
increased, as shown in the following example:
#Quota Target type disk files
/vol/home/user/jdoe user 600M 10K
* user 10M 10K
+RZ4XRWD5HVL]H$IIHFWV1HZO\$GGHG4XRWD7DUJHWV
The
quota resize
command usually ignores newly added quota targets. For each
entry that it skips, the
quota resize
command prints the following message:
quota resize: new entry on line
n
in /etc/quotas
where
n
is a line number.
The
quota resize
command does not ignore newly added quota targets in the
following situation:
If a default quota applies to the creator of a file, an active quota record is created for
the owner of the file. If a newly added quota target is the user or group that has an
active quota record, the
quota resize
command does not ignore the newly
added quota target. That is, if a user or group has written to a file that is under the
control of a default quota, a newly created entry in the quotas file for this user or
group takes effect after a
quota resize
command.
After you edit the quotas file, if you want to make sure that all entries take effect,
enter the
quota off
command followed by the
quota on
command. In this way,
all quotas listed in the file become active.
&UHDWLQJDQ$FWLYH4XRWDIRUD4XRWD7DUJHW
You can use the
quota resize
command so that quotas can take effect on targets
that have not created any files.
Because a quota becomes active when a quota target has written a file, you can make
an entry in the quotas file an active quota by following these steps:
1. Create a file.
2. Change ownership of the file to the quota target.