Software Development Kit (SDK) and API Discussions

API to set thin provisioning on for a volume

BRAJESHGOYAL

Hi Guys:

What's the API to turn thin provisioning on on a FlexVol/LUN/Qtree in Clustered ONTAP? Thanks much.

1 REPLY 1

rle
NetApp Alumni

Hi Brajesh,

I assume you're asking about cDOT, so in the volume-create API, there is the space-reserve input which has the values of "none", "file", or "volume".  Setting the value to "volume" is 'thick' provisioning, while setting the value to "none" is 'thin' provisioning.  The value, "file" is in between 'thin' and 'thick' meaning that when a file is created on the volume, the maximum space requested for the file is allocated.  This setting is probably good for LUNs.  However, I just checked WFA and it used "none" for NFS and "volume" for LUN.  You can slice any way you want.

Regards,

   - Rick -

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