Problem
V-5-2-1985:Try to add disk - no devices are available add replacement for disk for mirror Disk
Error Message
V-5-2-1985:Try to add disk - no devices are available add replacement for disk for mirror Disk
Cause
Need to physically replace the disk on system
Solution
Things needed to be done to replace a failed/failing disk in Volume Manager:
1.) Fix the hardware problem - replace disk
2.) Ensure that the OS recognizes the disk (format)
3.) Force VxVM to scan for added disk:
# vxdctl enable
4.) Attach the disk media name to the new disk:
# vxdg -g -k adddisk <dm>=<device_name>
5. Being that this device is named 'mirrordisk', it can assumed that this is a mirror, and that after it has been initialized with vxvm (vxdisksetup -i **), and added to the diskgroup (vxdg -g -k adddisk), then mirror the volume to the replaced disk using 'vxdiskadm', Option 6, Mirror volumes on a disk. ** If this is for the rootdg, use 'format=sliced'.