VMS Help  —  SET  VOLUME  Examples
    1.$ SET VOLUME/DATA_CHECK=(READ,WRITE) DKA5

      The SET VOLUME command in this example requests that data
      checks be performed following all read and write operations
      to DKA5.

    2.$ SET VOLUME/FILE_PROTECTION=(S:RWED,O:RWED,G:RE,W:RE) DKA5

      The SET VOLUME command in this example sets the default
      protection to be applied to all files created on volume DKA5.
      System (S)  and owner (O) are granted all types of access;
      group (G)  and world (W) are permitted only to read and execute
      files on DKA5.

    3.$ SET VOLUME/LABEL=LICENSES DKA5

      The SET VOLUME command in this example encodes the label
      LICENSES on the volume DKA5. Note that if characters in labels
      are entered in lowercase, they are changed to uppercase by the
      /LABEL qualifier.

    4.$ SET VOLUME/ACCESSED=25/USER_NAME=MANAGER/LOG DKA0:

      The SET VOLUME command in this example specifies that 25
      directories are to be maintained in system space for ready
      access for the volume DKA0. The command also assigns the
      user name MANAGER to the volume and displays the volume
      specification after the volume is modified.

    5.$ SET VOLUME/REBUILD/LOG NODE$DKA2:
      %SET-I-MODIFIED, _NODE$DKA2: modified

      The SET VOLUME command in this example causes a rebuild
      operation to begin on the volume that is mounted on NODE$DKA2.
      The /LOG qualifier directs the SET VOLUME command to display a
      notification message.

    6.$ DISMOUNT/CLUSTER/NOUNLOAD $252$DUA716:
      $ MOUNT $252$DUA716: TST716
      $ SET VOLUME/LIMIT $252$DUA716:
      $ DISMOUNT/NOUNLOAD $252$DUA716:
      $ MOUNT/CLUSTER $252$DUA716: TST716

      This example shows how to increase the expansion limit of a
      volume mounted in a cluster.

    7.$ SET VOLUME SYS$DISK/VOLUME_CHARACTERISTICS=NOHARDLINKS

      This command disables hard links on SYS$DISK.

    8.$ SET VOLUME $DKA100/CACHE=CLEAR_DATA

      This command clears the contents of the volume $DKA100 present
      in the XFC cache (if any). The caching mode of the volume
      $DKA100 is not altered.

    9.$ SET VOLUME $DKA100/CACHE=DATA

      This command enables XFC caching for the volume $DKA100. The
      contents of the volume $DKA100 already present in the XFC cache
      is not affected in anyway.

    10$ SET VOLUME $DKA100/CACHE=(DATA,CLEAR_DATA)

      This command enables XFC caching for the volume $DKA100 and
      clears the contents of the volume $DKA100 present in the XFC
      cache (if any).
Close Help