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.

Software Development Kit (SDK) and API Discussions

API to set thin provisioning on for a volume

BRAJESHGOYAL
4,195 Views

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
4,195 Views

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 -

Public