VERITAS Volume Manager 4.1 Administrator's Guide

Chapter 2 78
Changing the Disk-Naming Scheme
NOTE Devices with very long device names (for example, Fibre Channel devices that
include worldwide name (WWN) identifiers) are always represented by
enclosure-based names. The operation in this section has no effect on such
devices.
You can either use enclosure-based naming for disks or the traditional naming scheme (such
as c#t#d#). Select menu item 20 from the vxdiskadm main menu to change the disk-naming
scheme that you want VxVM to use. When prompted, enter y to change the naming scheme.
This restarts the vxconfig daemon to bring the new disk naming scheme into effect.
Alternatively, you can change the naming scheme from the command line. The following
commands select enclosure-based and operating system-based naming respectively:
# vxddladm set namingscheme=ebn
# vxddladm set namingscheme=osn
The change is immediate whichever method you use.
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