HP 3000 Manuals

Creating a Nonsystem Volume Set [ Performing System Management Tasks ] MPE/iX 5.0 Documentation


Performing System Management Tasks

Creating a Nonsystem Volume Set 

There are four basic steps that you need to take to create a nonsystem
volume set for your HP 3000.  It involves planning, configuration, and
finally, using VOLUTIL to add the set to your system in the following
sequence:

   *   Plan the volume set's definition and use.  Determine the disk
       drives that you need (removable media, capacity), the volume
       classes, and the account structure.  Plan for future expansion,
       and keep the volume sets small.

   *   Order, receive, and connect the hardware.  Use SYSGEN's ADEV
       command to configure the disk drives.  Refer to Chapter 3  for
       more information on adding devices to the system.

   *   Mount the volumes in the volume set and enter the command DSTAT
       ALL to make sure that they have scratch or unknown status.  (You
       will see volume status for all mounted volumes in system and
       nonsystem volume sets.) 

   *   To define the volume set, volumes, and classes, first reboot the
       system with your new configuration and then use VOLUTIL.

The remainder of this section explains the fourth step, using VOLUTIL to
add a non-system volume set.  For more detailed information refer to the
Volume Management Reference Manual (32650-90045).

To access VOLUTIL 

No special capability is needed to start VOLUTIL but you must have use
volumes (UV) capability to reserve or access volume sets and create
volumes (CV) capability to modify volumes.  The RECOVER command requires
system manager (SM) capability.  The SHOWSET command may be used by any
user to display volume set information.

To start VOLUTIL, at the MPE prompt enter:

     :VOLUTIL 

To use online help 

You can display helpful information about any of the VOLUTIL commands on
the screen.  To do so, enter the HELP command at the volutil:  prompt in
one of two forms:

   *   To get help for a specific command, type HELP and then the command
       name.  For example, to display a description, the syntax, and
       examples of the NEWSET command, enter:

            volutil:HELP NEWSET 

   *   To see a list of all the VOLUTIL commands with a brief description
       of each one, simply enter HELP or H.

To define the volume set 

You define a new volume set by initializing the master of the volume set.
Define the volume set with the NEWSET command, including the set name,
master volume name, and the LDEV.

NEWSET has the following parameters:

NEWSET {[SNAME] = sname} {[MASTER] = master} {[LDEV] = ldev}

[[PERM] = percentperm] [[TRANS] = percenttrans] [[GEN] = gen_number]

[[CLASSES] = cname[,cname][,...]]

To define the volume set PROD to be created on logical device 18 with
master volume name MASTER and with permanent disk space set to 100
percent, enter:

     volutil:NEWSET SNAME=PROD MASTER=MASTER LDEV=18 PERM=100 

Nonsystem volumes use only permanent space, which you should set to 100.

The system issues recovery messages each time a volume is mounted.  The
following example illustrates this:
_____________________________________________________________________
|                                                                   |
|                                                                   |
|      :volutil                                                     |
|      Volume Utility A.00.00,(C)Hewlett-Packard Co., 1987. All     |
|      Rights Reserved.                                             |
|      volutil:newset SNAME=PROD MASTER=PRODMASTER LDEV=18 PERM=100 |
|      *Verify:Initialize new volume set                            |
|      PROD:MASTER on LDEV 18 [Y/N]? Y                              |
|      beginning recovery                                           |
|      completed recovery of free space map and label table         |
|      completed recovery of files                                  |
|      begin posting of recovered files                             |
|      recovery completed                                           |
|      *Note:New master volume has been initialized on LDEV 18.     |
|                                                                   |
_____________________________________________________________________

          Figure 9-4.  Creating a Nonsystem Volume Set 

To add members to the volume set 

Use the NEWVOL command to add or define a second or member volume of the
volume set and initialize it.  NEWVOL has the following parameters:

NEWVOL has the following parameters:

NEWVOL {[VNAME] = sname:vname} [[LDEV] = ldev] [[PERM] = percentperm]

[[TRANS] = percenttrans] [[CLASSES] = cname[,cname][,...]]

