MCR SYSMAN DISKQUOTA — VMS 5.0
Use DISKQUOTA to establish, modify, display, and remove space allocation quotas on a specific disk volume. Format: DISKQUOTA function
Additional information available:
ADDCREATEDELETEDISABLEENABLEMODIFYREBUILD
SHOW
ADD
The DISKQUOTA ADD command adds an entry to the quota file on the specified device. Note that a quota file must already exist on the volume and quotas must be enabled on the volume (see the CREATE and ENABLE commands). Use of this command requires write access to the quota file. Format: DISKQUOTA ADD uic
Additional information available:
uic
uic The uic indicates the User Identification Code of the entry to be added to the quota file. Specify the uic as described in section 7.1.1 of the VAX/VMS DCL Concepts Manual. Wildcarding in both the group and the member fields is allowed.
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to add a quota entry. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
/OVERDRAFT
/OVERDRAFT=n Specifies the overdraft quota to be assigned to the entry. If specified, /OVERDRAFT must be given a value which is a positive integer.
/PERMQUOTA
/PERMQUOTA=n Specifies the permanent quota to be assigned to the entry. If specified, /PERMQUOTA must be given a value which is a positive integer.
CREATE
The DISKQUOTA CREATE command creates a quota file on the specified device and then enables quotas on that device. This command requires write access to the master file directory (MFD) of the volume, as well as one or more of the following: SYSPRV privilege, a system UIC, or ownership of the volume. Format: DISKQUOTA CREATE
Additional information available:
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to create the quota file. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
DELETE
The DISKQUOTA DELETE command deletes an entry from the quota file. This command requires write access to the quota file. Format: DISKQUOTA DELETE uic
Additional information available:
uic
uic The uic indicates the User Identification Code of the entry to be deleted from the quota file. Specify the uic as described in section 7.1.1 of the VAX/VMS DCL Concepts Manual. Wildcarding in both the group and the member fields is allowed.
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume from which to delete the specified entry. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
DISABLE
The DISKQUOTA DISABLE command disables quota checking on the specified device. This command requires one or more of the following: the SYSPRV privilege, a system UIC, or ownership of the volume. Format: DISKQUOTA DISABLE
Additional information available:
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to disable quota checking. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
ENABLE
The DISKQUOTA ENABLE command enables quota checking on the specified device. Use of this command requires one or more of the following: the SYSPRV privilege, a system UIC, or ownership of the volume. Format: DISKQUOTA ENABLE
Additional information available:
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to enable quota checking. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
MODIFY
The DISKQUOTA MODIFY command modifies an entry in the quota file on the specified device. Note that a quota file must already exist on the volume and quotas must be enabled on the volume (see the CREATE and ENABLE commands). Use of this command requires write access to the quota file. Format: DISKQUOTA MODIFY uic
Additional information available:
uic
uic The uic indicates the User Identification Code of the entry in the quota file to be modified. Specify the uic as described in section 7.1.1 of the VAX/VMS DCL Concepts Manual. Wildcarding in both the group and the member fields is allowed.
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to modify a quota entry. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
/OVERDRAFT
/OVERDRAFT=n Specifies the overdraft quota to be assigned to the entry. If specified, /OVERDRAFT must be given a value which is a positive integer.
/PERMQUOTA
/PERMQUOTA=n Specifies the permanent quota to be assigned to the entry. If specified, /PERMQUOTA must be given a value which is a positive integer.
REBUILD
The DISKQUOTA REBUILD command rebuilds the quota file on the specified device based on the information in the volume's index file. Use of this command requires write access to the quota file, as well as one or more of the following: the SYSPRV privilege, a system UIC, or ownership of the volume. Format: DISKQUOTA REBUILD
Additional information available:
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume on which to rebuild the quota file. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
SHOW
The DISKQUOTA SHOW command displays an entry in the quota file. Use of this command does not require any privileges to show one's own quota, overdraft and usage count, but otherwise requires read access to the quota file. Format: DISKQUOTA SHOW uic
Additional information available:
uic
uic The uic indicates the User Identification Code of the entry in the quota file to be displayed. Specify the uic as described in section 7.1.1 of the VAX/VMS DCL Concepts Manual. Wildcarding in both the group and the member fields is allowed.
Command Qualifiers
Additional information available:
/DEVICE
/DEVICE[=device-spec] Specifies the disk volume from which to display the specified entry. If /DEVICE is not specified, or if /DEVICE is specified without a device-spec, the device defaults to the current default disk.
/OUTPUT
/OUTPUT[=file-spec] Specifies that the output from the execution of this command is to written to the file specified, or to "[default_directory]SYSMAN.LIS" if no filespec is given.
Examples
SYSMAN> diskquota create/device=WORK1
This command creates a quota file on WORK1 and then enables
quota checking on WORK1. This command requires write
access to the master file directory (MFD) of the volume, as
well as one or more of the following: SYSPRV privilege, a
system UIC, or ownership of the volume.
SYSMAN> diskquota enable/device=WORK1
This command enables quota checking on the device WORK1.
SYSMAN> diskq add/device=work1/permquota=200/overdraft=50 [marx,groucho]
This command adds an entry to the quota file for the user GROUCHO, with
QUOTA set to 200 blocks and OVERDRAFT set to 50 blocks. Use of the ADD
function requires read access to the quota file.
SYSMAN> diskquota show [marx,*]
%SYSMAN-I-QUOTA, Disk quota statistics on device WORK1: --
Node OPERA
UIC Usage Permanent Quota Overdraft Limit
[MARX,HARPO] 3281 5000 500
[MARX,KARL] 1201 2500 100
[MARX,ZEPPO] 8443 12000 750
[MARX,GROUCHO] 221 200 50
This command lists the diskquota statistics for all users whose UIC group
identifier is MARX.