Symantec logo

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

emcpower10s2 auto:sliced disk1 mydg online

emcpower11s2 auto:sliced disk2 mydg online

emcpower12s2 auto:sliced disk3 mydg online

emcpower13s2 auto:sliced disk4 mydg online

emcpower14s2 auto:sliced disk5 mydg online

emcpower15s2 auto:sliced disk6 mydg online

emcpower16s2 auto:sliced disk7 mydg online

emcpower17s2 auto:sliced disk8 mydg online

emcpower18s2 auto:sliced disk9 mydg online

emcpower19s2 auto:sliced disk10 mydg online

# vxdmpadm setattr enclosure EMC0 tpdmode=native

# vxdisk list

DEVICE TYPE DISK GROUP STATUS

c6t0d10s2 auto:sliced disk1 mydg online

c6t0d11s2 auto:sliced disk2 mydg online

c6t0d12s2 auto:sliced disk3 mydg online

c6t0d13s2 auto:sliced disk4 mydg online

c6t0d14s2 auto:sliced disk5 mydg online

c6t0d15s2 auto:sliced disk6 mydg online

c6t0d16s2 auto:sliced disk7 mydg online

c6t0d17s2 auto:sliced disk8 mydg online

c6t0d18s2 auto:sliced disk9 mydg online

c6t0d19s2 auto:sliced disk10 mydg online

If tpdmode is set to native, the path with the smallest device number is displayed.