Skip to main content
NetApp Knowledge Base

What conditions can trigger a volume's auto-shrink?

Views:
66
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

Answer

  1. All of the following three conditions must be met:
    1. The -autosize-mode parameter is set to grow_shrink.
    2. The existing volume size is larger than the value set in -min-autosize.
    3. The usage rate of the existing volume is lower than the value set in -autosize-shrink-threshold-percent.

EMS log sample:

Sun Aug 18 11:22:55 +0900 [node1: wafl_exempt05: wafl_vol_autoSize_done_1:notice]: params: {'event_type': 'shrink', 'vol': 'vol1', 'app': '', 'volident': '@vserver:067123ea-ae7f-11ec-bfab-xxxxxxxx', 'size': '1.00GB', 'object_uuid': '4c5f7523-c120-11ec-8f5e-xxxxxxxx'}
Sun Aug 18 11:25:05 +0900 [node1: wafl_exempt08: wafl_vol_autoSize_done_1:notice]: params: {'event_type': 'shrink', 'vol': 'vol1', 'app': '', 'volident': '@vserver:067123ea-ae7f-11ec-bfab-xxxxxxxx', 'size': '1.00GB', 'object_uuid': '4c5f7523-c120-11ec-8f5e-xxxxxxxx'}  

  1. Additionally, Rebalance FlexGroup volumes in ONTAP 9.14.1 or later can also trigger size adjustments between the constituent volumes (CVs) of FlexGroup

EMS log sample:

Sun Aug 18 12:22:10 +0900 [node1: wafl_exempt12: fg_member_elastic_sizing_1:notice]: params: {'constituent_dsid': '1069', 'object_name': 'Flexgroup', 'current_size': '105945335', 'new_size': '105549644', 'constituent_name': 'Flexgroup__0001(1)', 'operation': 'SHRUNK', 'partner_name': 'Flexgroup__0002', 'partner_dsid': '1070', 'size': '390523330560', 'used': '251054518272', 'percent_full': '64', 'flexgroup_size': '1232471814144', 'flexgroup_used': '956775694336', 'flexgroup_percent_full': '77', 'event_time': '368946'}
Sun Aug 18 12:22:10 +0900 [node1: wafl_exempt00: fg_member_elastic_sizing_1:notice]: params: {'constituent_dsid': '1070', 'object_name': 'Flexgroup', 'current_size': '228140101', 'new_size': '228535792', 'constituent_name': 'Flexgroup__0002(1)', 'operation': 'GREW', 'partner_name': 'Flexgroup__0001', 'partner_dsid': '1069', 'size': '841948483584', 'used': '705721176064', 'percent_full': '83', 'flexgroup_size': '1232471814144', 'flexgroup_used': '956775694336', 'flexgroup_percent_full': '77', 'event_time': '368950'}

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.