Note The feature to change device naming 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.
To change device naming for TPD-controlled enclosures
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
:
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
# vxdmpadm setattr enclosure EMC0 tpdmode=native
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.