You can either use enclosure-based naming for disks or the operating system's naming scheme. VxVM commands display device names according to the current naming scheme.
The default naming scheme is enclosure-based naming (EBN). When you use DMP with native volumes, the disk naming scheme must be EBN, the use_avid attribute must be on, and the persistence attribute must be set to yes.
If operating system-based naming is selected, all VxVM commands that list DMP node devices will display device names according to the mode that is specified.
Table: Modes to display device names for all VxVM commands
To change the disk-naming scheme
Select Change the disk naming scheme from the vxdiskadm main menu to change the disk-naming scheme that you want VxVM to use. When prompted, enter y to change the naming scheme.
For operating system based naming, you are asked to select between default, legacy or new device names.
Alternatively, you can change the naming scheme from the command line. Use the following command to select enclosure-based naming:
# vxddladm set namingscheme=ebn [persistence={yes|no}] \ [lowercase=yes|no] [use_avid=yes|no]
Use the following command to select operating system-based naming:
# vxddladm set namingscheme=osn [persistence={yes|no}] \ [lowercase=yes|no] [mode={legacy|new|default}]
The optional persistence argument allows you to select whether the names of disk devices that are displayed by VxVM remain unchanged after disk hardware has been reconfigured and the system rebooted. By default, enclosure-based naming is persistent. Operating system-based naming is not persistent by default.
To change only the naming persistence without changing the naming scheme, run the vxddladm set namingscheme command for the current naming scheme, and specify the persistence attribute.
By default, the names of the enclosure are converted to lowercase, regardless of the case of the name specified by the ASL. The enclosure-based device names are therefore in lower case. Set the lowercase=no option to suppress the conversion to lowercase.
For enclosure-based naming, the use_avid option specifies whether the Array Volume ID is used for the index number in the device name. By default, use_avid=yes, indicating the devices are named as enclosure_avid. If use_avid is set to no, DMP devices are named as enclosure_index. The index number is assigned after the devices are sorted by LUN serial number.
More Information