Mirrors all the logical volumes on rootvg.
mirrorios [PhysicalVolume ...]
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.
Only the prime administrator (padmin) can run this command.
| Flag name | Description |
|---|---|
| PhysicalVolume | Specifies the target physical volume name. The volume must already be a member of the volume group. |
| 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 |
mirrorios hdisk4