/sys$common/syshlp/DECRAM$HELP.HLB  —  CREATE  DISK  Examples
  1.  $ decram create disk mdf1111 /capacity=16777216 /memory=local -
                                   /serve /nopersist /rad=2

      This example creates an 8 gigabyte memory disk mdf1111 in local
      memory with an allocation class equivalent to the node allocation
      class. It is issued from the VMS prompt. It will not persist at
      the next reboot but disk serving to the VMScluster is enabled.
      If the system has RAD SUPPORT enabled then RAD 2 will be used
      to create the disk otherwise OpenVMS will pick the RAD(s).

  2.  DECRAM> create disk mda0 /cap=1000034 /mem=shared /rad=(0,1)

      This example creates memory disk $99$mda0 in shared memory RAD 0
      and RAD 1 with a size of 1,000,034 blocks and allocation class
      99. It is issued from the DECRAM> prompt. It will persist at the
      next reboot but disk serving to the VMScluster is not enabled.

  3.  DECRAM> create disk mdb0 /cap=10000 /mem=shared /alloc=13
      DECRAM> create disk mdb1 /cap=10000 /mem=shared /alloc=13

      $ init $13$mdb0 $13$mdb0
      $ mount dsa0: /shadow=($13$mdb0:,$13$mdb1:) $13$mdb0

      This example creates two 10000 block shared memory disks with
      allocation class 13. One of them is initialized and a VMS
      Volume shadow set is made from the two memory disks. The memory
      disks are not served to the cluster.

  4.  VMS Galaxy Instance 0

      $ decram create disk mdb0 /capacity=10000 /memory=shared
      $ init mdb0 mdb0
      $ mount /cluster mdb0 mdb0
      $ show device mdb0

        Device            Device    Error    Volume     Free  Trans Mnt
         Name             Status    Count     Label    Blocks Count Cnt
        $99$MDB0: (BANG)  Mounted       0     MDB0      9967     1   2

      VMS Galaxy Instance 1

      $ decram create disk mdb0 /capacity=10000 /memory=shared
      $ show device mdb0

        Device            Device    Error    Volume     Free  Trans Mnt
         Name             Status    Count     Label    Blocks Count Cnt
        $99$MDB0: (BIG1)  Mounted       0     MDB0      9967     1   2

      This example assumes a two instance VMS Galaxy with DECRAM V3
      installed on both instances. It creates two 10000 block shared
      memory disks with allocation class 99. One of them is created on
      instance 0 and the other on instance 1. The shared disk is
      initialized and mounted cluster-wide from instance 0. Note that
      if a shared disk has been created on each instance the
      "$ decram create disk" command is only necessary on one instance.
Close Help