mirrorios Command

Purpose

Mirrors all the logical volumes on rootvg.

Syntax

mirrorios [ -f ] [ PhysicalVolume ...]

Description

The mirrorios subcommand takes all the logical volumes on the rootvg volume group and mirrors those logical volumes. The target physical drives must already be members of the volume group.

By default, the mirrorios subcommand attempts to mirror the logical volumes onto any of the disks in a volume group. If you wish to control which drives are used for mirroring, you must include the list of disks in the input parameters, PhysicalVolume. Mirror strictness is enforced. Additionally, the mirrorios subcommand mirrors the logical volumes, using the default settings of the logical volume being mirrored.

The user is warned that the Virtual I/O Server will reboot upon the completion of this command and is prompted to continue. If the -f option is specified, the command will run without prompting the user.

Note:
It is recommended that the rootvg volume group be mirrored on all Virtual I/O Server partitions.

This command can only be executed by the prime administrator.

Flags

-f Executes the command with out prompting the user to continue.

Exit Status

5 The Virtual I/O Server is already mirrored
6 Boot LV not found
7 The physical volume appears to belong to another volume group

Examples

  1. To mirror the Virtual I/O Server root volume group to physical volume hdisk8, type:
    mirrorios hdisk8

Related Information

The activatevg command, the chvg command, the deactivatevg command, the exportvg command, the importvg command, the lsvg command, the mkvg command, the syncvg command, and the unmirrorios command.


Send feedback |  Rate this page