Mirroring a shared storage pool
You can create, list, modify, or remove a failure group by using the command line interface on the Virtual I/O Server (VIOS) Version 2.2.3.0, or later.
Creating a failure group in a shared storage pool
You can create a mirrored copy of an existing shared storage pool.
- To create a failure group in the shared storage pool, run the failgrp
command. Ensure that the size of the new failure group is more than or equal to the current pool
size. In the following example, the hdisk2 and hdisk3 failure groups are
used to create a mirrored copy of the shared storage pool:
failgrp -create -clustername clusterA -sp poolA -fg FG1: hdisk2 hdisk3 - On VIOS Version 2.2.3.0, or later, you can create up to a maximum of two failure groups in the shared storage pool.
Listing failure groups in the shared storage pool
You can view the list of all the failure groups in the shared storage pool:
- To list all the failure groups in the shared storage pool, enter the following command:
failgrp -list - To change an existing failure group name in the shared storage pool, enter the following
command:
failgrp -modify -clustername clusterA -sp poolA -fg FG1 -attr name=newFG - To check whether the failure group name is changed in the shared storage pool, enter the
following command:
failgrp -list -clustername clusterA -sp poolA
Removing an existing failure group
You can remove an existing failure group in the shared storage pool:
- To remove an existing failure group from the shared storage pool, enter the following command:
failgrp -remove -clustername clusterA -sp poolA -fg Default - To check whether the failure group name is removed from the shared storage pool, enter the
following command:
failgrp -list -clustername clusterA -sp poolA
Note: You cannot remove the failure group if only one failure group exists in a shared storage
pool.