Mirrors all the logical volumes on rootvg. This command may reboot the partition as part of its operation.
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.
The Virtual I/O Server will restart when the command is completed and you are prompted to continue. The Virtual I/O Server will be restarted as part of the command's operation. If the user does not want the VIOS to reboot as part of the commands operation, the user may specify the -defer option, which is only available for VIOS 1.4 or later. No need to reboot for VIOS 1.5 or later, so you should use the -defer option. If the command restarts as part of its operation, then the user can specify not to be prompted to continue. The -f option tells the command to run without prompting you.
Only the prime administrator (padmin) can run this command.
| 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 -f hdisk4
mirrorios -defer hdisk4