Disk_and_aggregate_management_with_the_CLI
Disk_and_aggregate_management_with_the_CLI
CLI
ONTAP 9
NetApp
January 25, 2022
• You want to use the command-line interface (CLI), not System Manager or an automated scripting tool.
• You want to use best practices, not explore every available option.
• You have a MetroCluster configuration and you are following the procedures in the MetroCluster
documentation for initial configuration and guidelines for aggregates and disk management.
Aggregate creation
Aggregate creation workflow
Creating aggregates provides storage to volumes on your system. Beginning with ONTAP
9.2, you can let ONTAP recommend aggregate configurations for your system (auto-
provision). If the auto-provision method is not available or appropriate in your
environment, you can configure aggregates manually.
1
Decide which aggregate creation method to use
Although aggregate creation with auto-provision is a best practice in ONTAP 9.2 and
later, you must determine whether it is supported in your environment. If it is not, you
must make decisions about RAID policy and disk configuration, and then create the
aggregates manually.
When you create an aggregate using the storage aggregate auto-provision command, ONTAP
analyzes available spare disks in the cluster and generates a recommendation about how spare disks should
be used to create aggregates according to best practices. ONTAP displays the summary of recommended
aggregates including their names and usable size, and then prompts you to decide whether the aggregates
should be created as recommended.
In many cases, the recommended aggregate layout in the auto-provision display will be optimal for your
environment. However, if your cluster is running ONTAP 9.1 or earlier, or your environment includes the
following configurations, you must use the manual aggregate configuration method.
In addition, if any of the following disk conditions are present, they must be addressed before using the auto-
provision method:
• Missing disks
• Fluctuation in spare disk numbers
• Unassigned disks
• Non-zeroed spares
• Disks undergoing maintenance testing
The storage aggregate auto-provision man page contains more information about these
requirements.
Related information
ONTAP 9 commands
If the auto-provision method is appropriate in your environment, you run the storage
aggregate auto-provision to generate aggregate layout recommendations. You
can then create aggregates after reviewing and approving ONTAP recommendations.
What you’ll need
ONTAP 9.2 or later must be running on your cluster.
2
About this task
The default summary generated with the storage aggregate auto-provision command lists the
recommended aggregates to be created, including names and usable size. You can view the list and determine
whether you want to create the recommended aggregates when prompted.
You can also display a detailed summary by using the -verbose option, which displays the following reports:
• Per node summary of new aggregates to create, discovered spares, and remaining spare disks and
partitions after aggregate creation
• New data aggregates to create with counts of disks and partitions to be used
• RAID group layout showing how spare disks and partitions will be used in new data aggregates to be
created
• Details about spare disks and partitions remaining after aggregate creation
If you are familiar with the auto-provision method and your environment is correctly prepared, you can use the
-skip-confirmation option to create the recommended aggregate without display and confirmation. The
storage aggregate auto-provision command is not affected by the CLI session -confirmations
setting.
The storage aggregate auto-provision man page contains more information about the aggregate
layout recommendations.
Steps
1. Run the storage aggregate auto-provision command with the desired display options.
◦ no options: Display standard summary
◦ -verbose option: Display detailed summary
◦ -skip-confirmation option: Create recommended aggregates without display or confirmation
2. After reviewing the display of recommended aggregates, respond to the prompt to create the
recommended aggregates.
Related information
ONTAP 9 commands
3
• All flash aggregates
• Flash Pool aggregates
• Performance hard disk drive (HDD) aggregates
A new RAID policy called RAID-TEC is available. RAID-TEC is supported on all disk types and all platforms,
including AFF. Aggregates that contain larger disks have a higher possibility of concurrent disk failures. RAID-
TEC helps to mitigate this risk by providing triple-parity protection so that your data can survive up to three
simultaneous disk failures. RAID-TEC is the default RAID policy for capacity HDD aggregates with disks that
are 6 TB or larger.
You must have enough disks or disk partitions to meet the minimum number required for your RAID policy and
enough to meet your minimum capacity requirements.
In ONTAP, the usable space of the drive is less than the physical capacity of the drive. You can
find the usable space of a specific drive and the minimum number of disks or disk partitions
required for each RAID policy in Hardware Universe. You can also use the storage
aggregate show-spare-disks command to find the usable space of a specific disk.
In addition to the number of disks or disk partitions necessary to create your RAID group and meet your
capacity requirements, you should also have the minimum number of hot spare disks or hot spare disk
partitions recommended for your aggregate:
• For all flash aggregates, you should have a minimum of one hot spare disk or disk partition.
The AFF C190 defaults to no spare drive. This exception is fully supported.
• For non-flash homogenous aggregates, you should have a minimum of two hot spare disks or disk
partitions.
• For SSD storage pools, you should have a minimum of one hot spare disk for each HA pair.
• For Flash Pool aggregates, you should have a minimum of two spare disks for each HA pair. You can find
more information on the supported RAID policies for Flash Pool aggregates in the Hardware Universe.
• To support the use of the Maintenance Center and to avoid issues caused by multiple concurrent disk
failures, you should have a minimum of four hot spares in multi-disk carriers.
Related information
NetApp Hardware Universe
4
Create aggregates manually
Before you create aggregates manually, you should review disk configuration options and
simulate creation. Then you can issue the storage aggregate create and verify the
results.
What you’ll need
You must have determined the number of disks and the number of hot spare disks you need in the aggregate.
The procedure for creating aggregates on systems with root-data partitioning and root-data-data partitioning
enabled is the same as the procedure for creating aggregates on systems using unpartitioned disks. If root-
data partitioning is enabled on your system, you should use the number of disk partitions for the -diskcount
option. For root-data-data partitioning, the -diskcount option specifies the count of disks to use.
When creating multiple aggregates for use with FlexGroups, aggregates should be as close in
size as possible.
The storage aggregate create man page contains more information about aggregate creation options
and requirements.
Steps
1. View the list of spare disk partitions to verify that you have enough to create your aggregate:
Data partitions are displayed under Local Data Usable. A root partition cannot be used as a spare.
3. If any warnings are displayed from the simulated command, adjust the command and repeat the
simulation.
4. Create the aggregate:
Related information
ONTAP 9 commands
5
Aggregate expansion
Aggregate expansion workflow
Expanding an aggregate involves identifying the aggregate to expand, determining how
much new storage is needed, installing new disks, assigning disk ownership, and creating
new a RAID group if needed.
6
The drive you want to add must be supported by your platform.
The minimum number of drives you should add in a single procedure is six. Adding a single drive might reduce
performance.
Steps
1. Check the NetApp Support Site for newer drive and shelf firmware and Disk Qualification Package files.
If your node or shelf does not have the latest versions, update them before installing the new drive.
Drive firmware is automatically updated (nondisruptively) on new drives that do not have current firmware
versions.
The correct slots for adding drives vary depending on the platform model and ONTAP
version. In some cases you need to add drives to specific slots in sequence. For example, in
an AFF A800 you add the drives at specific intervals leaving clusters of empty slots.
Whereas, in an AFF A220 you add new drives to the next empty slots running from the
outside towards the middle of the shelf.
See the NetApp Hardware Universe to identify the correct slots for your configuration.
When the drive’s activity LED is solid, it means that the drive has power. When the drive’s activity LED is
blinking, it means that the drive has power and I/O is in progress. If the drive firmware is automatically
updating, the LED blinks.
The new drives are not recognized until they are assigned to a node. You can assign the new drives
manually, or you can wait for ONTAP to automatically assign the new drives if your node follows the rules
for drive autoassignment.
8. After the new drives have all been recognized, verify their addition and their ownership information:
You should see the new drives, owned by the correct node.
7
storage disk zerospares
Drives that have been used previously in an ONTAP aggregate must be zeroed before they can be added
to another aggregate. Zeroing the drives now can prevent delays in case you need to quickly increase the
size of an aggregate. The drive zeroing command runs in the background and can take hours to complete,
depending on the size of the non-zeroed drives in the node.
Results
The new drives are ready to be added to an aggregate, placed onto the list of hot spares, or you can create a
new aggregate.
You can use the wildcard character to assign more than one disk at once. If you are reassigning a spare
disk that is already owned by a different node, you must use the -force option
If you need to manually zero a drive, you can use one of the following methods:
The fast zeroing enhancement does not support systems upgraded from a release earlier than ONTAP 9.4.
8
If any node on the cluster contains an aggregate with fast-zeroed drives, then you cannot revert the cluster to
ONTAP 9.2 or earlier.
Expand aggregates
You can add disks to an aggregate so that it can provide more storage to its associated
volumes. The procedure for adding partitioned disks to an aggregate is similar to the
procedure for adding unpartitioned disks.
What you’ll need
You must know what the RAID group size is for the aggregate you are adding the storage to.
When you provision partitions, you must ensure that you do not leave the node without a drive with both
partitions as spare. If you do, and the node experiences a controller disruption, valuable information about the
problem (the core file) might not be available to provide to the technical support.
Do not use the disklist command to expand your aggregates. This could cause partition
misalignment.
Steps
1. Show the available spare storage on the system that owns the aggregate:
You can use the -is-disk-shared parameter to show only partitioned drives or only unpartitioned
drives.
9
cl1-s2::> storage aggregate show-spare-disks -original-owner cl1-s2 -is
-disk-shared true
10
cl1-s2::> storage aggregate show-status -aggregate data_1
You can see the result of the storage addition without actually provisioning any storage. If any warnings are
displayed from the simulated command, you can adjust the command and repeat the simulation.
When creating a Flash Pool aggregate, if you are adding disks with a different checksum than the
aggregate, or if you are adding disks to a mixed checksum aggregate, you must use the
11
-checksumstyle parameter.
If you are adding disks to a Flash Pool aggregate, you must use the -disktype parameter to specify the
disk type.
You can use the -disksize parameter to specify a size of the disks to add. Only disks with approximately
the specified size are selected for addition to the aggregate.
12
cl1-s2::> storage aggregate show-status -aggregate data_1
6. Verify that the node still has at least one drive with both the root partition and the data partition as spare:
13
cl1-s2::> storage aggregate show-spare-disks -original-owner cl1-s2 -is
-disk-shared true
Managing aggregates
RAID protection levels for disks
ONTAP supports three levels of RAID protection for aggregates. Your level of RAID
protection determines the number of parity disks available for data recovery in the event
of disk failures.
With RAID protection, if there is a data disk failure in a RAID group, ONTAP can replace the failed disk with a
spare disk and use parity data to reconstruct the data of the failed disk.
• RAID4
With RAID4 protection, ONTAP can use one spare disk to replace and reconstruct the data from one failed
disk within the RAID group.
• RAID-DP
With RAID-DP protection, ONTAP can use up to two spare disks to replace and reconstruct the data from
up to two simultaneously failed disks within the RAID group.
• RAID-TEC
With RAID-TEC protection, ONTAP can use up to three spare disks to replace and reconstruct the data
from up to three simultaneously failed disks within the RAID group.
Related information
14
NetApp Technical Report 3437: Storage Subsystem Resiliency Guide
You must have enough disks or disk partitions to meet the minimum number required for your RAID policy and
enough to meet your minimum capacity requirements.
In ONTAP, the usable space of the drive is less than the physical capacity of the drive. You can
find the usable space of a specific drive and the minimum number of disks or disk partitions
required for each RAID policy in Hardware Universe. You can also use the storage
aggregate show-spare-disks command to find the usable space of a specific disk.
In addition to the number of disks or disk partitions necessary to create your RAID group and meet your
capacity requirements, you should also have the minimum number of hot spare disks or hot spare disk
partitions recommended for your aggregate:
• For all flash aggregates, you should have a minimum of one hot spare disk or disk partition.
The AFF C190 defaults to no spare drive. This exception is fully supported.
• For non-flash homogenous aggregates, you should have a minimum of two hot spare disks or disk
partitions.
• For SSD storage pools, you should have a minimum of one hot spare disk for each HA pair.
• For Flash Pool aggregates, you should have a minimum of two spare disks for each HA pair. You can find
more information on the supported RAID policies for Flash Pool aggregates in the Hardware Universe.
• To support the use of the Maintenance Center and to avoid issues caused by multiple concurrent disk
failures, you should have a minimum of four hot spares in multi-disk carriers.
Related information
NetApp Hardware Universe
15
Steps
1. Display the spare partitions for the node:
Note which disk has a spare data partition (spare_data) and which disk has a spare root partition
(spare_root). The spare partition will show a non-zero value under the Local Data Usable or Local
Root Usable column.
2. Replace the disk with a spare data partition with the disk with the spare root partition:
You can copy the data in either direction; however, copying the root partition takes less time to complete.
4. After the replacement operation is complete, display the spares again to confirm that you have a full spare
disk:
You should see a spare disk with usable space under both Local Data Usable and Local Root
Usable.
Example
You display your spare partitions for node c1-01 and see that your spare partitions are not aligned:
16
c1::> storage disk replace -disk 1.0.1 -replacement 1.0.10 -action start
While you are waiting for the replacement operation to finish, you display the progress of the operation:
After the replacement operation is complete, you confirm that you have a full spare disk:
17
ie2220::> storage aggregate show-spare-disks -original-owner c1-01
The drives are displayed for each RAID group in the aggregate.
You can see the RAID type of the drive (data, parity, dparity) in the Position column. If the Position
column displays shared, then the drive is shared: if it is an HDD, it is a partitioned disk; if it is an SSD, it is
part of a storage pool.
18
Example: A Flash Pool aggregate using an SSD storage pool and data partitions
You can change the ownership of aggregates among the nodes in an HA pair without
19
interrupting service from the aggregates.
Both nodes in an HA pair are physically connected to each other’s disks or array LUNs. Each disk or array
LUN is owned by one of the nodes. Although ownership of disks temporarily changes when a takeover occurs,
the aggregate relocation operations either permanently (for example, if done for load balancing) or temporarily
(for example, if done as part of takeover) change the ownership of all disks or array LUNs within an aggregate
from one node to the other. The ownership changes without any data-copy processes or physical movement of
the disks or array LUNs.
If the volume count exceeds the supported limit, the aggregate relocation operation fails with a relevant
error message.
• You should not initiate aggregate relocation when system-level operations are in progress on either the
source or the destination node; likewise, you should not start these operations during the aggregate
relocation.
◦ Takeover
◦ Giveback
◦ Shutdown
◦ Another aggregate relocation operation
◦ Disk ownership changes
◦ Aggregate or volume configuration operations
◦ Storage controller replacement
◦ ONTAP upgrade
◦ ONTAP revert
• If you have a MetroCluster configuration, you should not initiate aggregate relocation while disaster
recovery operations (switchover, healing, or switchback) are in progress.
• If you have a MetroCluster configuration and initiate aggregate relocation on a switched-over aggregate,
the operation might fail because it exceeds the DR partner’s volume limit count.
• You should not initiate aggregate relocation on aggregates that are corrupt or undergoing maintenance.
• Before initiating the aggregate relocation, you should save any core dumps on the source and destination
nodes.
Steps
1. View the aggregates on the node to confirm which aggregates to move and ensure they are online and in
good condition:
The following command shows six aggregates on the four nodes in the cluster. All aggregates are online.
Node1 and Node3 form an HA pair and Node2 and Node4 form an HA pair.
20
cluster::> storage aggregate show
Aggregate Size Available Used% State #Vols Nodes RAID Status
--------- -------- --------- ----- ------- ------ ------ -----------
aggr_0 239.0GB 11.13GB 95% online 1 node1 raid_dp,
normal
aggr_1 239.0GB 11.13GB 95% online 1 node1 raid_dp,
normal
aggr_2 239.0GB 11.13GB 95% online 1 node2 raid_dp,
normal
aggr_3 239.0GB 11.13GB 95% online 1 node2 raid_dp,
normal
aggr_4 239.0GB 238.9GB 0% online 5 node3 raid_dp,
normal
aggr_5 239.0GB 239.0GB 0% online 4 node4 raid_dp,
normal
6 entries were displayed.
The following command moves the aggregates aggr_1 and aggr_2 from Node1 to Node3. Node3 is
Node1’s HA partner. The aggregates can be moved only within the HA pair.
3. Monitor the progress of the aggregate relocation with the storage aggregate relocation show
command:
The following command shows the progress of the aggregates that are being moved to Node3:
21
cluster::> storage aggregate relocation show -node node1
Source Aggregate Destination Relocation Status
------ ----------- ------------- ------------------------
node1
aggr_1 node3 In progress, module: wafl
aggr_2 node3 Not attempted yet
2 entries were displayed.
node1::storage aggregate>
When the relocation is complete, the output of this command shows each aggregate with a relocation
status of Done.
There are specific ONTAP commands for relocating aggregate ownership within an HA
pair.
Related information
ONTAP 9 commands
Steps
1. Check the list of aggregates already assigned to the SVM:
The aggregates currently assigned to the SVM are displayed. If there are no aggregates assigned, “-” is
displayed.
22
2. Add or remove assigned aggregates, depending on your requirements:
The listed aggregates are assigned to or removed from the SVM. If the SVM already has volumes that use
an aggregate that is not assigned to the SVM, a warning message is displayed, but the command is
completed successfully. Any aggregates that were already assigned to the SVM and that were not named
in the command are unaffected.
Example
In the following example, the aggregates aggr1 and aggr2 are assigned to SVM svm1:
The following rows are included in the aggregate show-space command output:
• Volume Footprints
The total of all volume footprints within the aggregate. It includes all of the space that is used or reserved
by all data and metadata of all volumes in the containing aggregate.
• Aggregate Metadata
The total file system metadata required by the aggregate, such as allocation bitmaps and inode files.
• Snapshot Reserve
The amount of space reserved for aggregate Snapshot copies, based on volume size. It is considered
used space and is not available to volume or aggregate data or metadata.
The amount of space originally allocated for aggregate Snapshot reserve that is unavailable for aggregate
Snapshot copies because it is being used by volumes associated with the aggregate. Can occur only for
aggregates with a non-zero aggregate Snapshot reserve.
• Total Used
23
The sum of all space used or reserved in the aggregate by volumes, metadata, or Snapshot copies.
The amount of space being used for data now (rather than being reserved for future use). Includes space
used by aggregate Snapshot copies.
The following example shows the aggregate show-space command output for an aggregate whose
Snapshot reserve is 5%. If the Snapshot reserve was 0, the row would not be displayed.
Aggregate : wqa_gx106_aggr1
How you can determine and control a volume’s space usage in the aggregate
You can determine which FlexVol volumes are using the most space in the aggregate and
specifically which features within the volume. The volume show-footprint command
provides information about a volume’s footprint, or its space usage within the containing
aggregate.
The volume show-footprint command shows details about the space usage of each volume in an
aggregate, including offline volumes. This command bridges the gap between the output of the volume
show-space and aggregate show-space commands. All percentages are calculated as a percent of
aggregate size.
24
The following example shows the volume show-footprint command output for a volume called testvol:
Vserver : thevs
Volume : testvol
The following table explains some of the key rows of the output of the volume show-footprint command
and what you can do to try to decrease space usage by that feature:
Volume Data Footprint The total amount of space used in • Deleting data from the volume.
the containing aggregate by a
• Deleting Snapshot copies from
volume’s data in the active file
the volume.
system and the space used by the
volume’s Snapshot copies. This
row does not include reserved
space.
Volume Guarantee The amount of space reserved by Changing the type of guarantee for
the volume in the aggregate for the volume to none.
future writes. The amount of space
reserved depends on the
guarantee type of the volume.
Flexible Volume Metadata The total amount of space used in No direct method to control.
the aggregate by the volume’s
metadata files.
Delayed Frees Blocks that ONTAP used for No direct method to control.
performance and cannot be
immediately freed. For SnapMirror
destinations, this row has a value
of 0 and is not displayed.
File Operation Metadata The total amount of space reserved No direct method to control.
for file operation metadata.
25
Total Footprint The total amount of space that the Any of the methods used to
volume uses in the aggregate. It is decrease space used by a volume.
the sum of all of the rows.
Related information
NetApp Technical Report 3483: Thin Provisioning in a NetApp SAN or IP SAN Enterprise Environment
The following are some common ways to make space in an aggregate, in order of least to most consequences:
You can do this manually or with the autoshrink option of the autosize capability.
• Change volume guarantee types to none on volumes that are using large amounts of space (large volume-
guaranteed volumes with large reserved files) so that the volumes take up less space in the aggregate.
A volume with a guarantee type of none has a smaller footprint in the aggregate than a volume with a
guarantee type of volume.
• Delete unneeded volume Snapshot copies if the volume’s guarantee type is none.
• Delete unneeded volumes.
• Enable space-saving features, such as deduplication or compression.
• (Temporarily) disable features that are using a large amount of metadata .
Display disk information and status for an aggregate storage aggregate show-status
26
If you want to… Use this command…
Display spare disks by node storage aggregate show-spare-disks
Display the root aggregates in the cluster storage aggregate show -has-mroot true
Display basic information and status for aggregates storage aggregate show
Display the type of storage used in an aggregate storage aggregate show -fields storage-
type
Change the RAID type for an aggregate storage aggregate modify -raidtype
Related information
ONTAP 9 commands
Caching policies for the volumes in a Flash Pool aggregate let you deploy flash as high
performance cache for your working data set while using lower-cost HDDs for less
frequently accessed data. If you are providing cache to two or more Flash Pool
aggregates, you should use Flash Pool SSD partitioning to share SSDs across the
aggregates in the Flash Pool.
Caching policies are applied to volumes that reside in Flash Pool aggregates. You should understand how
caching policies work before changing them.
In most cases, the default caching policy of auto is the best caching policy to use. The caching policy should
be changed only if a different policy provides better performance for your workload. Configuring the wrong
caching policy can severely degrade volume performance; the performance degradation could increase
gradually over time.
27
Caching policies combine a read caching policy and a write caching policy. The policy name concatenates the
names of the read caching policy and the write caching policy, separated by a hyphen. If there is no hyphen in
the policy name, the write caching policy is “none”, except for the auto policy.
Read caching policies optimize for future read performance by placing a copy of the data in the cache in
addition to the stored data on HDDs. For read caching policies that insert data into the cache for write
operations, the cache operates as a write-through cache.
Data inserted into the cache by using the write caching policy exists only in cache; there is no copy in HDDs.
Flash Pool cache is RAID protected. Enabling write caching makes data from write operations available for
reads from cache immediately, while deferring writing the data to HDDs until it ages out of the cache.
You can change the caching policy for a volume that resides on a Flash Pool aggregate by using the
-caching-policy parameter with the volume create command. When you create a volume on a Flash
Pool aggregate, by default, the auto caching policy is assigned to the volume.
If you move a volume from a Flash Pool aggregate to a single-tier aggregate, it loses its caching policy; if you
later move it back to a Flash Pool aggregate, it is assigned the default caching policy of auto. If you move a
volume between two Flash Pool aggregates, the caching policy is preserved.
How Flash Pool SSD partitioning works for Flash Pool aggregates using storage pools
If you are providing cache to two or more Flash Pool aggregates, you should use Flash
Pool Solid-State Drive (SSD) partitioning. Flash Pool SSD partitioning allows SSDs to be
shared by all the aggregates using the Flash Pool. This spreads the cost of parity over
multiple aggregates, increases SSD cache allocation flexibility, and maximizes SSD
performance.
For an SSD to be used in a Flash Pool aggregate, the SSD must be placed in a storage pool. You cannot use
SSDs that have been partitioned for root-data partitioning in a storage pool. After the SSD is placed in the
storage pool, the SSD can no longer be managed as a stand-alone disk and cannot be removed from the
storage pool unless you destroy the aggregates associated with the Flash Pool and you destroy the storage
pool.
SSD storage pools are divided into four equal allocation units. SSDs added to the storage pool are divided into
four partitions and one partition is assigned to each of the four allocation units. The SSDs in the storage pool
must be owned by the same HA pair. By default, two allocation units are assigned to each node in the HA pair.
Allocation units must be owned by the node that owns the aggregate it is serving. If more Flash cache is
required for aggregates on one of the nodes, the default number of allocation units can be shifted to decrease
the number on one node and increase the number on the partner node.
You can use only one spare SSD for a storage pool. If the storage pool provides allocation units to Flash Pool
aggregates owned by both nodes in the HA pair, then the spare SSD can be owned by either node. However, if
the storage pool provides allocation units only to Flash Pool aggregates owned by one of the nodes in the HA
pair, then the SSD spare must be owned by that same node.
The following illustration is an example of Flash Pool SSD partitioning. The SSD storage pool provides cache
to two Flash Pool aggregates:
28
Storage pool SP1 is composed of five SSDs and a hot spare SSD. Two of the storage pool’s allocation units
are allocated to Flash Pool FP1, and two are allocated to Flash Pool FP2. FP1 has a cache RAID type of
RAID4. Therefore, the allocation units provided to FP1 contain only one partition designated for parity. FP2 has
a cache RAID type of RAID-DP. Therefore, the allocation units provided to FP2 include a parity partition and a
double-parity partition.
In this example, two allocation units are allocated to each Flash Pool aggregate. However, if one Flash Pool
aggregate required a larger cache, you could allocate three of the allocation units to that Flash Pool aggregate,
and only one to the other.
Steps
1. Enter advanced mode:
set advanced
2. If you need to determine whether an existing aggregate would be a good candidate for conversion to a
Flash Pool aggregate, determine how busy the disks in the aggregate are during a period of peak load, and
how that is affecting latency:
29
-counter disk_busy|user_read_latency -interval 1 -iterations 60
You can decide whether reducing latency by adding Flash Pool cache makes sense for this aggregate.
The following command shows the statistics for the first RAID group of the aggregate “aggr1”:
AWA begins collecting workload data for the volumes associated with the specified aggregate.
set admin
Allow AWA to run until one or more intervals of peak load have occurred. AWA collects workload statistics
for the volumes associated with the specified aggregate, and analyzes data for up to one rolling week in
duration. Running AWA for more than one week will report only on data collected from the most recent
week. Cache size estimates are based on the highest loads seen during the data collection period; the load
does not need to be high for the entire data collection period.
set advanced
7. Stop AWA:
set admin
30
• You must have identified a valid aggregate composed of HDDs to convert to a Flash Pool aggregate.
• You must have determined write-caching eligibility of the volumes associated with the aggregate, and
completed any required steps to resolve eligibility issues.
• You must have determined the SSDs you will be adding, and these SSDs must be owned by the node on
which you are creating the Flash Pool aggregate.
• You must have determined the checksum types of both the SSDs you are adding and the HDDs already in
the aggregate.
• You must have determined the number of SSDs you are adding and the optimal RAID group size for the
SSD RAID groups.
Using fewer RAID groups in the SSD cache reduces the number of parity disks required, but larger RAID
groups require RAID-DP.
• You must have determined the RAID level you want to use for the SSD cache.
• You must have determined the maximum cache size for your system and determined that adding SSD
cache to your aggregate will not cause you to exceed it.
• You must have familiarized yourself with the configuration requirements for Flash Pool aggregates.
By default, the RAID level of the SSD cache is the same as the RAID level of the HDD RAID groups. You can
override this default selection by specifying the raidtype option when you add the first SSD RAID groups.
Steps
1. Mark the aggregate as eligible to become a Flash Pool aggregate:
If this step does not succeed, determine write-caching eligibility for the target aggregate.
2. Add the SSDs to the aggregate by using the storage aggregate add command.
You can specify the SSDs by ID or by using the diskcount and disktype parameters.
If the HDDs and the SSDs do not have the same checksum type, or if the aggregate is a mixed-checksum
aggregate, then you must use the checksumstyle parameter to specify the checksum type of the disks
you are adding to the aggregate.
You can specify a different RAID type for the SSD cache by using the raidtype parameter.
If you want the cache RAID group size to be different from the default for the RAID type you are using, you
should change it now, by using the -cache-raid-group-size parameter.
You can configure a Flash Pool aggregate by adding one or more allocation units from an
31
SSD storage pool to an existing HDD aggregate.
You manage Flash Pool aggregates differently when they use SSD storage pools to provide their cache than
when they use discrete SSDs.
Step
1. Display the aggregate’s drives by RAID group:
If the aggregate is using one or more SSD storage pools, the value for the Position column for the SSD
RAID groups is displayed as Shared, and the name of the storage pool is displayed next to the RAID
group name.
You can create solid state drive (SSD) storage pools to provide SSD cache for two to four
Flash Pool aggregates.
About this task
• You must supply a disk list when creating or adding disks to a storage pool.
• The SSDs used in the storage pool should be the same size.
Steps
1. Determine the names of the available spare SSDs:
The SSDs used in a storage pool can be owned by either node of an HA pair.
Results
After the SSDs are placed into the storage pool, they no longer appear as spares on the cluster, even though
the storage provided by the storage pool has not yet been allocated to any Flash Pool caches. You cannot add
SSDs to a RAID group as discrete drives; their storage can be provisioned only by using the allocation units of
the storage pool to which they belong.
Create a Flash Pool aggregate using SSD storage pool allocation units
You can configure a Flash Pool aggregate by adding one or more allocation units from an
SSD storage pool to an existing HDD aggregate.
32
What you’ll need
• You must have identified a valid aggregate composed of HDDs to convert to a Flash Pool aggregate.
• You must have determined write-caching eligibility of the volumes associated with the aggregate, and
completed any required steps to resolve eligibility issues.
• You must have created an SSD storage pool to provide the SSD cache to this Flash Pool aggregate.
Any allocation unit from the storage pool that you want to use must be owned by the same node that owns
the Flash Pool aggregate.
• You must have determined how much cache you want to add to the aggregate.
You add cache to the aggregate by allocation units. You can increase the size of the allocation units later
by adding SSDs to the storage pool if there is room.
• You must have determined the RAID type you want to use for the SSD cache.
After you add a cache to the aggregate from SSD storage pools, you cannot change the RAID type of the
cache RAID groups.
• You must have determined the maximum cache size for your system and determined that adding SSD
cache to your aggregate will not cause you to exceed it.
You can see the amount of cache that will be added to the total cache size by using the storage pool
show command.
• You must have familiarized yourself with the configuration requirements for Flash Pool aggregates.
After you add an SSD cache to an aggregate to create a Flash Pool aggregate, you cannot remove the SSD
cache to convert the aggregate back to its original configuration.
Steps
1. Mark the aggregate as eligible to become a Flash Pool aggregate:
If this step does not succeed, determine write-caching eligibility for the target aggregate.
If you want the RAID type of the cache to be different from that of the HDD RAID groups, you must change
it when you enter this command by using the raidtype parameter.
33
You do not need to specify a new RAID group; ONTAP automatically puts the SSD cache into separate
RAID groups from the HDD RAID groups.
You cannot set the RAID group size of the cache; it is determined by the number of SSDs in the storage
pool.
The cache is added to the aggregate and the aggregate is now a Flash Pool aggregate. Each allocation
unit added to the aggregate becomes its own RAID group.
The size of the cache is listed under Total Hybrid Cache Size.
Related information
NetApp Technical Report 4070: Flash Pool Design and Implementation Guide
Determine the impact to cache size of adding SSDs to an SSD storage pool
If adding SSDs to a storage pool causes your platform model’s cache limit to be
exceeded, ONTAP does not allocate the newly added capacity to any Flash Pool
aggregates. This can result in some or all of the newly added capacity being unavailable
for use.
About this task
When you add SSDs to an SSD storage pool that has allocation units already allocated to Flash Pool
aggregates, you increase the cache size of each of those aggregates and the total cache on the system. If
none of the storage pool’s allocation units have been allocated, adding SSDs to that storage pool does not
affect the SSD cache size until one or more allocation units are allocated to a cache.
Steps
1. Determine the usable size of the SSDs you are adding to the storage pool:
2. Determine how many allocation units remain unallocated for the storage pool:
3. Calculate the amount of cache that will be added by applying the following formula:
When you add solid state drives (SSDs) to an SSD storage pool, you increase the
storage pool’s physical and usable sizes and allocation unit size. The larger allocation
unit size also affects allocation units that have already been allocated to Flash Pool
34
aggregates.
What you’ll need
You must have determined that this operation will not cause you to exceed the cache limit for your HA pair.
ONTAP does not prevent you from exceeding the cache limit when you add SSDs to an SSD storage pool, and
doing so can render the newly added storage capacity unavailable for use.
The SSD you add to the storage pool must be the same size as disk currently used in the storage pool.
Steps
1. Optional: View the current allocation unit size and available storage for the storage pool:
The system displays which Flash Pool aggregates will have their size increased by this operation and by
how much, and prompts you to confirm the operation.
ONTAP provides the storage pool command for managing SSD storage pools.
Display how much cache would be added to the storage pool show -instance
overall cache capacity for both RAID types (allocation
unit data size)
Display the unallocated allocation units for a storage storage pool show-available-capacity
pool
Change the ownership of one or more allocation units storage pool reassign
of a storage pool from one HA partner to the other
35
Related information
ONTAP 9 commands
Determine whether to modify the caching policy of Flash Pool aggregates overview
The following steps check for these conditions. The task must be done in advanced privilege mode.
Steps
1. View the workload volume:
4. Determine the Cacheable Read and Project Cache Alloc of the volume:
If the hit rate of the volume is greater than the Cacheable Read, then your workload does not reread
random blocks cached in the SSDs.
7. Compare the volume’s current cache size to the Project Cache Alloc.
36
If the current cache size of the volume is greater than the Project Cache Alloc, then the size of your
volume cache is too small.
You should modify the caching policy of a volume only if a different caching policy is
expected to provide better performance. You can modify the caching policy of a volume
on a Flash Pool aggregate.
What you’ll need
You must determine whether you want to modify your caching policy.
Step
1. Modify the volume’s caching policy:
Example
The following example modifies the caching policy of a volume named “vol2” to the policy none:
You can assign cache-retention policies to volumes in Flash Pool aggregates. Data in
volumes with a high cache-retention policy remains in cache longer and data in volumes
with a low cache-retention policy is removed sooner. This increases performance of your
critical workloads by making high priority information accessible at a faster rate for a
longer period of time.
What you’ll need
You should know whether your system has any conditions that might prevent the cache-retention policy from
having an impact on how long your data remains in cache.
Steps
1. Change the privilege setting to advanced:
37
2. Verify the volume’s cache-retention policy:
4. Verify that the volume’s cache-retention policy is changed to the option you selected.
5. Return the privilege setting to admin:
Managing disks
When you need to update the Disk Qualification Package
The Disk Qualification Package (DQP) adds full support for newly qualified drives. Before
you update drive firmware or add new drive types or sizes to a cluster, you must update
the DQP. A best practice is to also update the DQP regularly; for example, every quarter
or semi-annually.
You need to download and install the DQP in the following situations:
For example, if you already have 1-TB drives and add 2-TB drives, you need to check for the latest DQP
update.
38
Related information
NetApp Downloads: Disk Qualification Package
If the available hot spare disk is not the same size as the failed disk, a disk of the next larger size is chosen
and then downsized to match the size of the disk that it is replacing.
How low spare warnings can help you manage your spare disks
By default, warnings are issued to the console and logs if you have fewer than one hot
spare drive that matches the attributes of each drive in your storage system. You can
change the threshold value for these warning messages to ensure that your system
adheres to best practices.
You should set the min_spare_count RAID option to 2 to ensure that you always have the minimum
recommended number of spare disks. You can use the storage raid-options modify -node
nodename -name option_name -value 2 to set the option.
39
cluster::> storage disk show -ownership
Disk Aggregate Home Owner DR Home Home ID Owner ID DR
Home ID Reserver Pool
-------- --------- -------- -------- -------- ---------- -----------
----------- ----------- ------
1.0.0 aggr0_2 node2 node2 - 2014941509 2014941509 -
2014941509 Pool0
1.0.1 aggr0_2 node2 node2 - 2014941509 2014941509 -
2014941509 Pool0
1.0.2 aggr0_1 node1 node1 - 2014941219 2014941219 -
2014941219 Pool0
1.0.3 - node1 node1 - 2014941219 2014941219 -
2014941219 Pool0
...
2. If you have a system that uses shared disks, display the partition ownership using the storage disk
show -partition-ownership command:
You can set the ownership of the container disk or the partitions manually or by using
auto-assignment—just as you do for unpartitioned disks.
40
If a container disk fails in a half-populated shelf and is replaced, ONTAP will not auto-assign
ownership. In this case, any assignment of new disks will need to be done manually. To make
auto-assign work on half-populated shelves, place disks equally on lower half and 6 on far right
bays to begin with. That is, 6 disks from bays 0-5 and 6 disks from bays 18-23. After the
container disk is assigned in an ADP-configured system, ONTAP’s software will handle any
partitioning and partition assignments that are required, without user intervention.
For root-data partitioning there are three owned entities (the container disk and the two
partitions) collectively owned by the HA pair.
About this task
The container disk and the two partitions do not all need to be owned by the same node in the HA pair as long
as they are all owned by one of the nodes in the HA pair. However, when you use a partition in an aggregate, it
must be owned by the same node that owns the aggregate.
Steps
1. Display the current ownership for the partitioned disk:
3. Enter the appropriate command, depending on which ownership entity you want to assign ownership for:
If any of the ownership entities are already owned, then you must include the -force option.
For root-data-data partitioning there are four owned entities (the container disk and the
three partitions) collectively owned by the HA pair.
About this task
Root-data-data partitioning creates one small partition as the root partition and two larger, equally sized
partitions for data.
41
Parameters must be used in the disk assign command to assign the proper partition of a root-data-data
partitioned disk. You cannot use these parameters with disks that are part of a storage pool. The default value
is false.
• The [-data1 [true]] parameter assigns the data1 partition of a root-data1-data2 partitioned disk.
• The [-data2 [true]] parameter assigns the data2 partition of a root-data1-data2 partitioned disk.
Steps
1. Display the current ownership for the partitioned disk:
3. Enter the appropriate command, depending on which ownership entity you want to assign ownership for:
If any of the ownership entities are already owned, then you must include the -force option.
This option is useful if your system is configured for root-data partitioning and you need to reinitialize it with
a different configuration.
42
This option is useful for the following:
◦ Your system is not configured for root-data partitioning and you would like to configure it for root-data
partitioning
◦ Your system is incorrectly configured for root-data partitioning and you need to correct it
◦ You have an AFF platform or a FAS platform with only SSDs attached that is configured for the
previous version of root-data partitioning and you want to upgrade it to the newer version of root-data
partitioning to gain increased storage efficiency
• Clean configuration and initialize node with whole disks
Steps
1. Configure automatic disk assignment:
◦ Use stack as the autoassign_policy to configure automatic ownership at the stack or loop level.
◦ Use shelf as the autoassign_policy to configure automatic ownership at the shelf level.
◦ Use bay as the autoassign_policy to configure automatic ownership at the bay level.
2. Verify the automatic assignment settings for the disks:
43
cluster1::> storage disk option show
You can typically use the default autoassignment policy, which is equivalent to the stack
policy for most systems, and to the bay policy for entry-level systems (AFF A2xx,
FAS2xxx). However, for some configurations, you might need to change the
autoassignment policy.
You must select the appropriate autoassignment based on your configuration:
Steps
1. Find the disk ID of the failed disk:
44
storage disk show -broken
If the disk does not appear in the list of failed disks, it might be partially failed, with a Rapid RAID Recovery
in process. In this case, you should wait until the disk is present in the list of failed disks (which means that
the Rapid RAID Recovery process is complete) before removing the disk.
3. Remove the disk from the disk shelf, following the instructions in the hardware guide for your disk shelf
model.
You cannot remove ownership from a disk that is being used in an aggregate.
Steps
1. If disk ownership automatic assignment is on, turn it off:
45
storage disk removeowner sys1:0a.23,sys1:0a.24,sys1:0a.25
4. If the disk is partitioned for root-data partitioning, remove ownership from the partitions by entering both of
the following commands:
5. If you turned off disk ownership automatic assignment previously, turn it on after the disk has been
removed or reassigned:
Disk sanitization
The disk sanitization process uses three successive default or user-specified byte overwrite patterns for up to
seven cycles per operation. The random overwrite pattern is repeated for each cycle.
Depending on the disk capacity, the patterns, and the number of cycles, the process can take several hours.
Sanitization runs in the background. You can start, stop, and display the status of the sanitization process. The
sanitization process contains two phases:
Phases
1. Formatting phase
The operation performed for the formatting phase depends on the class of disk being sanitized, as shown
in the following table:
The specified overwrite patterns are repeated for the specified number of cycles.
46
When the sanitization process is complete, the specified disks are in a sanitized state. They are not returned to
spare status automatically. You must return the sanitized disks to the spare pool before the newly sanitized
disks are available to be added to another aggregate.
Disk sanitization is not supported for all disk types. In addition, there are circumstances in
which disk sanitization cannot be performed.
• It is not supported on all SSD part numbers.
For information about which SSD part numbers support disk sanitization, see the Hardware Universe.
If the formatting phase of disk sanitization is interrupted, ONTAP must recover any disks that were corrupted by
the interruption. After a system reboot and once every hour, ONTAP checks for any sanitization target disk that
did not complete the formatting phase of its sanitization. If any such disks are found, ONTAP recovers them.
The recovery method depends on the type of the disk. After a disk is recovered, you can rerun the sanitization
process on that disk; for HDDs, you can use the -s option to specify that the formatting phase is not repeated
again.
If you are creating or backing up aggregates to contain data that might need to be
sanitized, following some simple guidelines will reduce the time it takes to sanitize your
data.
• Make sure your aggregates containing sensitive data are not larger than they need to be.
If they are larger than needed, sanitization requires more time, disk space, and bandwidth.
47
• When you back up aggregates containing sensitive data, avoid backing them up to aggregates that also
contain large amounts of nonsensitive data.
This reduces the resources required to move nonsensitive data before sanitizing sensitive data.
Sanitize a disk
Sanitizing a disk allows you to remove data from a disk or a set of disks on
decommissioned or inoperable systems so that the data can never be recovered.
Two methods are available to sanitize disks:
Starting with ONTAP 9.6, you can perform disk sanitization in maintenance mode.
You must use the storage encryption disk sanitize command to sanitize an SED.
Steps
1. Boot into maintenance mode.
2. If the disks you want to sanitize are partitioned, unpartition each disk:
disk sanitize start [-p pattern1|-r [-p pattern2|-r [-p pattern3|-r]]] [-c
cycle_count] disk_list
Do not turn off power to the node, disrupt the storage connectivity, or remove target disks
while sanitizing. If sanitizing is interrupted during the formatting phase, the formatting phase
must be restarted and allowed to finish before the disks are sanitized and ready to be
returned to the spare pool. If you need to abort the sanitization process, you can do so by
using the disk sanitize abort command. If the specified disks are undergoing the
formatting phase of sanitization, the abort does not occur until the phase is complete.
-p pattern1 -p pattern2 -p pattern3 specifies a cycle of one to three user-defined hex byte
overwrite patterns that can be applied in succession to the disks being sanitized. The default pattern is
three passes, using 0x55 for the first pass, 0xaa for the second pass, and 0x3c for the third pass.
-r replaces a patterned overwrite with a random overwrite for any or all of the passes.
-c cycle_count specifies the number of times that the specified overwrite patterns are applied. The
48
default value is one cycle. The maximum value is seven cycles.
disk_list specifies a space-separated list of the IDs of the spare disks to be sanitized.
5. After the sanitization process is complete, return the disks to spare status for each disk:
Nodeshell method
When disk sanitization is enabled using nodeshell commands, it disables some low-level ONTAP commands.
After disk sanitization is enabled on a node, it cannot be disabled.
You must use the storage encryption disk sanitize command to sanitize an SED.
Steps
1. Enter the nodeshell for the node that owns the disks you want to sanitize:
options licensed_feature.disk_sanitization.enable on
3. If the disks you want to sanitize are partitioned, unpartition each disk:
disk sanitize start [-p pattern1|-r [-p pattern2|-r [-p pattern3|-r]]] [-c
cycle_count] disk_list
49
Do not turn off power to the node, disrupt the storage connectivity, or remove target disks
while sanitizing. If sanitizing is interrupted during the formatting phase, the formatting phase
must be restarted and allowed to finish before the disks are sanitized and ready to be
returned to the spare pool.
If you need to abort the sanitization process, you can do so by using the disk sanitize abort
command. If the specified disks are undergoing the formatting phase of sanitization, the
abort does not occur until the phase is complete.
-p pattern1 -p pattern2 -p pattern3 specifies a cycle of one to three user-defined hex byte
overwrite patterns that can be applied in succession to the disks being sanitized. The default pattern is
three passes, using 0x55 for the first pass, 0xaa for the second pass, and 0x3c for the third pass.
-r replaces a patterned overwrite with a random overwrite for any or all of the passes.
`-c cycle_count specifies the number of times that the specified overwrite patterns are applied.
The default value is one cycle. The maximum value is seven cycles.
disk_list specifies a space-separated list of the IDs of the spare disks to be sanitized.
6. After the sanitization process is complete, return the disks to spare status:
exit
If… Then…
All of the sanitized disks are listed as spares You are done. The disks are sanitized and in spare
status.
50
If… Then…
Some of the sanitized disks are not listed as spares Complete the following steps:
Result
The specified disks are sanitized and designated as hot spares. The serial numbers of the sanitized disks are
written to /etc/log/sanitized_disks.
This procedure is designed for nodes for which no data aggregate has been created from the partitioned disks.
Steps
1. View the current ownership of the data partitions:
You can see that half of the data partitions are owned by one node and half are owned by the other node.
All of the data partitions should be spare.
51
cluster1::> storage aggregate show-spare-disks
52
1.0.8 BSAS 7200 block 753.8GB
73.89GB 828.0GB
1.0.9 BSAS 7200 block 753.8GB
0B 828.0GB
12 entries were displayed.
set advanced
3. For each data partition owned by the node that will be the passive node, assign it to the active node:
storage disk assign -force -data true -owner active_node_name -disk disk_name
You do not need to include the partition as part of the disk name.
You would enter a command similar to the following example for each data partition you need to reassign:
storage disk assign -force -data true -owner cluster1-01 -disk 1.0.3
4. Confirm that all of the partitions are assigned to the active node.
53
1.0.6 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.7 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.8 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.9 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.10 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.11 BSAS 7200 block 753.8GB
0B 828.0GB
set admin
6. Create your data aggregate, leaving at least one data partition as spare:
54
What you’ll need
• You should have decided which node will be the active node and which node will be the passive node.
• Storage failover must be configured on the HA pair.
This procedure is designed for nodes for which no data aggregate has been created from the partitioned disks.
Steps
1. View the current ownership of the data partitions:
You should see that half of the data partitions are owned by one node and half are owned by the other
node. All of the data partitions should be spare.
set advanced
3. For each data1 partition owned by the node that will be the passive node, assign it to the active node:
You do not need to include the partition as part of the disk name
4. For each data2 partition owned by the node that will be the passive node, assign it to the active node:
You do not need to include the partition as part of the disk name
5. Confirm that all of the partitions are assigned to the active node:
55
--------------------------- ----- ------ -------------- --------
-------- --------
1.0.0 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.1 BSAS 7200 block 753.8GB
73.89GB 828.0GB
1.0.2 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.3 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.4 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.5 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.6 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.7 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.8 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.9 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.10 BSAS 7200 block 753.8GB
0B 828.0GB
1.0.11 BSAS 7200 block 753.8GB
0B 828.0GB
56
set admin
7. Create your data aggregate, leaving at least one data partition as spare:
8. Alternatively, you can use ONTAP’s recommend aggregate layout which includes best practices for RAID
group layout and spare counts:
You can use the storage disk and storage aggregate commands to manage your
disks.
Display the disk RAID type, current usage, and RAID storage aggregate show-status
group by aggregate
Display the RAID type, current usage, aggregate, and storage disk show -raid
RAID group, including spares, for physical disks
Display the pre-cluster (nodescope) drive name for a storage disk show -primary-paths
disk (advanced)
Illuminate the LED for a particular disk or shelf storage disk set-led
Display the checksum type for a specific disk storage disk show -fields checksum-
compatibility
Display the checksum type for all spare disks storage disk show -fields checksum-
compatibility -container-type spare
Display disk connectivity and placement information storage disk show -fields disk,primary-
port,secondary-name,secondary-
port,shelf,bay
57
Display the pre-cluster disk names for specific disks storage disk show -disk diskname
-fields diskpathnames
Display the list of disks in the maintenance center storage disk show -maintenance
Stop an ongoing sanitization process on one or more system node run -node nodename -command
specified disks disk sanitize
Retrieve authentication keys from all linked key security key-manager restore
management servers
Related information
ONTAP 9 commands
You use the storage aggregate and volume commands to see how space is being
used in your aggregates and volumes and their Snapshot copies.
How disks and RAID groups are used in an storage aggregate show-status
aggregate, and RAID status
The amount of disk space that would be reclaimed if volume snapshot compute-reclaimable
you deleted a specific Snapshot copy
58
The amount of space used by a volume in the volume show-footprint
containing aggregate
Related information
ONTAP 9 commands
You use the storage shelf show command to display configuration and error
information for your disk shelves.
Detailed information for a specific shelf, including storage shelf show -shelf
stack ID
Power information, including PSUs (power supply storage shelf show -power
units), current sensors, and voltage sensors
Related information
ONTAP 9 commands
59
What you’ll need
The aggregate that is to be converted must have a minimum of six disks.
Steps
1. Verify that the aggregate is online and has a minimum of six disks:
Steps
1. Verify that the aggregate is online and has a minimum of six disks:
60
When you create larger RAID groups, you maximize the space available for data storage for the same amount
of storage used for parity (also known as the “parity tax”). On the other hand, when a disk fails in a larger RAID
group, reconstruction time is increased, impacting performance for a longer period of time. In addition, having
more disks in a RAID group increases the probability of a multiple disk failure within the same RAID group.
You should follow these guidelines when sizing your RAID groups composed of HDDs or array LUNs:
• All RAID groups in an aggregate should have the same number of disks.
While you can have up to 50% less or more than the number of disks in different raid groups on one
aggregate, this might lead to performance bottlenecks in some cases, so is best avoided.
• The recommended range of RAID group disk numbers is between 12 and 20.
The reliability of performance disks can support a RAID group size of up to 28, if needed.
• If you can satisfy the first two guidelines with multiple RAID group disk numbers, you should choose the
larger number of disks.
The SSD RAID group size can be different from the RAID group size for the HDD RAID groups in a Flash Pool
aggregate. Usually, you should ensure that you have only one SSD RAID group for a Flash Pool aggregate, to
minimize the number of SSDs required for parity.
You should follow these guidelines when sizing your RAID groups composed of SSDs:
The RAID groups do not have to be exactly the same size, but you should avoid having any RAID group
that is less than one half the size of other RAID groups in the same aggregate when possible.
• For RAID-DP, the recommended range of RAID group size is between 20 and 28.
The following list outlines some facts about changing the RAID group size:
• By default, if the number of disks or array LUNs in the most recently created RAID group is less than the
new RAID group size, disks or array LUNs will be added to the most recently created RAID group until it
reaches the new size.
• All other existing RAID groups in that aggregate remain the same size, unless you explicitly add disks to
61
them.
• You can never cause a RAID group to become larger than the current maximum RAID group size for the
aggregate.
• You cannot decrease the size of already created RAID groups.
• The new size applies to all RAID groups in that aggregate (or, in the case of a Flash Pool aggregate, all
RAID groups for the affected RAID group type—SSD or HDD).
Steps
1. Use the applicable command:
Change the maximum size of any other RAID storage aggregate modify -aggregate
groups aggr_name -maxraidsize size
Examples
The following command changes the maximum RAID group size of the aggregate n1_a4 to 20 disks or array
LUNs:
The following command changes the maximum RAID group size of the SSD cache RAID groups of the Flash
Pool aggregate n1_cache_a2 to 24:
62
The following diagram shows an unmirrored aggregate with array LUNs, with its one plex. It has two RAID
groups, rg0 and rg1. All array LUNs used by the aggregate come from the same pool, pool0.
63
against or there is a loss of connectivity, because the unaffected plex continues to serve data while you fix the
cause of the failure. After the plex that had a problem is fixed, the two plexes resynchronize and reestablish the
mirror relationship.
The disks and array LUNs on the system are divided into two pools: pool0 and pool1. Plex0 gets its storage
from pool0 and plex1 gets its storage from pool1.
The following diagram shows an aggregate composed of disks with the SyncMirror functionality enabled and
implemented. A second plex has been created for the aggregate, plex1. The data in plex1 is a copy of the data
in plex0, and the RAID groups are also identical. The 32 spare disks are allocated to pool0 or pool1, 16 disks
for each pool.
The following diagram shows an aggregate composed of array LUNs with the SyncMirror functionality enabled
and implemented. A second plex has been created for the aggregate, plex1. Plex1 is a copy of plex0, and the
RAID groups are also identical.
64
Copyright Information
Copyright © 2022 NetApp, Inc. All rights reserved. Printed in the U.S. No part of this document covered by
copyright may be reproduced in any form or by any means-graphic, electronic, or mechanical, including
photocopying, recording, taping, or storage in an electronic retrieval system- without prior written permission of
the copyright owner.
Software derived from copyrighted NetApp material is subject to the following license and disclaimer:
THIS SOFTWARE IS PROVIDED BY NETAPP “AS IS” AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE, WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL
NETAPP BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NetApp reserves the right to change any products described herein at any time, and without notice. NetApp
assumes no responsibility or liability arising from the use of products described herein, except as expressly
agreed to in writing by NetApp. The use or purchase of this product does not convey a license under any
patent rights, trademark rights, or any other intellectual property rights of NetApp.
The product described in this manual may be protected by one or more U.S. patents, foreign patents, or
pending applications.
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to restrictions
as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS
252.277-7103 (October 1988) and FAR 52-227-19 (June 1987).
Trademark Information
NETAPP, the NETAPP logo, and the marks listed at http://www.netapp.com/TM are trademarks of NetApp, Inc.
Other company and product names may be trademarks of their respective owners.
65