VERITAS Volume Manager 3.1 Administrator's Guide
Disk Tasks
vxdiskadm Menu Description
Chapter 4 153
vxdiskadm Menu Description
The vxdiskadm menu provides access to the following tasks. The
numbers correspond to the items listed in the main menu:
1. Add or initialize one or more disks.
You can add formatted disks to the system. SCSI disks are already
formatted. For other disks, see the manufacturer’s documentation for
formatting instructions. You are prompted for the disk device(s). You
can specify the disk group to which the disk(s) should be added; if
none is selected, the disk is held as a spare to be used for future
operations or disk replacements without needing to be initialized at
that time. You can also specify that selected disks be marked as
hot-relocation spares for a disk group. If the disk has not been
initialized already, the disk is initialized for use with the Volume
Manager.
2. Remove a disk.
You can remove a disk from a disk group. You are prompted for the
name of a disk to remove. You cannot remove a disk if any volumes
use storage on that disk. If any volumes are using storage on the disk,
you have the option of asking the Volume Manager to move that
storage to other disks in the disk group.
NOTE You cannot remove the last disk in a disk group using this task.To use all
remaining disks in a disk group, disable (deport) the disk group. You
can then reuse the disks. However, the rootdg cannot be deported.
3. Remove a disk for replacement.
You can remove a physical disk from a disk group, while retaining the
disk name. This changes the state for the named disk to removed. If
there are any initialized disks that are not part of a disk group, you
are given the option of using one of these disks as a replacement.
4. Replace a failed or removed disk.
You can specify a replacement disk for a disk that you removed with
the Remove a disk for replacement menu entry, or one that failed
during use. You are prompted for a disk name to replace and a disk