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

Is volume option 'maxdirsize' modification via API supported?

enyang
5,871 Views

Other volume option modification was successful by zedi but ‘maxdirsize’. Do we support to do that by API? or other automatic measures?

 

Env:

DOT 8.2.2 7-Mode

SDK 5.4P1

1 ACCEPTED SOLUTION

enyang
5,809 Views
Thanks for your reply. May I know your DOT version? I can do that on DOT 8.1 but failure to do that on DOT8.2. Do you have any advise?

View solution in original post

4 REPLIES 4

francoisbnc
5,822 Views

hi,

You can use, I tested sucessfully.

 

<?xml version="1.0" encoding="UTF-8"?>
  <netapp xmlns="http://www.netapp.com/filer/admin" version="1.19">
    <volume-set-option>
      <option-name>maxdirsize</option-name>
      <option-value>100000</option-value>
      <volume>vol_source</volume>
    </volume-set-option>
  </netapp>

 

François

enyang
5,810 Views
Thanks for your reply. May I know your DOT version? I can do that on DOT 8.1 but failure to do that on DOT8.2. Do you have any advise?

enyang
5,807 Views
I got following prompt from storage console while the API issued. It seems that DOT8.2 added an interaction to get confirm the maxdirsize modification. Do you think I can achieve this automatic modification by someway.

francoisbnc
5,792 Views

tested on NetApp Release 8.1.4P6 7-Mode: Sat Oct 11 19:53:35 PDT 2014.

I don't have systems with more recent version to check.

 

François

 

 

 

Public