NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

General Discussion

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

neha_T
2,720 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
2,701 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