VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Removing and Replacing Disks
78 VERITAS Volume Manager Administrator’s Guide
5. If you chose to replace the disk in step 4, press Return at the following prompt to
confirm this:
Requested operation is to remove disk02 from group rootdg.
The removed disk will be replaced with disk device c0t1d0.
Continue with operation? [y,n,q,?] (default: y)
6. vxdiskadm displays the following success messages:
Replacement of disk disk02 in group rootdg with disk device
c0t1d0 completed successfully.
At the following prompt, indicate whether you want to remove another disk (y) or
return to the vxdiskadm main menu (n):
Remove another disk? [y,n,q,?] (default: n)
Note If removing a disk causes one or more volumes to be disabled, see the section,
“Restarting a Disabled Volume” in the chapter “Recovery from Hardware Failure”
in the VERITAS Volume Manager Troubleshooting Guide, for information on how to
restart a disabled volume so that you can restore its data from a backup.
If you wish to move hot-relocate subdisks back to a replacement disk, see “Configuring
Hot-Relocation to Use Only Spare Disks” on page 238.
Replacing a Failed or Removed Disk
Use the following procedure to replace a failed or removed disk with a new disk:
1. Select menu item 4 (Replace a failed or removed disk) 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):
Replace a failed or removed disk
Menu: VolumeManager/Disk/ReplaceDisk
Use this menu operation to specify a replacement disk for a disk
that you removed with the “Remove a disk for replacement” menu
operation, or that failed during use. You will be prompted for
a disk name to replace and a disk device to use as a replacement.
You can choose an uninitialized disk, in which case the disk
will be initialized, or you can choose a disk that you have
already initialized using the Add or initialize a disk menu
operation.
Select a removed or failed disk [<disk>,list,q,?] disk02