Symantec logo

Changing NFS server major numbers for VxVM volumes

Use the haremajor command to determine and reassign, if necessary, the major number used by a system for shared VxVM volume block devices. For Veritas Volume Manager, the major number is set to the vxio driver number. To be highly available, each NFS server in a VCS cluster must have the same vxio driver number, or major number.

 To list the major number currently in use on a system

Use the command:

# haremajor -v

55

Run this command on each cluster node. If major numbers are not the same on each node, you must change them on the nodes so that they are identical.

 To list currently available major numbers for a system

Use the command:

# haremajor -a

54,56..58,60,62..

The output shows the numbers that are not being used on the system where the command is issued.

 To reset the major number on a system

You can reset the major number to an available number on a system. For example, to set the major number to 75 type:

# haremajor -s 75