| United States-English |
|
|
|
![]() |
VERITAS Volume Manager 3.5 Administrator's Guide > Chapter 2 Administering
DisksChanging the Disk-Naming Scheme |
|
You can either use enclosure-based naming for disks or the traditional naming scheme (such as c#t#d#). Select menu item 20 from the vxdiskadm main menu to change the disk-naming scheme that you want VxVM to use. Selecting this option displays the following screen:
Enter y to change the naming scheme. This restarts the vxconfig daemon to bring the new disk naming scheme into effect. 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 For example, to find the physical device that is associated with disk ENC0_21, the appropriate commands would be: # vxdisk list ENC0_21 To obtain the full pathname for the block and character disk device from these commands, append the displayed device name to . If you change from the c#t#d# based naming scheme to the enclosure-based naming scheme, 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: 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).
For more information about the vxdarestore command, see the vxdarestore(1M) manual page. If all persistent simple and nopriv disks in rootdg go into the error state and the vxconfigd daemon is disabled after the naming scheme change, perform the following steps:
If an imported disk group other than rootdg, consisting only of persistent simple and/or nopriv disks, is put in the "online dgdisabled" state after the change to the enclosure-based naming scheme, perform the following steps:
Depending on the hardware capabilities of your disks and of your system, you may either need to shut down and power off your system before installing the disks, or you may be able to hot-insert the disks into the live system. Many operating systems can detect the presence of the new disks on being rebooted. If the disks are inserted while the system is live, you may need to enter an operating system-specific command to notify the system. If the disks require low- or intermediate-level formatting before use, use the operating system-specific formatting command to do this.
The following sections provide detailed examples of how to use the vxdiskadm utility to place disks under VxVM control in various ways and circumstances. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||