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:sliced disk1 mydg online
emcpower11 auto:sliced disk2 mydg online
emcpower12 auto:sliced disk3 mydg online
emcpower13 auto:sliced disk4 mydg online
emcpower14 auto:sliced disk5 mydg online
emcpower15 auto:sliced disk6 mydg online
emcpower16 auto:sliced disk7 mydg online
emcpower17 auto:sliced disk8 mydg online
emcpower18 auto:sliced disk9 mydg online
emcpower19 auto:sliced disk10 mydg online
# vxdmpadm setattr enclosure EMC0 tpdmode=native
sdj auto:sliced disk1 mydg online
sdk auto:sliced disk2 mydg online
sdl auto:sliced disk3 mydg online
sdm auto:sliced disk4 mydg online
sdn auto:sliced disk5 mydg online
sdo auto:sliced disk6 mydg online
sdp auto:sliced disk7 mydg online
sdq auto:sliced disk8 mydg online
sdr auto:sliced disk9 mydg online
sds auto:sliced disk10 mydg online
If tpdmode
is set to native
, the path with the smallest device number is displayed.