HPlogo Volume Management: HP 3000 MPE/iX Computer Systems > Chapter 3 Using Volume Management

Adding Volumes to a Volume Set

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

You can add volumes to a volume set while the system is running. To add a volume to a system or nonsystem volume set, use the NEWVOL command. Once a volume is added to a volume set and initialized, the system recognizes the volume and the volume is ready for use.

NOTE: If the new volume is mounted, it must be in the SCRATCH or UNKNOWN state to be initialized and added to a volume set. It is possible to add a volume to a volume set even if that set is not mounted. Then when the volume set is mounted, it must be initialized using the INITVOL command before it can be used.

Example: Adding Volumes to a Volume Set

This example shows how to add a volume to a nonsystem volume set.

  1. At the VOLUTIL prompt, use the DSTAT command to determine what volumes can be initialized.

      volutil: :DSTAT
    
    
    
      LDEV-TYPE   STATUS    VOLUME  (VOLUME SET - GEN) 
    
      _ _ _ _ _   _ _ _ _  _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
    
      10-07937   MASTER     MEMBER1 (PROD_SET-0)
    
      11-07937   LONER
    
      12-07937   SCRATCH
    
  2. LDEV 11 is a LONER volume and you determine it. It no longer contains any needed data. Since a volume needs to be in the SCRATCH or UNKNOWN state in order to be added to a volume set, change LDEV 11 to a SCRATCH volume by using the SCRATCHVOL command. Refer to chapter 5 for more information on this command.

       volutil: SCRATCHVOL 11
    
  3. To add the volume (LDEV 11) to PROD_SET, use the NEWVOL command. If you do not want to initialize the new volume, do not use the ldev parameter in the command. It is possible to add a volume and not initialize it (if you do not have a drive available). You can then initialize it when a drive is available. Refer to the INITVOL command described in chapter 5 of this manual.

    If you do not specify a volume class, the default class DISC will be assigned to the volume.

    The volume name can be up to 32 alphanumeric characters in length. The first character must be alphabetic.

       volutil: NEWVOL PROD_SET:MEMBER2 11
    
  4. The system responds with a question asking you to verify whether the information you input was correct. When you respond Y followed by Enter, the system displays process information.

  5. After you have added a volume to a volume set, use the DSTAT command to verify that the volume was added to the volume set.

NOTE: A volume must be mounted in the LONER status before it can be SCRATCHED using the SCRATCHVOL command.
  volutil: :DSTAT



  LDEV-TYPE   STATUS    VOLUME  (VOLUME SET - GEN) 

  _ _ _ _ _  _ _ _ _    _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

  10-07937   MASTER     MEMBER1 (PROD_SET-0)

  11-07937   MEMBER     MEMBER2 (PROD_SET-0)

  12-07937   SCRATCH       
CAUTION: Make sure you see the message verifying that the volume was initialized correctly. Any error that occurs during initialization means that the volume must be reinitialized.

Once a volume has been added as part of a volume set, its name and volume ID are loaded on the master volume. This information cannot be deleted and remains there as long as the volume set exists.

NOTE: A volume cannot be deleted from a volume set.
Feedback to webmaster