i want to reduce a size of lun which is attached to host by restApi
i am getting this error
Reducing LUN size without coordination with the host system may cause permanent data loss or corruption.. Use the force flag to allow LUN size reduction.
how can i use force flag
url: https://<ip of apiserver>:8443/api/1.0/ontap/luns/<lun_key>
You do realize all the sequences you'll get after downsizing a LUN, aren't you?
Most applications will not survive such a reduction.
A better option is to make LUN thinly provisioned instead.