Cluster Volume Manager Administration
Recovery in a CVM Environment
NOTE
Recovery in a CVM Environment
In a Cluster Volume Manager environment, when one set of mirrored disks fails and gets replaced, vxreattach fails to recognize the replaced disk.
The exact error message is: Device path not valid When reattaching failed disks to a Cluster Volume Manager (CVM) cluster, the correct procedure requires running the vxdctl enable command on all nodes and running the vxreattach command with the
Follow these steps to reattach failed disks to a CVM cluster:
1. Confirm that paths and devices are ready for I/O, using the dd command:
#dd if=/dev/rdsk/c6t2d1 of=/dev/null bs=1k count=10 10+0 records in
10+0 records out
2.Execute the vxdctl enable command on all nodes in the cluster
3.On the master node, reattach and recover all volumes with the vxreattach command, using the
#vxreattach
All devices should now be recognized by all nodes in the cluster.
Halting the cluster, rebooting all the cluster nodes, and restarting the cluster will also result in proper device recognition.
46 | Chapter 4 |