Can we modify the volume attribute "autosize-mode" to 'grow' in System Manager?
Applies to
- ONTAP System Manager (OSM)
- ONTAP 9
Answer
- System Manager by default will enable autogrow with the
autosize-modeset toGrowwhen creating the volume. - The autogrow settings cannot be changed during volume creation in System Manager.
- To change the autogrow settings using System Manager after the volume has been created, edit the volume.
- To disable autogrow, uncheck
Resize automatically. - To change the autogrow mode, select either
GroworGrow or shrink automatically. - To change the max autogrow size, edit the size options for the mode selected.
- For
Grow, onlyMaximum sizeis available.

- For
Grow or shrink automatically, bothMinimum sizeandMaximum sizeare available.

- For
- To disable autogrow, uncheck
- Use the CLI or REST API if a volume needs to be created with specific autogrow settings.
- For the API, here is the section used for autogrow during volume creation (see the API documentation for the full example):
POST /storage/volumes "autosize": {
"grow_threshold": 0,
"maximum": 0,
"minimum": 0,
"mode": "grow",
"shrink_threshold": 0
},
