mirrorios command

Purpose

Mirrors all the logical volumes on rootvg.

Syntax

mirrorios [PhysicalVolume ...]

Description

The mirrorios command 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.

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

Note: For best results, mirror the rootvg volume group on all Virtual I/O Server partitions.

Only the prime administrator (padmin) can run this command.

Flags

Flag name Description
PhysicalVolume Specifies the target physical volume name. The volume must already be a member of the volume group.

Exit Status

Return code Description
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 hdisk4, type the following command:
    mirrorios hdisk4



Last updated: Wed, November 18, 2020