Table of ContentsView in Frames

Creating a mirrored aggregate

You can protect data on a new aggregate by creating it as a mirrored aggregate.

About this task

When you create an aggregate, you can specify for it to use SyncMirror. This ensures that the aggregate is a mirrored one from the start.

Steps

  1. Show all of the available disks by using the storage disk show command with the -fields parameter and the disk, pool, and container-type fields.
    Example
    cluster1::> storage disk show -fields disk,pool,container-type
    disk     container-type pool
    -------- -------------- -----
    1.0.0    aggregate      Pool0
    1.0.1    aggregate      Pool0
    1.0.2    aggregate      Pool0
    1.0.3    aggregate      Pool0
    1.0.4    aggregate      Pool0
    1.0.5    spare          Pool0
    1.0.6    spare          Pool0
    1.0.7    aggregate      Pool0
    1.0.8    spare          Pool0
    1.0.9    aggregate      Pool0
    1.0.10   aggregate      Pool0
    1.0.11   aggregate      Pool0
    1.0.12   aggregate      Pool0
    1.0.13   spare          Pool0
    1.0.14   spare          Pool0
    1.0.15   spare          Pool0
    1.0.16   spare          Pool0
    1.0.17   spare          Pool0
    1.0.18   spare          Pool0
    1.0.19   spare          Pool0
    1.0.20   spare          Pool0
    1.0.21   spare          Pool0
    1.0.22   spare          Pool0
    1.0.23   spare          Pool0
    1.1.0    spare          Pool0
    1.1.1    spare          Pool0
    1.1.2    spare          Pool0
    1.1.3    spare          Pool0
    1.1.4    spare          Pool0
    1.1.5    spare          Pool0
    1.1.6    spare          Pool0
    1.1.7    spare          Pool0
    1.1.8    spare          Pool0
    1.1.9    spare          Pool0
    
    disk     container-type pool
    -------- -------------- -----
    1.1.10   spare          Pool0
    1.1.11   spare          Pool0
    1.1.12   spare          Pool0
    1.1.13   spare          Pool0
    1.1.14   spare          Pool0
    1.1.15   spare          Pool0
    1.1.16   spare          Pool0
    1.1.17   spare          Pool0
    1.1.18   spare          Pool0
    1.1.19   spare          Pool0
    1.1.20   spare          Pool0
    1.1.21   spare          Pool0
    1.1.22   spare          Pool0
    1.1.23   spare          Pool0
    
    48 entries were displayed.
    
  2. Separate disk shelves on different loops configured as pool 0 and pool 1 by using the storage assign command.
    Example
    cluster1::> storage disk assign -disk 1.1.* -pool 1
    
    cluster1::> storage disk> show -fields disk,pool,container-type
    disk     container-type pool
    -------- -------------- -----
    1.0.0    aggregate      Pool0
    1.0.1    aggregate      Pool0
    1.0.2    aggregate      Pool0
    1.0.3    aggregate      Pool0
    1.0.4    aggregate      Pool0
    1.0.5    spare          Pool0
    1.0.6    spare          Pool0
    1.0.7    aggregate      Pool0
    1.0.8    spare          Pool0
    1.0.9    aggregate      Pool0
    1.0.10   aggregate      Pool0
    1.0.11   aggregate      Pool0
    1.0.12   aggregate      Pool0
    1.0.13   spare          Pool0
    1.0.14   spare          Pool0
    1.0.15   spare          Pool0
    1.0.16   spare          Pool0
    1.0.17   spare          Pool0
    1.0.18   spare          Pool0
    1.0.19   spare          Pool0
    1.0.20   spare          Pool0
    1.0.21   spare          Pool0
    1.0.22   spare          Pool0
    1.0.23   spare          Pool0
    1.1.0    spare          Pool1
    1.1.1    spare          Pool1
    1.1.2    spare          Pool1
    1.1.3    spare          Pool1
    1.1.4    spare          Pool1
    1.1.5    spare          Pool1
    1.1.6    spare          Pool1
    1.1.7    spare          Pool1
    1.1.8    spare          Pool1
    1.1.9    spare          Pool1
    
    disk     container-type pool
    -------- -------------- -----
    1.1.10   spare          Pool1
    1.1.11   spare          Pool1
    1.1.12   spare          Pool1
    1.1.13   spare          Pool1
    1.1.14   spare          Pool1
    1.1.15   spare          Pool1
    1.1.16   spare          Pool1
    1.1.17   spare          Pool1
    1.1.18   spare          Pool1
    1.1.19   spare          Pool1
    1.1.20   spare          Pool1
    1.1.21   spare          Pool1
    1.1.22   spare          Pool1
    1.1.23   spare          Pool1
    
    48 entries were displayed.
  3. Create the mirrored aggregate by using the storage aggregate create command with the -mirror parameter.
    Example
    cluster1::> storage aggregate create aggr4 -mirror -diskcount 10
  4. Confirm that the mirrored aggregate was created by using the storage aggregate show command.
    Example
    cluster1::> storage aggregate show aggr4
    
                                             Aggregate: aggr4
                                        Checksum Style: block
                                       Number Of Disks: 6
                                                Mirror: true
                                                  Node: node1
                                  Disks for First Plex: 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13
                               Disks for Mirrored Plex: 1.1.12, 1.1.13, 1.1.14, 1.1.15, 1.1.16
                             Partitions for First Plex: - 
                          partitions for Mirrored Plex: - 
                               Free Space Reallocation: on
                                             HA Policy: sfo
                                   Ignore Inconsistent: off
                    Space Reserved for Snapshot Copies: 5%
               Aggregate Nearly Full Threshold Percent: 95%
                      Aggregate Full Threshold Percent: 98%
                             Block Checksum Protection: on
                                       RAID Lost Write: on
                             Zoned Checksum Protection: -
                                 Enable Thorough Scrub: off
                                        Hybrid Enabled: false
                                        Available Size: 696.0GB
                                      Checksum Enabled: true
                                       Checksum Status: active
                                               Cluster: cluster1
                                       Home Cluster ID: 74515f83-f398-11e2-bca8-123456789123
                                            DR Home ID: -
                                          DR Home Name: -
                                      Has Mroot Volume: false
                         Has Partner Node Mroot Volume: false
                                               Home ID: 2014941400
                                             Home Name: node1
                               Total Hybrid Cache Size: 0B
                                                Hybrid: false
                                          Inconsistent: false
                                     Is Aggregate Home: true
                                         Max RAID Size: 16
           Flash Pool SSD Tier Maximum RAID Group Size: -
                                              Owner ID: 2014941400
                                            Owner Name: node1
                                       Used Percentage: 0%
                                                Plexes: /aggr4/plex0,
                                                        /aggr4/plex1
                                           RAID Groups: /aggr4/plex0/rg0 (block)
                                                        /aggr4/plex1/rg0 (block)
                                 RAID Lost Write State: on
                                           RAID Status: raid_dp, mirrored, normal
                                             RAID Type: raid_dp
       SyncMirror Resync Snapshot Frequency in Minutes: 60
                                               Is Root: false
          Space Used by Metadata for Volume Efficiency: 0B
                                                  Size: 698.0GB
                                                 State: online
                                        Aggregate Type: aggr
                            Maximum Write Alloc Blocks: 0
                                             Used Size: 2.02GB
                                     Uses Shared Disks: false
                                           UUID String: f9c49c6f-1821-4570-9d3f-b0178b180407
                                     Number Of Volumes: 2
                                 Is Flash Pool Caching: -
                          Is Eligible for the Balancer: false
                 State of the Aggregate Being Balanced: ineligible