Administering disks 101

Adding a disk to VxVM

vxdiskadm then proceeds to add the disks.

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.

15At 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)

See Displaying and changing default disk layout attributes” on page 97 for details of how to change the default layout that is used to initialize disks.

Reinitializing a disk

You can reinitialize a disk that has previously been initialized for use by VxVM by putting it under VxVM control as you would a new disk. See Adding a disk to VxVM” on page 97 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.