The following sections describe checking and changing, if necessary, the major and minor numbers for disk partitions used by cluster nodes.
To check major and minor numbers on disk partitions
The variable
block_device
refers to a partition on which a file system is mounted for export via NFS. Use this command on each NFS file system. For example, type:
crw-r----- 1 root sys 32,1 Dec 3 11:50 /dev/dsk/c1t1d0s3
crw-r----- 1 root sys 32,1 Dec 3 11:55 /dev/dsk/c1t1d0s3
Note that the major numbers (32) and the minor numbers (1) match, satisfactorily meeting the requirement for NFS file systems.
To reconcile major numbers that do not match on disk partitions
Error: Preexisiting major number 32
These are available numbers on this system: 128...
haremajor
command on Node B and change it to 128,
To reconcile minor numbers that do not match on disk partitions
1
and 3
and are reconciled by setting to 30 on each node.
Output from this command resembles the following on Node A:
lrwxrwxrwx 1 root root 83 Dec 3 11:50
devices/sbus@1f,0/QLGC,isp@0,10000/sd@1,0
:
d,raw
The device
name
(in bold) includes the slash following the word devices, and continues to, but does not include, the colon.
"/sbus@1f,0/QLGC,isp@0,10000/sd@0,0" 0 "sd"
"/sbus@1f,0/QLGC,isp@0,10000/sd@1,0
" 1 "sd"
"/sbus@1f,0/QLGC,isp@0,10000/sd@2,0" 2 "sd"
"/sbus@1f,0/QLGC,isp@0,10000/sd@3,0" 3 "sd"
"/sbus@1f,0/SUNW,fas@e,8800000/sd@d,0" 27 "sd"
"/sbus@1f,0/SUNW,fas@e,8800000/sd@e,0" 28 "sd"
"/sbus@1f,0/SUNW,fas@e,8800000/sd@f,0" 29 "sd"
In the output, the instance numbers are in the second field. The instance number associated with the device name that matches the name for Node A displayed in step 2, is "1."
/etc/path_to_inst
to make the second node's instance number similar to that of the first node.
/etc/path_to_inst
on both nodes. Change the instance number associated with the device name to an unused number greater than the highest number used by other devices. For example, the output of step b shows the instance numbers used by all devices (from 0 to 29), so edit the file /etc/path_to_inst
on each node and reset the instance numbers to 30.
/etc/path_to_inst
was modified: