haremajor - Change the major numbers for disk partitions or volumes.
haremajor -sd major_number
haremajor -vx major_number_vxio major_number_vxspec
haremajor -atf major-number
The haremajor command can be used to reassign major numbers of block devices such as disk partitions or VERITAS Volume Manager volumes. NFS clients know the major and minor numbers of the block device containing the file system exported on the NFS server. Therefore, when making the NFS server highly available, it is important to make sure that all nodes in the cluster that can act as NFS servers have the same major and minor numbers for the block device. The haremajor command can be used to change major numbers used by a system when necessary. Use the -sd option to reassign a major number for a disk partition managed by the SD driver. Minor numbers will automatically be the same on both systems. Use the -vx option to reassign the major number for the Volume Manager volume device driver (vxio) as well as the vxspec device used by the Volume Manager process vxconfigd. Currently assigned major numbers can be determined by entering the command:
grep '^vx' /etc/name_to_major
Note that minor numbers for volumes can be changed using the reminor option of the vxdg command; see the manual page for vxdg(1M). Use the -atf option to reassign the major number for the ATF (Application Transparent Failover) driver on a system.
Reassign the major number used by the SD driver on the system to major_number.
-vx major_number_vxio major_number_vxspec
Reassign the major numbers used by the Volume Manager device drivers.
Reassign a major number used by ATF driver to major_number.