Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

95Administering disks
Installing and formatting disks
# /etc/vx/bin/vxdarestore
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.
Displaying and changing default disk layout attributes
To display or change the default values for initializing disks, select menu item 21
(Change/display the default disk layout) from the vxdiskadm main
menu. For disk initialization, you can change the default format and the default length of
the private region.
The attribute settings for initializing disks are stored in the file,
/etc/default/vxdisk.
See the
vxdisk(1M) manual page for more information.
Adding a disk to VxVM
Formatted disks being placed under VxVM control may be new or previously used outside
VxVM. The set of disks can consist of all disks on the system, all disks on a controller,
selected disks, or a combination of these.
Depending on the circumstances, all of the disks may not be processed in the same way.
Caution: Initialization does not preserve data on disks.