VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)

Chapter 2 80
Adding a Disk to VxVM
Formatted disks being placed under VxVM control may be new or
previously used outside VxVM. The set of disks can consist of all disks on
the system, all disks on a controller, selected disks, or a combination of
these.
Depending on the circumstances, all of the disks may not be processed in
the same way.
CAUTION Initialization does not preserve data on disks.
When initializing You can exclude all disks on specific controllers from
initialization by listing those controllers in the file /etc/vx/cntrls.exclude.
Initialize disks for VxVM use as follows:
Step 1. Select menu item 1 (Add or initialize one or more disks) from the
vxdiskadm main menu.
Step 2. At the following prompt, enter the disk device name of the disk to be
added to VxVM control (or enter list for a list of disks):
Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group.You can add the
selected disks to an existing disk group or toa new disk group that will be
created as a part of theoperation. The selected disks may also be added to a
diskgroup as spares. Or they may be added as nohotuses to be excluded from
hot-relocation use. The selected disks may also be initializedwithout adding them
to a disk group leaving the disksavailable for use as replacement disks.
More than one disk or pattern may be entered at the prompt.
Here are some disk selection examples:
all: all disks
c3 c4t2: all disks on both controller 3 and controller
4, target 2
c3t4d2: a single disk (in the c#t#d# naming scheme)
xyz_0 : single disk (in the enclosure based naming scheme)
xyz_ : all disks on the enclosure whose name is xyz