The feature to change device naming is available for both, the operating system-based naming and enclosure-based naming schemes, and if 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(OSN scheme) or the enclosure based names (EBN scheme):
# vxdmpadm setattr enclosure enclosure tpdmode=native|pseudo
The use of this command to change between TPD Pseudo and operating system-based
naming is illustrated in the following example for the enclosure named pp_emc_clariion0:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
emcpower0s2 auto:cdsdisk d0 testdg online
emcpower1s2 auto:cdsdisk d1 testdg online
emcpower2s2 auto:cdsdisk d2 testdg online
emcpower3s2 auto:cdsdisk d3 testdg online
emcpower4s2 auto:cdsdisk d4 testdg online
emcpower5s2 auto:cdsdisk d5 testdg online
# vxddladm set namingscheme=osn
# vxdmpadm setattr enclosure pp_emc_clariion0 tpdmode=native
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t5006016041E03B33d0s2 auto:cdsdisk d5 testdg online
c2t5006016041E03B33d1s2 auto:cdsdisk d4 testdg online
c2t5006016041E03B33d2s2 auto:cdsdisk d3 testdg online
c2t5006016041E03B33d3s2 auto:cdsdisk d2 testdg online
c2t5006016041E03B33d4s2 auto:cdsdisk d1 testdg online
c2t5006016041E03B33d5s2 auto:cdsdisk d0 testdg online
And this second example illustrates changing between TPD Pseudo and enclosure based naming (EBN) for the enclosure named pp_emc_clariion0:
# vxdisk list
emcpower0s2 auto:cdsdisk d0 testdg online
emcpower1s2 auto:cdsdisk d1 testdg online
emcpower2s2 auto:cdsdisk d2 testdg online
emcpower3s2 auto:cdsdisk d3 testdg online
emcpower4s2 auto:cdsdisk d4 testdg online
emcpower5s2 auto:cdsdisk d5 testdg online
# vxddladm set namingscheme=ebn
# vxdmpadm setattr enclosure pp_emc_clariion0 tpdmode=native
# vxdisk list
pp_emc_clariion0_0 auto:cdsdisk d2 testdg online
pp_emc_clariion0_1 auto:cdsdisk d1 testdg online
pp_emc_clariion0_2 auto:cdsdisk d0 testdg online
pp_emc_clariion0_3 auto:cdsdisk d5 testdg online
pp_emc_clariion0_4 auto:cdsdisk d4 testdg online
pp_emc_clariion0_5 auto:cdsdisk d3 testdg online