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 Volume Manager

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You must place a disk under Volume Manager control, or add it to a disk group, before you can use the disk space for volumes. If the disk was previously in use, but not under Volume Manager control, you can preserve existing data on the disk while still letting the Volume Manager take control of the disk. If the user wants to bring all the non LVM disks under control, they are considered as fresh disks. LVM volume groups can only be converted to VxVM disk groups. If the disk was previously not under Volume Manager control, but no data is required to be preserved, it should be initialized.

NOTE: See the VERITAS Volume Manager Migration Guide for more information on conversion.

To add a disk, use the following command:

# vxdiskadd devname

where devname is the device name of the disk to be added.

To add the device c1t0d0 to Volume Manager control, perform the following steps:

  1. Enter the following to start the vxdiskadd program:

    # vxdiskadd c1t0d0
  2. To continue with the task, enter y (or press Return) at the following prompt:

    Add or initialize disks
    Menu: VolumeManager/Disk/AddDisks
    Here is the disk selected. Output format: [Device_Name]
    c1t0d0
    Continue operation? [y,n,q,?] (default: y) y
  3. 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)
  4. 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)
  5. When prompted as to 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
  6. When the vxdiskadm 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)
  7. 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.
    c1t0d0
    Continue with operation? [y,n,q,?] (default: y) y
  8. Messages similar to the following are displayed while the disk device is initialized and added to the disk group selected by you:

    c1t0d0
    Initializing device c1t0d0.
    Adding disk device c0t1d0 to disk group rootdg with disk name
    disk01.
    Goodbye.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2000 Hewlett-Packard Development Company, L.P.