Symantec logo

Changing the disk-naming scheme


  Note   Devices with very long device names (for example, Fibre Channel devices that include worldwide name (WWN) identifiers) are always represented by enclosure-based names. The operation in this section has no effect on such devices.


You can either use enclosure-based naming for disks or the operating system's naming scheme (such as c#t#d#s#). Select menu item 20 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. This restarts the vxconfigd daemon to bring the new disk naming scheme into effect.

Alternatively, you can change the naming scheme from the command line. The following commands select enclosure-based and operating system-based naming respectively:

# vxddladm set namingscheme=ebn [persistence={yes|no}]

# vxddladm set namingscheme=osn [persistence={yes|no}]

The change is immediate whichever method you use. 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, both enclosure-based naming and operating system-based naming are persistent.

The effect of enabling persistent device names in conjunction with operating system-based naming is discussed in Regenerating persistent device names.