Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;dmtvol (dismount_volume), revision 1.0, 88/01/21
dmtvol (dismount_volume) -- Dismount a logical volume.
usage:  dmtvol  {w | s | f}[controller:][unit]  [log_vol_number]
                        [pathname]  [-fu | -nw]



DESCRIPTION
     dmtvol dismounts a logical volume that was previously mounted with the
     mtvol (mount_volume) command. After the volume has been dismounted, it is
     unavailable for further access.

     Only privileged users are permitted to mount volumes. The set of
     privileged users is determined by the system administrator.

ARGUMENTS
     disk_type (required)
                    Specify the type of disk on which the volume resides:  w
                    for a Winchester disk, s for a storage module, or f for a
                    floppy disk.

     controller (optional)
                    Specify controller number (0 or 1).  To specify both
                    controller and unit, type the controller number, a colon
                    (:), then the unit number, e.g., ``w1:0."

                    For SCSI configurations, controller number 6 is reserved
                    for the first internal Winchester disk. Additional SCSI
                    devices should be numbered in decreasing consecutive order
                    from 5 to 0.  For non-SCSI configurations, the controller
                    number may be 0 or 1. See EXAMPLES below.

                    Default if omitted:  0

     unit (optional)
                    Specify a unit number (0 or 1 only) for the device, if
                    necessary.  For example, s1 denotes storage module unit 1.
                    To specify both controller and unit, type the controller
                    number, a colon (:), then the unit number, e.g., ``w1:0."
                    See EXAMPLES below.

                    Default if omitted:  0

     log_vol_number (optional)
                    Specify the number of the logical volume to be dismounted.

                    Default if omitted:  1

     pathname (optional)
                    Specify  the entry directory of the logical volume.  If
                    you include this argument, dmtvol dismounts the volume and
                    uncatalogs its entry directory.  If you omit it, dmtvol
                    dismounts the logical volume, but retains its name in the
                    naming tree.

OPTIONS
     -fu            Forcibly unlock any locked objects, then dismount the
                    volume.  If you omit this option, the dismount fails if
                    the volume contains any locked objects.

     -nw            Prevents dmtvol from trying to write to the disk during
                    the dismount.  Normally, writing to the disk saves current
                    information.  However, if the disk was removed prior to
                    the dismount, you should use this option.

EXAMPLES
     Dismount storage module unit zero, logical volume 2, and leave its name
     in the naming tree.

     $ dmtvol s 2

     Dismount floppy unit zero, logical volume 1, and delete its name from the
     naming tree.

     $ dmtvol f /floppy


     At SR10, this command interprets controller number and unit number in the
     following way.  (The example below assumes a Winchester disk (-w)).

                           You type    Interpreted as
                                      (Controller:Unit)

                           w          w0:0
                           w0         w0:0
                           w1         w0:1
                           w1:0       w1:0
                           w1:1       w1:1


SEE ALSO
     More information is available.  Type

     help  mtvol    For details about mounting logical volumes

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026