What conditions can trigger a volume's auto-shrink?
Applies to
- ONTAP 9
- volume autosize
Answer
- All of the following three conditions must be met:
- The
-autosize-mode
parameter is set togrow_shrink
. - The existing volume size is larger than the value set in
-min-autosize
. - The usage rate of the existing volume is lower than the value set in
-autosize-shrink-threshold-percent
.
- The
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'}
- 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'}