VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Adding a Disk to VxVM
68 VERITAS Volume Manager Administrator’s Guide
vxdiskadm asks you to confirm that the devices are to be reinitialized before
proceeding:
Reinitialize these devices? [y,n,q,?] (default: n) y
Initializing device device name.
Adding disk device device name to disk group disk group name with
disk name disk name.
.
.
.
Note To bring LVM disks under VxVM control, use the Migration Utilities. See the
VERITAS Volume Manager Migration Guide for details.
11. At the following prompt, indicate whether you want to continue to initialize more
disks (y) or return to the vxdiskadm main menu (n):
Add or initialize other disks? [y,n,q,?] (default: n)
Reinitializing a Disk
You canreinitialize a disk that has previously beeninitialized foruse byVxVM byputting
it under VxVM control as you would a new disk. See “Adding a Disk to VxVM” on
page 65 for details.
Caution Reinitialization does not preserve data on the disk. If you want to reinitialize
the disk, make sure that it does not contain data that should be preserved.
If the disk you want to add has previously been under LVM control, you can preserve the
data it contains on a VxVM disk by the process of conversion (see the VERITAS Volume
Manager Migration Guide for more details).
Using vxdiskadd to Place a Disk Under Control of VxVM
As an alternative to vxdiskadm, you can use the vxdiskadd command to put a disk
under VxVM control. For example, to initialize the second disk on the first controller, use
the following command:
# vxdiskadd c0t1d0
The vxdiskadd command examines your disk to determine whether it has been
initialized and also checks for disks that have been added to VxVM, and for other
conditions.