Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
VERITAS Volume Manager 3.1 Administrator's Guide: for HP-UX 11i and HP-UX 11i Version 1.5 > Chapter 4 Disk Tasks

Adding a Disk to a Disk Group

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can add a new disk to an already established disk group. For example, the current disks have insufficient space for the application or work group requirements, especially if these requirements have changed.

To add an initialized disk to a disk group, use the following command:

# vxdiskadd devname

For example, to add device c1t1d0 to rootdg, use the following procedure:

  1. Enter this command to start the vxdiskadd program:

    # vxdiskadd c1t1d0

    The vxdiskadd program displays the following message. Enter y to continue the process.

    Add or initialize disks
    Menu: VolumeManager/Disk/AddDisks
    Here is the disk selected. Output format: [Device_Name]
    c1t1d0
    Continue operation? [y,n,q,?] (default: y) y
  2. At the following prompt, specify the disk group to which the disk should be added or press Return to accept rootdg:

    You can choose to add this disk to an existing disk group, a
    new disk group, or leave the disk available for use by future
    add or replacement operations. To create a new disk group,
    select a disk group name that does not yet exist. To leave the
    disk available for future use, specify a disk group name of
    "none".
    Which disk group [<group>,none,list,q,?] (default: rootdg)
  3. At the following prompt, either press Return to accept the default disk name or enter a disk name:

    Use a default disk name for the disk? [y,n,q,?] (default: y)
  4. When the vxdiskadd program asks whether this disk should become a hot-relocation spare, enter n (or press Return):

    Add disk as a spare disk for rootdg? [y,n,q,?] (default: n) n
  5. When the vxdiskadd program prompts whether to exclude this disk from hot-relocation use, enter n (or press Return).

    Exclude disk from hot-relocation use? [y,n,q,?} (default: n) n
  6. To continue with the task, enter y (or press Return) at the following prompt:

    The selected disks will be added to the disk group rootdg with
    default disk names.
    c1t1d0
    Continue with operation? [y,n,q,?] (default: y) y
  7. The following prompt indicates that this disk has been previously initialized for future Volume Manager use; enter y to confirm that you now want to use this disk:

    The following disk device appears to have been initialized
    already. The disk is currently available as a replacement disk.
    Output format: [Device_Name]
    c1t1d0
    Use this device? [y,n,q,?] (default: y) y
  8. To reinitialize the disk, enter y (or press Return) at the following prompt:

    The following disk you selected for use appears to already have
    been initialized for the Volume Manager. If you are certain
    the disk has already been initialized for the Volume Manager,
    then you do not need to reinitialize the disk device.
    Output format: [Device_Name]
    c1t1d0
    Reinitialize this device? [y,n,q,?] (default: y) y

    Messages similar to the following now confirm that this disk is being reinitialized for Volume Manager use. You may also be given the option of performing surface analysis on some systems.

    Initializing device c1t1d0.

    Perform surface analysis (highly recommended)
    [y,n,q,?] (default: y) n

    Adding disk device c1t1d0 to disk group rootdg with disk name
    disk03.
NOTE: Output can vary depending on the previous usage of the disk.

To confirm that the disk has been added to the disk group, enter the following command:

# vxdisk list

The Volume Manager returns a listing similar to the following:

DEVICE     TYPE     DISK     GROUP      STATUS
c0t0d0 simple disk04 rootdg online
c1t0d0 simple disk01 rootdg online
c1t1d0 simple disk03 rootdg online
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.