how to use force flag in restApi to reduce lun size?
2018-08-09 09:12 AM
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>
1 REPLY 1
Re: how to use force flag in restApi to reduce lun size?
2018-08-09 10:05 AM
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.