The following sections describe checking and changing, if necessary, the major and minor numbers for VxVM volumes used by cluster systems.
To check major and minor numbers on VxVM volumes
ls -lL
block_device command on each node:
# 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
On Node B, the output may resemble:
vxio
and vxspec
used by Veritas Volume Manager (other major numbers are also displayed, but only vxio
and vxspec
are of concern for reconciliation):
vxio
and vxspec
to match those of Node A, use the command:
haremajor -vx major_number_vxio major_number_vxspec
If the command succeeds, proceed to step 8. If this command fails, you receive a report similar to the following:
Error: Preexisiting major number 32
These are available numbers on this system: 128...
haremajor
command on Node A to change the major number (32
/33
) to match that of Node B (36
/37
). For example, enter:
If the command fails again, you receive a report similar to the following:
Error: Preexisiting major number 36
These are available numbers on this node: 126...
128
), and use this number in the haremajor
command to reconcile the major numbers. Type the following command on both nodes:
haremajor
was successful.
vxdg
(1M) manual page for instructions on reconciling the Veritas Volume Manager minor numbers, with specific reference to the reminor option.
Node where the vxio driver number have been changed require rebooting.