If registering a disk device group fails because of a minor number conflict with another disk group, the new disk group must be assigned a new, unused minor number. After assigning the new minor number, you then re-register the disk group as a Sun Cluster disk device group.
Become superuser on a node of the cluster.
Determine the minor numbers in use.
# ls -l /global/.devices/node@1/dev/vx/dsk/* |
Choose any other multiple of 1000 that is not in use to be the base minor number for the new disk group.
Assign the new base minor number to the disk group.
# vxdg reminor diskgroup base_minor_number |
Return to Step 4 of "How to Create and Register a Shared Disk Group" to register the disk group as a Sun Cluster disk device group.
This example shows the minor numbers 16000-16002 and 4000-4001 being used. The vxdg reminor command is used to re-minor the new disk device group to use the base minor number 5000.
# ls -l /global/.devices/node@1/dev/vx/dsk/* /global/.devices/node@1/dev/vx/dsk/dg1 brw------- 1 root root 56,16000 Oct 7 11:32 dg1v1 brw------- 1 root root 56,16001 Oct 7 11:32 dg1v2 brw------- 1 root root 56,16002 Oct 7 11:32 dg1v3 /global/.devices/node@1/dev/vx/dsk/dg2 brw------- 1 root root 56,4000 Oct 7 11:32 dg2v1 brw------- 1 root root 56,4001 Oct 7 11:32 dg2v2 # vxdg reminor dg3 5000 |
You must register the disk group as a Sun Cluster disk device group. Go to Step 4 of "How to Create and Register a Shared Disk Group".