哪些条件可以触发卷的自动缩减?
适用场景
- ONTAP 9
- volume autosize
问题解答
- 必须满足以下三个条件:
-autosize-mode
参数设置为grow_shrink
。- 现有卷大小大于中设置的值
-min-autosize
。 - 现有卷的利用率低于中设置的值
-autosize-shrink-threshold-percent
。
EMS日志示例:
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] ONTAP 9.14.1或更高版本中的重新平衡FlexGroup卷也可能会在FlexGroup的成分卷(成分卷、CV)之间触发大小调整
EMS日志示例:
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'}