Decide which disks you want to place under VxVM control. The other disks in your configuration are not affected. Disks may be brought under VxVM control in two ways:
Verify the disk contents. Answer the following questions and list the data for your convenience.
The free space must be at the beginning or end of the disk and must not belong to a partition. This space is used for storing disk group configurations and a disk label that ensures VxVM can identify the disk, even if it is moved to a different address or controller. It is also used to keep track of disk configuration and to ensure correct recovery.
The boot disk is a special case. If no other space is available, VxVM attempts to allocate space usually reserved for swap by shrinking the swap partition. This process is known as swap relocation and, if necessary, happens automatically during root disk encapsulation.
Note
Although it is possible to put disks with no free space under VxVM control, this is only used as a migration strategy. Many VxVM capabilities based on disk identity are available only for disks with the required free space. See the vxdisk
(1M) manual page for information on the nopriv
disk type.
EEPROM
variable use-nvramrc?
to true
. This will enable VxVM to take advantage of boot disk aliases to identify the mirror of the boot disk if a replacement is needed. If this variable is set to false
, you must determine which disks are bootable yourself. Set this variable to true
as follows:
If your root disk is connected over fabric, you should check the Hardware Compatibility List at http://support.veritas.com to see if your device type is supported for boot encapsulation
prtvtoc
(1M) command to record the layout of the partitions on the unencapsulated boot disk (/dev/rdsk/c0t0d0s2
in this example):
swap
so that it is possible to dump to that partition later. See format(1M)
for information on tagging the swap partition.
Note
If the path to an aliased boot device is different from the path in the /devices
directory, aliases may not function correctly. This might happen if the pathname is incorrectly entered at the command line, or if the device's pathname changes at a later date.