VERITAS Volume Manager 4.1 Administrator's Guide

Administering Disks
Removing and Replacing Disks
Chapter 2100
Replacing a Failed or Removed Disk
NOTE You may need to run commands that are specific to the operating system or disk
array when replacing a physical disk.
Use the following procedure to replace a failed or removed disk with a new disk:
Step 1. Select menu item 4 (Replace a failed or removed disk) from the vxdiskadm
main menu.
Step 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
VxVM INFO V-5-2-479 Use this menu operation to specify a replacement disk for a
diskthat you removed with the “Remove a disk for replacement” menuoperation, 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 diskwill be initialized,
or you can choose a disk that you havealready initialized using the Add or
initialize a disk menuoperation.
Select a removed or failed disk [<disk>,list,q,?] mydg02
Step 3. The vxdiskadm program displays the device names of the disk devices available for
use as replacement disks. Your system may use a device name that differs from the
examples. Enter the device name of the disk or press Return to select the default
device:
The following devices are available as replacements:
c0t1d0 c1t1d0
You can choose one of these disks to replace mydg02.
Choose "none" to initialize another disk to replace mydg02.
Choose a device, or select "none"
[<device>,none,q,?] (default: c0t1d0)
Step 4. Depending on whether the replacement disk was previously initialized, perform the
appropriate step from the following:
If the disk has not previously been initialized, press Return at the following
prompt to replace the disk:
VxVM INFO V-5-2-378 The requested operation is to initialize disk