VxVM allows you to mirror the root volume and other areas needed for booting onto another disk. This makes it possible to recover from failure of your
root disk by replacing it with one of its mirrors.
To mirror your root disk onto another disk
vxdiskadmcommand, or the Veritas Enterprise Administrator (VEA) to add it to the
bootdgdisk group. Ensure that you specify the
slicedformat for the disk.
6 (Mirror Volumes on a Disk)from the
vxdiskadmmain menu, or use the VEA to create a mirror of the root disk. (These automatically invoke the
vxrootmircommand if the mirroring operation is performed on the
Alternatively, to mirror only those file systems on the root disk that are required to boot the system, run the following command:
where altboot_disk is the disk media name of the mirror for the root disk.
vxrootmir creates a mirror for
rootvol (the volume for the
root file system on an alternate disk). The alternate
root disk is configured to enable booting from it if the primary
root disk fails.
true. This enables the use of VxVM boot disk aliases, which identify mirrors of the
rootdisk from which the system can be booted. If the system is up and running, set
trueusing the following command:
You can also set
use-nvramrc? at the
ok boot prompt:
setenv use-nvramrc? true
vx-altboot_disk, by entering the following command at the
You can use the
devalias command at the boot prompt to discover the alternate disks from which the system may be booted: