Skip to main content
NetApp Knowledge Base

What is volume autosize in Data ONTAP?

Views:
8,986
Visibility:
Public
Votes:
5
Category:
data-ontap-8
Specialty:
CORE
Last Updated:

Applies to

ONTAP 9

Answer

What does volume autosize do?
  • Volume autosize is a policy-based space-management feature in ONTAP that allows the volume to grow by an increment if the volume is nearly full
  • The nearly full threshold is defined by the flag wafl_reclaim_threshold
  • When a write is sent to the node that is larger than available space, ONTAP will try to write as much as possible before failing the write with a volume full message
    • During the next check, the volume will grow by increments until it has reached the minimum free space threshold
    • This means that autosize is best described as 'grow on use,' rather than 'grow on demand,' a distinction that should be remembered when planning thresholds and grow increments
  • Note that volume autosize does not infinitely grow the volume.
    • The volume will grow until it reaches the maximum autosize value and then no more space will be allocated
  • The grow and grow_shrink modes work together with Snapshot autodelete to automatically reclaim space when a volume is about to become full; the volume parameter -space-mgmt-try-first controls the order in which these two space reclamation policies are attempted
Autosize Command Syntax

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.