Library /sys$common/syshlp/helplib.hlb  —  DISMOUNT  Examples
    1.$ MOUNT MTA0: PAYVOL TAPE
         .
         .
         .
      $ DISMOUNT TAPE

      The MOUNT command in this example mounts the tape whose volume
      identification is PAYVOL on the device MTA0: and assigns the
      logical name TAPE to the device. By default, the volume is not
      shareable. The DISMOUNT command releases access to the volume,
      deallocates the device, and deletes the logical name TAPE.

    2.$ MOUNT/SHARE DKA3:  DOC_FILES
         .
         .
         .
      $ DISMOUNT DKA3:

      The MOUNT command in this example mounts the volume labeled
      DOC_FILES on the device DKA3. Other users can enter MOUNT
      commands to access the device. The DISMOUNT command shown in
      this example deaccesses the device for the process issuing the
      command. If other users still have access to the volume, the
      volume remains mounted for their process or processes.

    3.$ DISMOUNT/NOUNLOAD  DMA2:

      The DISMOUNT command in this example dismounts the volume; the
      /NOUNLOAD qualifier requests that the volume remain in a ready
      state.

    4.$ MOUNT/BIND=PAYROLL  DMA1:,DMA2:  PAYROLL01,PAYROLL02
         .
         .
         .
      $ DISMOUNT/UNIT  DMA2:

      The MOUNT command in this example mounts PAYROLL, a two-
      volume set. The DISMOUNT command dismounts only PAYROLL02,
      leaving PAYROLL01 accessible. Note that because the master file
      directory (MFD) for the volume set is on the root volume, you
      should not dismount the root volume (in this case, PAYROLL01)
      of the volume set.

    5.$ DISMOUNT $10$DJA100
      %DISM-W-CANNOTDMT, $10$DJA100: cannot be dismounted
      %DISM-W-INSWPGFIL, 4 swap or page files installed on volume
      %DISM-W-SPOOLEDEV, 3 devices spooled to volume
      %DISM-W-INSTIMAGE, 7 images installed on volume
      %DISM-W-USERFILES, 6 user files open on volume

      The DISMOUNT command in this example displays the open files
      and other conditions that prevent device $10$DJA100 from
      dismounting.

    6.$ DISMOUNT/CLUSTER $10$DJA100
      %DISM-W-RMTDMTFAIL, $10$DJA100: failed to dismount on node SALT
      %DISM-W-FILESOPEN, volume has files open on remote node
      %DISM-W-RMTDMTFAIL, $10$DJA100: failed to dismount on node PEPPER
      %DISM-W-FILESOPEN, volume has files open on remote node
      %DISM-W-CANNOTDMT, $10$DJA100: cannot be dismounted

      The DISMOUNT command in this example displays messages
      identifying device $10$DJA100 and nodes SALT and PEPPER on
      which errors occurred followed by messages indicating open
      files on the volume.
Close Help