To specify a disk that has replaced a failed or removed disk
5
(Replace a failed or removed disk)
from the vxdiskadm
main menu.
list
for a list of disks):
VxVM INFO V-5-2-479 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
Select a removed or failed disk [<disk>,list,q,?] mydg02
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:
You can choose one of these disks to replace mydg02.
Choose "none" to initialize another disk to replace mydg02.
VxVM INFO V-5-2-378 The requested operation is to initialize
disk device sdb and to then use that device to
replace the removed or failed disk mydg02 in disk group mydg.
VxVM INFO V-5-2-382 The requested operation is to use the
initialized device sdb to replace the removed or
Enter the desired format [cdsdisk,sliced,simple,q,?]
Enter the format that is appropriate for your needs. In most cases, this is the default format, cdsdisk
.
vxdiskadm
asks if you want to use the default private region size of 65536 blocks (32 MB). Press Return to confirm that you want to use the default value, or enter a different value. (The maximum value that you can specify is 524288 blocks.)
vxdiskadm
program then proceeds to replace the disk, and returns the following message on success:
VxVM NOTICE V-5-2-158 Disk replacement completed successfully.
At the following prompt, indicate whether you want to replace another disk (y
) or return to the vxdiskadm
main menu (n
):