Technical data
Managing Storage Media
9.11 Managing Disk Space
9.11.2 Establishing Disk Quotas
Disk quota operations are enabled by default. However, you can use SYSMAN
DISKQUOTA commands to control disk usage. You can assign disk quotas to
users and maintain an accurate record of disk use for ODS Level 2 or 5 disks.
You create a quota file for each disk except the system disk. The quota file records
the current usage and the maximum disk usage for all users.
SYSMAN allows you to access disks that are normally unavailable from your local
node. With SYSMAN, you can obtain a display of all disks on the other nodes,
including those that are mounted privately or used as system disks. You can run
DISKQUOTA on any available disk without logging in to each node.
9.11.2.1 Creating a Quota File
The first step in allocating disk space is to create a quota file for each volume or
each volume set. The absolute maximum number of blocks permitted a user on a
volume is the sum of the quota and the overdraft. Only users with the EXQUOTA
privilege can bypass disk quota restrictions.
How to Perform This Task
Creating a quota file requires SYSPRV, BYPASS, or GRPPRV privilege. To create
a quota file on a disk using SYSMAN commands:
1. Use the DISKQUOTA CREATE command and specify the target disk with the
/DEVICE qualifier using the following format:
DISKQUOTA CREATE/DEVICE=device-spec
Note
To use the DISKQUOTA ENABLE command on a disk that has been
mounted on multiple nodes in a cluster, you must first specify the nodes
in the SET ENVIRONMENT command.
2. Use the DISKQUOTA MODIFY command to adjust [0,0] to an appropriate
value for the device using the following format:
DISKQUOTA MODIFY/DEVICE=device-spec/PERMQUOTA=value
Note
If you create a quota file or enable disk quotas on a disk that has files on
it, use the DISKQUOTA REBUILD command to update the disk quota
entries with the current usage information.
3. Use the DISKQUOTA SHOW command to display the quota file using the
following format:
DISKQUOTA SHOW owner/DEVICE=device-spec
Examples
1.
$ MCR SYSMAN
SYSMAN> SET ENVIRONMENT/CLUSTER
SYSMAN> DISKQUOTA CREATE/DEVICE=DUA12:
Managing Storage Media 9–65










