Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
93Administering disks
Changing the disk-naming scheme
Discovering the association between enclosure-based disk names and OS-
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=enclosure-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/vx/dmp or /dev/vx/rdmp.
Issues regarding persistent simple or nopriv disks with enclosure-based
naming
If you change from c#t#d# based naming to enclosure-based naming, persistent simple or
nopriv disks may be put in the “error” state and cause VxVM objects on those disks to
fail. If this happens, use the following procedures to correct the problem:
■ Persistent simple or nopriv disks in the boot disk group
■ Persistent simple or nopriv disks in non-boot disk groups
These procedures use the
vxdarestore utility to handle errors in persistent simple and
nopriv disks that arise from changing to the enclosure-based naming scheme. You do not
need to perform either procedure if the devices on which any simple or nopriv disks are
present are not automatically configured by VxVM (for example, non-standard disk
devices such as ramdisks).
Note: The disk access records for simple disks are either persistent or non-persistent. The
disk access record for a persistent simple disk is stored in the disk’s private region. The
disk access record for a non-persistent simple disk is automatically configured in memory
at VxVM startup. A simple disk has a non-persistent disk access record if autoconfig
is included in the flags field that is displayed by the
vxdisk list disk_access_name
command. If the autoconfig flag is not present, the disk access record is persistent.
Nopriv disks are always persistent.