Technical data
Managing Storage Media
9.11 Managing Disk Space
The first SYSMAN command in this example sets the environment for all
nodes in the cluster. The second SYSMAN command sets up the quota file,
QUOTA.SYS, in directory [000000] on the DUA12: device.
The quota file has one entry, UIC [0,0], that stores default values for quotas
and overdrafts.
2.
SYSMAN> DISKQUOTA MODIFY/DEVICE=DUA12: [0,0]/PERMQUOTA=3000
The command in this example edits the entry for UIC [0,0] in the quota file
on the DUA12: device, setting the default permanent quota to 3000 blocks.
3.
SYSMAN> DISKQUOTA SHOW [0,0]/DEVICE=DUA12:
The command in this example shows quotas, overdrafts, and usage counts for
UIC [0,0] on the DUA12: device.
9.11.2.2 Monitoring Disk Quotas
Use the commands shown in the following table to monitor the amount of disk
space users consume:
Command Description
MOUNT/QUOTA Use to enforce quotas on a specified disk volume. You must have the VOLPRO user
privilege, or your UIC must match the UIC written on the volume.
SHOW QUOTA Use to determine whether a quota exists for any specific user on a specific disk.
The display that results from the SHOW QUOTA command gives the quotas used,
authorized, and available.
Enter the DCL command SHOW QUOTA using the following format:
SHOW QUOTA/USER=uic (or identifier)
The results of the SHOW QUOTA command depend on whether you have read access
to the quota file:
• If you have read access, the command shows how much disk space any user on
the system has been allocated.
• If you do not have read access, the command shows your own allotment.
Examples
1.
$ SHOW QUOTA
User [DOCUMENTATION,MALCOLM] has 2780 blocks used, 7220 available,
of 10000 authorized and permitted overdraft of 500 blocks on DISK$
The SHOW QUOTA command displays the amount of disk space authorized,
used, and still available on the current default disk for the present user. The
permitted overdraft in this example is 500 blocks.
2.
$ SHOW QUOTA/USER=[DOCUMENTATION,JONES]/DISK=XXX1:
%SYSTEM-F-NODISKQUOTA, no disk quota entry for this UIC
This SHOW QUOTA command shows that the user with UIC
[DOCUMENTATION,JONES] has no disk quota allocation on the XXX1:
device.
9–66 Managing Storage Media










