Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
92 Administering disks
Changing the disk-naming scheme
Changing device naming for TPD-controlled enclosures
Note: This feature is available only if the default disk-naming scheme is set to use
operating system-based naming, and the TPD-controlled enclosure does not contain fabric
disks.
For disk enclosures that are controlled by third-party drivers (TPD) whose coexistence is
supported by an appropriate ASL, the default behavior is to assign device names that are
based on the TPD-assigned node names. You can use the
vxdmpadm command to switch
between these names and the device names that are known to the operating system:
# vxdmpadm setattr enclosure enclosure tpdmode=native|pseudo
The argument to the tpdmode attribute selects names that are based on those used by the
operating system (native), or TPD-assigned node names (pseudo).
The use of this command to change between TPD and operating system-based naming is
illustrated in the following example for the enclosure named EMC0:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
emcpower10 auto:hpdisk disk1 mydg online
emcpower11 auto:hpdisk disk2 mydg online
emcpower12 auto:hpdisk disk3 mydg online
emcpower13 auto:hpdisk disk4 mydg online
emcpower14 auto:hpdisk disk5 mydg online
emcpower15 auto:hpdisk disk6 mydg online
emcpower16 auto:hpdisk disk7 mydg online
emcpower17 auto:hpdisk disk8 mydg online
emcpower18 auto:hpdisk disk9 mydg online
emcpower19 auto:hpdisk disk10 mydg online
# vxdmpadm setattr enclosure EMC0 tpdmode=native
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c6t0d10 auto:hpdisk disk1 mydg online
c6t0d11 auto:hpdisk disk2 mydg online
c6t0d12 auto:hpdisk disk3 mydg online
c6t0d13 auto:hpdisk disk4 mydg online
c6t0d14 auto:hpdisk disk5 mydg online
c6t0d15 auto:hpdisk disk6 mydg online
c6t0d16 auto:hpdisk disk7 mydg online
c6t0d17 auto:hpdisk disk8 mydg online
c6t0d18 auto:hpdisk disk9 mydg online
c6t0d19 auto:hpdisk disk10 mydg online
If tpdmode is set to native, the path with the smallest device number is displayed.