From release 3.2 of VxVM, you can either use enclosure-based naming for disks or the traditional naming scheme (such as c#t#d#). Select menu item 19 from the vxdiskadm main menu to change the disk-naming scheme that you want VxVM to use. Selecting this option displays the following screen:
Change the disk naming scheme
Menu: VolumeManager/Disk/NamingScheme
Use this screen to change the disk naming scheme (from the c#t#d# format to the enclosure based format and vice versa).
NOTE: This operation will result in vxconfigd being stopped and restarted.
Volume Manager is currently using the enclosure based format to name disks on the system.
Do you want to change the naming scheme ? [y,n,q,?] (default: n) |
Enter y to change the naming scheme. This restarts the vxconfig daemon to bring the new disk naming scheme into effect.
Using vxprint with Enclosure-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=enlcosure-based_name |
For example, to find the physical device that is associated with disk ENC0_21, the appropriate commands would be:
# vxdisk list ENC0_21
# vxdmpadm getsubpaths dmpnodename=ENC0_21 |
To obtain the full pathname for the block and character disk device from these commands, append the displayed device name to /dev/dsk or /dev/rdsk.