HAREMAJOR(1M)

NAME

haremajor - Change the major numbers for disk partitions or volumes.

SYNOPSIS

haremajor -sd major_number

haremajor -vx major_number_vxio major_number_vxspec

haremajor -atf major-number

AVAILABILITY

VRTSvcs

DESCRIPTION

The haremajor command can be used to reassign major numbers of block devices such as disk partitions or Veritas Volume Manager (VxVM) 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 Veritas Volume Manager device driver (vxio) as well as the vxspec device used by the Veritas 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.

OPTIONS

-sd major_number
  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 Veritas Volume Manager device drivers.
-atf major_number
  Reassign a major number used by ATF driver to major_number.

SEE ALSO

vxdg(1M)

COPYRIGHTS

Copyright (c) 2016 Veritas.

All rights reserved.


VCS 7.1 HAREMAJOR(1M)