I have a volume with 1GB on my testing environment. I have autogrow enabled and with maximum size set to 20GB.
I have a playbook to create a LUN with 10GB.
I get the following error :
calling: storage/luns: got {'message': 'No space left on device', 'code': '1245212'}."}
The volume is at 0% used.
I even increased the Maximum Autosize to 1TB and the minimum Autosize to 1G. The Autosize Grow Threshold Percentage: 80% and the Autosize Shrink Threshhold Percentage is 50%. it also has the Autosize Mode: grow_shrink.
Why I am not able to create a LUN bigger than the volume even if it has autogrow enabled.
- name: Volume autogrow netapp.ontap.na_ontap_volume_autosize: volume: "{{ volume_name }}" vserver: "svm_name" mode: "{{ vol_autosize_mode | default(omit) }}" maximum_size: "{{ vol_autosize_maximum if (vol_autosize_maximum | length > 0) else omit }}" minimum_size: "{{ vol_autosize_minimum if (vol_autosize_minimum | length > 0) else omit }}"