To prevent errors, the set name and volume name are required, but you may
supply both at once in the VNAME position, separated by a colon.  The
ldev parameter is optional, though if you do not enter an LDEV, you must
initialize the volume you are adding in a separate step.  If you do
supply the LDEV number, the volume is defined, initialized, then
automatically recognized and mounted.

To add a member volume, do the following:

   1.  Start VOLUTIL by entering VOLUTIL at the MPE prompt.

   2.  At the volutil:  prompt, enter:

            volutil:NEWVOL sname:vname additional parameters 

       For example, to add PRODMEMBER1 to the volume set PROD as LDEV 25,
       enter:

            volutil:NEWVOL VNAME=PROD:PRODMEMBER1 LDEV=25 

   3.  Enter the VSCLOSE command to post the new volume label information
       to disk.

   4.  Enter VSOPEN to make the new volume available to users.


NOTE If you do not enter an LDEV number, the volume is added but not initialized. To initialize the volume later, use the INITVOL command. At the volutil: prompt, enter: volutil:INITVOL sname:vname ldev For example, to initialize PROD:PRODMEMBER2 specifying logical device 25 and using positional parameters, enter: volutil:INITVOL PROD:PRODMEMBER2 25
To create volume classes Use the NEWCLASS command to define volume classes within a set. NEWCLASS has the following syntax: NEWCLASS {[CNAME] = sname:cname} [[VOLUMES] = vname[,vname][,...]] To add a class, do the following: 1. Start VOLUTIL by entering VOLUTIL at the MPE prompt. 2. At the volutil: prompt, enter: volutil:NEWCLASS sname:vname parameter For example, to add the new class ORDERS to PROD and to assign the volume PRODMASTER to ORDERS, enter: volutil:NEWCLASS CNAME=PROD:ORDERS VOLUMES=PRODMASTER 3. Enter Y when prompted to verify the EXPANDCLASS command. To add additional volumes to an existing volume class Use the EXPANDCLASS command to add a volume or volumes to a class. EXPANDCLASS has the following syntax: EXPANDCLASS {[CNAME] = sname:cname} [[VOLUMES] = vname[,vname][,...]] To add a volume or volumes to an existing class, do the following: 1. Start VOLUTIL by entering VOLUTIL at the MPE prompt. 2. At the volutil: prompt, enter: volutil:EXPANDCLASS sname:vname parameter For example, to add the volume PRODMEMBER2 to PROD:ORDERS, enter: volutil:EXPANDCLASS CNAME=PROD:ORDERS VOLUMES=PRODMEMBER2 3. Enter Y when prompted to verify the EXPANDCLASS command. 4. Enter the VSCLOSE command to post the new volume label information to disk. 5. Enter VSOPEN to make the new volume available to users. To display information about volume sets Use the SHOWSET command to display information about the volume set. To display volume set information, at the volutil: prompt, enter: volutil:SHOWSET sname parameters SHOWSET has the following parameters: [ {CLASSES}] [ {VOLUMES}] SHOWSET [[SNAME] = sname] [[INFO] = {SETINFO}] [ {DSTATUS}] [ {LABELS }] [ {STRUCT }] For example, to display a summary of the current structure or class/volume hierarchy for PROD, enter: volutil:SHOWSET SNAME=PROD INFO=STRUCT Below is an example of the kind of information you will see. The asterisk before PRODMEMBER2 means that the volume has been defined, but not initialized. _______________________________________________ | | | | | volutil:showset sname=PROD info=STRUCT | | Volumes in set: PROD | | PRODMASTER | | PRODMEMBER1 | | *PRODMEMBER2 | | Classes in set: PROD | | DISC | | ORDERS | | CUST | | Volumes in class: PROD:DISC | | PRODMASTER | | PRODMEMBER1 | | *PRODMEMBER2 | | Volumes in class: PROD:ORDERS | | PRODMASTER | | *PRODMEMBER2 | | Volumes in class: PROD:CUST | | PRODMEMBER1 | | | _______________________________________________ Figure 9-5. Displaying Volume Set Information


MPE/iX 5.0 Documentation