If disk device group registration fails because of a minor number conflict with another disk group, you must assign the new disk group a new, unused minor number. After assigning the new minor number, rerun the procedure to register the disk group as a Sun Cluster disk device group.
Become superuser on any node of the cluster.
Determine the minor numbers in use.
# ls -l /global/.devices/node@nodeid/dev/vx/dsk/* |
Choose another multiple of 1000 not in use as the base minor number for the new disk group.
Assign the new minor number to the disk group.
# vxdg reminor diskgroup base-minor-number |
Register the VxVM disk group as a Sun Cluster disk device group.
See SPARC: How to Register a Disk Group as a Disk Device Group (VERITAS Volume Manager).
This example uses the minor numbers 16000-16002 and 4000-4001. The vxdg reminor command is used to assign the base minor number 5000 to the new disk device group.
# ls -l /global/.devices/node@nodeid/dev/vx/dsk/* /global/.devices/node@nodeid/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@nodeid/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 |