The following procedure describes how to replace a failed or removed disk.
To specify a disk that has replaced a failed or removed disk
Select a removed or failed disk [<disk>,list,q,?] mydg02
The following devices are available as replacements: sdb sdk 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: sdb)
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 device sdb and to then use that device to replace the removed or failed disk mydg02 in disk group mydg. Continue with operation? [y,n,q,?] (default: y)
If the disk has already been initialized, press Return at the following prompt to replace the disk:
VxVM INFO V-5-2-382 The requested operation is to use the initialized device sdb to replace the removed or failed disk mydg02 in disk group mydg. Continue with operation? [y,n,q,?] (default: y)
Enter the desired format [cdsdisk,sliced,simple,q,?] (default: cdsdisk)
Enter the format that is appropriate for your needs. In most cases, this is the default format, cdsdisk.
Enter desired private region length [<privlen>,q,?] (default: 65536)
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):
Replace another disk? [y,n,q,?] (default: n)