Table of ContentsView in Frames

Converting an aggregate to a mirrored aggregate

You can convert an aggregate to a mirrored aggregate by adding a plex to the aggregate. Thus, you can use SyncMirror to mirror a previously unmirrored aggregate. You can check the details of an aggregate by using the aggr status -r command.

Before you begin

You must have ensured that a mirrored aggregate has only two plexes.

About this task

If the aggregate that you want to mirror uses disks or array LUNs of different capacities, Data ONTAP can select disks or array LUNs that match the smallest capacity from a different pool. If there are not enough disks or array LUNs of that capacity in the pool, Data ONTAP selects higher-capacity disks or array LUNs and downsizes them.
The three methods of converting an aggregate to a mirrored aggregate are as follows:
  • Ascertaining the disks or array LUNs available, and specify which ones to use.
  • Allowing Data ONTAP to automatically use the disks or array LUNs that are available.
  • Previewing the disks or array LUNs that Data ONTAP has selected. Then, you can either use the same selection or modify the selection.

Steps

  1. Use the aggr mirror command to add a plex to an aggregate. As required, choose one of the actions from the following table.
    If... Then...
    You know the disks or array LUNs to be used for the plex addition and want to specify the disks or array LUNs Enter the following command:aggr mirror aggr_name -d disk-listEnsure that you choose the correct number and size of disks or array LUNs in the list.
    Note: These disks or array LUNs should be from a different pool than that already being used by the aggregate.

    This step adds a plex to the aggregate, making it a mirrored aggregate.

    You want Data ONTAP to select the disks or array LUNs for the plex addition Go to the next step.
    Note: Allowing Data ONTAP to select the disks or array LUNs is the easiest method of adding a plex to an aggregate.
    aggr_name is the name of the mirrored aggregate.

    disk-list is the list of IDs of two or more available disks or array LUNs. Separate the entries with the space character.

    Example
    The following command adds a plex to the aggregate aggrD with disks 7.1 and 7.2, and makes aggrD a mirrored aggregate.aggr mirror aggrD -d 7.1 7.2
  2. As required, choose one of the actions from the following table.
    If you want... Then enter the following command...
    Data ONTAP to automatically specify the disks or array LUNs for the plex addition aggr mirror aggr_name

    This step adds a plex to the aggregate, making it a mirrored aggregate.

    To preview the disks or array LUNs selected by Data ONTAP for the plex addition aggr mirror aggr_name -n
    Note: The -n option instructs Data ONTAP not to add the plex, but to display the disks or array LUNs selected automatically, for the plex addition.
    The system displays an aggr mirror command indicating the disks or array LUNs to be used for the plex addition.

    Go to the next step.

    Example
    The following command adds a plex to the aggregate aggrE, making aggrE a mirrored aggregate.aggr mirror aggrE
  3. As required, choose one of the actions from the following table.
    If you want to... Then...
    Use the selection provided in the preview Enter the aggr mirror command displayed by the system in the previous step.
    Change one or more of the disks or array LUNs provided in the preview Enter the aggr mirror command displayed by the system in the previous step. Substitute any disks or array LUNs with what you want to specify.
    Example
    The following command displays the aggr mirror command with a preview of the disk selection for adding a plex to an aggregate named aggrF.aggr mirror aggrF -nThe system returns the following command:
    aggr mirror aggrF -d 8.1 8.2
    Use the preceding command to add a plex to the aggregate aggrF to make it a mirrored aggregate.
    For more information about aggregates, see the Data ONTAP Storage Management Guide for 7-Mode.