Community maintenance is complete. Thank you for your patience!

General Discussion

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

neha_T

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

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.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public