SYSMANHELP.HLB  —  DISKQUOTA  CREATE
    Creates and enables a quota file for a disk volume that does not
    currently contain one.

    Requires write (W)  access to the volume's master file directory
    (MFD), plus one of the following items: SYSPRV privilege, a
    system UIC, or ownership of the volume.

    Format

      DISKQUOTA CREATE

1  –  Qualifier

1.1    /DEVICE

       /DEVICE=device-spec

    Specifies the disk volume on which to create a quota file.
    SYSMAN validates the device specification. A logical name may be
    specified for device-spec. If so, it is translated in the target
    environment.

    Without a device specification, SYSMAN uses the default disk
    on the target node. Unless you have set a default device with
    the SET PROFILE command, the default disk is the current device
    on the local node or the login default device on another node,
    depending on the established environment.

2  –  Description

    The DISKQUOTA CREATE command creates a quota file for a volume
    that does not currently have one.

    Only one quota file, [000000]QUOTA.SYS, can be present on
    any volume or volume set. As soon as you create a quota file,
    establish default values for quotas and overdrafts by adjusting
    UIC [0,0] with the DISKQUOTA MODIFY command. When a disk has
    existing files, use the DISKQUOTA REBUILD command to have SYSMAN
    update the quota file to contain current usage values.

                                   NOTE

       VSI recommends that you do not create and enable a quota file
       on the system disk unless users are allowed to create files
       on that disk.

3  –  Example

  SYSMAN> SHOW ENVIRONMENT
  %SYSMAN-I-ENV, Current command environment:
          Node NODE24 of local cluster
          Username ALEXIS    will be used on nonlocal nodes

  SYSMAN> DO SHOW DEVICES
  .
  .
  .
  SYSMAN> DISKQUOTA CREATE /DEVICE=DJA31:
  SYSMAN> DISKQUOTA MODIFY /DEVICE=DJA31: [0,0] -
  _SYSMAN> /PERMQUOTA=10000 /OVERDRAFT=100

      The commands in this example sequence display the
      characteristics of the current management environment and
      verify the device name. Then they create a quota file on the
      disk DJA31 and set up default quota values.
Close Help