VERITAS Volume Manager 4.1 Administrator's Guide

Chapter 2 81
Step 3. If you want to use the enclosure-based naming scheme, use vxdiskadm to add a
non-persistent simple disk to the rootdg disk group, change back to the
enclosure-based naming scheme, and then run the following command:
# /usr/bin/vxvm/bin/vxdarestore
NOTE If not all the disks in rootdg go into the error state, you need only
run vxdarestore to restore the disks that are in the error state and
the objects that they contain.
Persistent Simple/Nopriv Disks in Non-Root Disk Groups
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:
Step 1. Deport the disk group using the following command:
# vxdg deport diskgroup
Step 2. Use the vxdarestore command to restore the failed disks, and to recover the objects
on those disks:
# /usr/bin/vxvm/bin/vxdarestore
Step 3. Re-import the disk group using the following command:
# vxdg import diskgroup
Installing and Formatting Disks
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.
NOTE SCSI disks are usually preformatted. Reformatting is needed only if the
existing formatting has become damaged.
The following sections provide detailed examples of how to use the vxdiskadm utility to place
disks under VxVM control in various ways and circumstances.