The following sections describe checking and changing, if necessary, the major and minor numbers for the VxVM volumes that cluster systems use.
To check major and minor numbers on VxVM volumes
# export PATH=$PATH:/usr/sbin:/sbin:/opt/VRTS/bin
# ls -lL /dev/vx/dsk/shareddg/vol3
On Node A, the output may resemble:
brw------- 1 root root 32,43000 Mar 22 16:4 1 /dev/vx/dsk/shareddg/vol3
On Node B, the output may resemble:
brw------- 1 root root 36,43000 Mar 22 16:4 1 /dev/vx/dsk/shareddg/vol3
# grep vx /etc/name_to_major
Output on Node A:
vxdmp 30 vxio 32 vxspec 33 vxfen 87 vxglm 91
Output on Node B:
vxdmp 30 vxio 36 vxspec 37 vxfen 87 vxglm 91
haremajor -vx major_number_vxio major_number_vxspec
For example, enter:
# haremajor -vx 32 33
If the command succeeds, proceed to step 8. If this command fails, you receive a report similar to the following:
Error: Preexisting major number 32 These are available numbers on this system: 128... Check /etc/name_to_major on all systems for available numbers.
# haremajor -vx 36 37
If the command fails again, you receive a report similar to the following:
Error: Preexisting major number 36 These are available numbers on this node: 126... Check /etc/name_to_major on all systems for available numbers.
# haremajor -vx 128 129
Node where the vxio driver number have been changed require rebooting.