ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • storage aggregate mirror

    Mirror an existing aggregate

    Availability: This command is available to cluster administrators at the admin privilege level.

    Description

    The storage aggregate mirror command adds a plex to an existing unmirrored aggregate. You can specify a list of disks to be used for the mirrored plex. If you do not specify the disks, the system automatically selects the disks based on the aggregate’s existing plex.

    Parameters

    -aggregate <aggregate name> - Aggregate

    This parameter specifies the aggregate to mirror.

    [-f, -allow-mixed-rpm <true>] - Allow Disks With Different RPM Values

    This parameter specifies whether disks that have different RPM values can be used. For example, SAS disks can rotate at 10,000 or 15,000 RPM. If this parameter is set to true and a list of disks are provided by using the -mirror-disklist parameter , the disks will be added even if the SAS disks you specify have different RPM values. This parameter works similarly for ATA disks, which can rotate at 5,400 or 7,200 RPM.

    +
    NOTE: This parameter is only applicable when the -mirror-disklist parameter is used.

    [-d, -mirror-disklist <disk path name>,…​] - Disks for Mirrored Plex

    This parameter specifies a list of disks to be used for the plex to be added. It must contain the same number of disks as the existing plex of the unmirrored aggregate specified using the -aggregate parameter.

    [-ignore-pool-checks <true>] - Don’t Enforce Plex Pool Best Practices

    For maximum reliability, all disks from a plex should come from the same SyncMirror pool, and the disks for the second plex should all come from the other pool. If needed, this behavior can be overridden by setting this parameter to true . This parameter can be used only with the -mirror-disklist parameter .

    [-f, -allow-same-carrier <true>] - Allow Same RAID Group Within Carrier

    This parameter can be used to allow two disks housed in the same carrier to be in the same RAID group for a mirrored aggregate. Having disks in the same carrier in the same RAID group is not desirable, because a carrier failure can cause a simultaneous outage for two disks in the same RAID group. For this reason, this configuration is not allowed by default. This restriction can be overridden by setting this parameter to true .

    +
    NOTE: This parameter is accepted only when the -mirror-disklist parameter is used.

    [-n, -simulate <true>] - Simulate Mirroring of an Existing Aggregate

    This option simulates the mirroring of an existing aggregate and prints the layout of the new plex.

    Examples

    The following example mirrors an unmirrored aggregate aggr1:

    cluster1::> storage aggregate mirror -aggregate aggr1

    The following example mirrors an unmirrored aggregate aggr1. The specified disks are used for the new plex.

    cluster1::> storage aggregate mirror -aggregate aggr1 -mirror-disklist 1.2.12, 1.2.14, 1.2.16
    Top of Page