General Discussion

how to use force flag in restApi to reduce lun size?

neha_T
1,694 Views

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

D_BEREZENKO
1,675 Views

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.

Public