Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
96 Administering disks
Adding a disk to VxVM
When initializing multiple disks at one time, it is possible to exclude certain disks or
certain controllers. To exclude disks, list the names of the disks to be excluded in the file
/etc/vx/disks.exclude before the initialization. You can exclude all disks on
specific controllers from initialization by listing those controllers in the file
/etc/vx/cntrls.exclude.
To initialize disks for VxVM use
1 Select menu item 1 (Add or initialize one or more disks) from the
vxdiskadm main menu.
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 to
a new disk group that will be created as a part of the
operation. The selected disks may also be added to a disk group
as spares. Or they may be added as nohotuses to be excluded
from hot-relocation use. The selected disks may also be
initialized without adding them to a disk group leaving the
disks available 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 : a single disk (in the enclosure based naming
scheme)
xyz_ : all disks on the enclosure whose name is xyz
Select disk devices to add:
[<pattern-list>,all,list,q,?]
<pattern-list> can be a single disk, or a series of disks and/or controllers (with
optional targets). If <pattern-list> consists of multiple items, separate them using
white space, for example:
c3t0d0 c3t1d0 c3t2d0 c3t3d0
specifies fours disks at separate target IDs on controller 3.
If you enter list at the prompt, the vxdiskadm program displays a list of the
disks available to the system:
DEVICE DISK GROUP STATUS
c2t4d0 - - LVM
c2t5d0 - - LVM
c2t6d0 - - LVM
c3t0d0 mydg01 mydg online