![]() |
![]() |
![]() |
![]() |
![]() |
A different procedure is required to remove and replace a disk in a Sun StorEdge A5x00 or similar type of array.
See "Removing and replacing a disk in a Sun StorEdge A5x00 disk array" on page 131.
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 c0t1d0 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 c0t1d0 to replace the removed or
vxdiskadm
displays the following message. Enter y
to confirm that you want to reinitialize the disk:
VxVM INFO V-5-2-876 The disk c0t1d0 was a previously
encapsulated root disk. Due to the disk layout that results
from root disk encapsulation, the preferred action is to
reinitialize and reorganize this disk. However, if you have
any non-redundant data on this disk you should not reorganize
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
):