CLI Guide

Table Of Contents
as a guide to decide which disks to physically remove before doing the trust operation to minimize the
amount of corrupt data in the trusted disk group if you want to use the unsafe parameter.
Examples
Trust a disk group which has enough good disks to complete the trust operation. The disk group
may have out-of-sync or partially reconstructed disks but they are not needed to complete the trust
operation. The command completes successfully.
# trust enable
Success: Command completed successfully. - Trust is enabled.
(2013-09-17 04:29:28)
# trust disk-group data_1
Success: Command completed successfully. (data_1) - Trust operation
completed successfully for this disk group. (2013-09-17 04:29:35)
Trust a disk group which does not have enough good disks available to complete the trust operation.
The command fails.
# trust enable
Success: Command completed successfully. - Trust is enabled.
(2013-09-17 04:12:49)
# trust disk-group data_1
Error: The trust operation failed because the disk group has an
insufficient number of in-sync disks. - Please contact Support for
further assistance. (2013-09-17 04:13:13)
Trust a disk group which has out-of-sync or partially reconstructed disks that would be needed to
complete the trust operation. The command fails.
# trust enable
Success: Command completed successfully. - Trust is enabled.
(2013-09-17 09:06:41)
# trust disk-group data_1
Error: Command failed. - The disk group specified contains out-of-
sync or partially reconstructed disks that are necessary to restore
the disk group to an accessible state. Continuing with the trust
operation may lead to data corruption. Please contact Support for
further assistance. (2013-09-08 09:06:46)
Continuing the previous example, you decide to re-enable trust and proceed by specifying the unsafe
parameter.
# trust enable
Success: Command completed successfully. - Trust is enabled.
(2013-09-17 09:06:48)
# trust disk-group data_1 unsafe
Location Serial Number Type State Partially Reconstructed Out Of Sync
Age
----------------------------------------------------------------------
-------
1.2 SN SAS LEFTOVR False True 6
1.4 SN SAS VIRTUAL POOL False False 7
1.5 SN SAS LEFTOVR True False 4
----------------------------------------------------------------------
-------
WARNING: Found partially reconstructed and out-of-sync disk(s). Using
these disks for trust will in most cases cause data corruption.
Because of the risk of data corruption, it is recommended that you
continue the trust operation only with the supervision of Support
personnel. If you are ready to continue, enter "continue" at the
prompt or enter "abort" to abort the operation and leave the disk
group offline.
> continue
If you continue with the trust operation, you risk corrupting data in
this disk group. Enter "accept" at the prompt if you intend to accept
this risk and proceed with the trust operation or enter "abort" to
abort the operation and leave the disk group offline.
> accept
278
Alphabetical list of commands