#How to make NetApp Ontap Volume grow when there is no space left to create a LUN

1 messages · Page 1 of 1 (latest)

ashen garden
#

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 }}"

#

How to make NetApp Ontap Volume grow when there is no space left to create a LUN

urban bane
#

autogrow only triggers when the volume reaches around 92-98% full. if it is empty now, it will not auto-grow. And since it is too small, you cannot create a space-reserved LUN (which is basically a file of size 10g in your case). You can either increase the volume size slightly over 10G, or create the LUN as non-space-reserved