Veritas Storage Foundation 5.0 Cluster File System Administration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008
Cluster Volume Manager Administration
Recovery in a CVM Environment
Chapter 4
46
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
-r option on the master node. This initiates a vxrecover command to recover all
volumes.
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 -r option:
# vxreattach -r <device>
All devices should now be recognized by all nodes in the cluster.
NOTE Halting the cluster, rebooting all the cluster nodes, and restarting the cluster will also
result in proper device recognition.