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

Removing and Replacing Disks
76 VERITAS Volume Manager Administrator’s Guide
Removing a Disk with No Subdisks
To remove a disk that contains no subdisks from its disk group, run the vxdiskadm
program and select item 2 (Remove a disk) from the main menu, and respond to the
prompts as shown in this example to remove disk02:
Enter disk name [<disk>,list,q,?] disk02
Requested operation is to remove disk disk02 from group rootdg.
Continue with operation? [y,n,q,?] (default: y) y
Removal of disk disk02 is complete.
Clobber disk headers? [y,n,q,?] (default: n) y
Enter y to remove the disk completely from VxVM control. If you do not want to remove
the disk completely from VxVM control, press Return or enter n.
Removing and Replacing Disks
If failures are starting to occur on a disk, but the disk has not yet failed completely, you
can replace the disk. This involves detaching the failed or failing disk from its disk group,
followed by replacing the failed or failing disk with a new one. Replacing the disk can be
postponed until a later date if necessary.
To replace a disk, use the following procedure:
1. Select menu item 3 (Remove a disk for replacement) from the vxdiskadm
main menu.
2. At the following prompt, enter the name of the disk to be replaced (or enter list for
a list of disks):
Remove a disk for replacement
Menu: VolumeManager/Disk/RemoveForReplace
Use this menu operation to remove a physical disk from a disk
group, while retaining the disk name. This changes the state
for the disk name to a removed disk. If there are any
initialized disks that are not part of a disk group, you will be
given the option of using one of these disks as a replacement.
Enter disk name [<disk>,list,q,?] disk02