Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)

Chapter 2, Administering Disks
Changing the Disk-Naming Scheme
73
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.
Discovering the Association between Enclosure-Based Disk
Names and OS-Based Disk Names
If you enable enclosure-based naming, and use the vxprint command to display the
structure of a volume, it shows enclosure-based disk device names (disk access names)
rather than c#t#d# names. To discover the c#t#d# names that are associated with a
given enclosure-based disk name, use either of the following commands:
# vxdisk list enclosure-based_name
# vxdmpadm getsubpaths dmpnodename=enclosure-based_name