When importing a disk group:
# vxdg import datadg
VxVM vxdg WARNING V-5-1-1328 Volume
When trying to reminor,
# vxdg -g datadg reminor 88000
VxVM vxdg ERROR V-5-1-333 88000: Invalid base minor number
Under certain conditions, it is possible that the base minor number for a disk group will conflict when 2 diskgroup have the same base minor number and wil prevent a disk group from being imported.
A device minor number uniquely identifies some characteristic of a device to the device driver that controls it. VxVM assigns unique device minor numbers to each object (volume, plex, subdisk, disk, or disk group) that it controls. VxVM reserves the range of minor numbers from 0 to 999 for use with volumes in the boot disk group. For example, the rootvol volume is always assigned minor number 0.
The base minor number is assigned when the diskgroup is created. If its not specified, VxVM chooses one at random. The number chosen is at least 1000, is a multiple of 1000, and yields a usable range of 1000 device numbers. The chosen number also does not overlap within a range of 1000 of any currently imported disk groups, and it does not overlap with any currently allocated volume device numbers.
To specify the base minor number during diskgroup creation, # vxdg init datadg disk=Disk_0,Disk_1 minor=57000
To check the current value of base minor number for all the disk group # vxprint -l | grep "minor="
device: minor=9000 bdev=75/9000 cdev=75/9000 path=/dev/vx/dsk/datadg/testvol
device: minor=9000 bdev=75/9001 cdev=75/9001 path=/dev/vx/dsk/datadg/testvol2
.....
When importing a diskgroup on this host, if there's a minor number conflict, it results with following warning message: # vxdg import datadg VxVM vxdg WARNING V-5-1-1328 Volume testvol: Temporarily renumbered due to conflict
To change the base minor number of the diskgroup, pick a number which does not exist already # vxdg -g datadg reminor 48000
If the reminor command fails with error # vxdg -g datadg reminor 48000 0
VxVM vxdg ERROR V-5-1-14561 4800000: Invalid base minor number
The base minor for private
Finally, if you happen to pick an existing minor number
# vxdg -g datadg reminor 9000
VxVM vxdg ERROR V-5-1-10127 changing volume testvol:
Duplicate minor number
Note: If the diskgroup is a part of a Sun Cluster, after applying the above command, the disk group has to be
registered as per the following URL (for further information, Contact Oracle/SUN):
https://docs.oracle.com/cd/E19787-01/820-4679/cihiiihh/index.html