<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Disabling automatic snapshots on volume over API in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Disabling-automatic-snapshots-on-volume-over-API/m-p/131998#M2393</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I'd like to use API function volume-modify-iter to disable automatic snapshots for a volume, but when I set auto-snapshots-enabled attribute to false using this function no error is returned, but automatic snapshots are not disabled. Anyone know how to disable automatic snapshots over API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When using the XML example below, the call successfully disable snapdir access and volume autosize is also set to grow successfully, but automatic snapshots are still enabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ONTAP 9.1P2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hardware:&amp;nbsp;AFF8080-R6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SDK in use: netapp-manageability-sdk-5.6, python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;XML call:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;volume-modify-iter&amp;gt;
        &amp;lt;attributes&amp;gt;
                &amp;lt;volume-attributes&amp;gt;
                        &amp;lt;volume-snapshot-attributes&amp;gt;
                                &amp;lt;auto-snapshots-enabled&amp;gt;false&amp;lt;/auto-snapshots-enabled&amp;gt;
                                &amp;lt;snapdir-access-enabled&amp;gt;false&amp;lt;/snapdir-access-enabled&amp;gt;
                        &amp;lt;/volume-snapshot-attributes&amp;gt;
                        &amp;lt;volume-autosize-attributes&amp;gt;
                                &amp;lt;mode&amp;gt;grow&amp;lt;/mode&amp;gt;
                        &amp;lt;/volume-autosize-attributes&amp;gt;
                &amp;lt;/volume-attributes&amp;gt;
        &amp;lt;/attributes&amp;gt;
        &amp;lt;query&amp;gt;
                &amp;lt;volume-attributes&amp;gt;
                        &amp;lt;volume-id-attributes&amp;gt;
                                &amp;lt;name&amp;gt;oc1swe1_qadb01rac&amp;lt;/name&amp;gt;
                        &amp;lt;/volume-id-attributes&amp;gt;
                &amp;lt;/volume-attributes&amp;gt;
        &amp;lt;/query&amp;gt;
        &amp;lt;max-records&amp;gt;1&amp;lt;/max-records&amp;gt;
&amp;lt;/volume-modify-iter&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Response:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;results status="passed"&amp;gt;
        &amp;lt;success-list&amp;gt;
                &amp;lt;volume-modify-iter-info&amp;gt;
                        &amp;lt;volume-key&amp;gt;
                                &amp;lt;volume-attributes&amp;gt;
                                        &amp;lt;volume-id-attributes&amp;gt;
                                                &amp;lt;name&amp;gt;oc1swe1_qadb01rac&amp;lt;/name&amp;gt;
                                                &amp;lt;owning-vserver-name&amp;gt;oracle_backup&amp;lt;/owning-vserver-name&amp;gt;
                                        &amp;lt;/volume-id-attributes&amp;gt;
                                &amp;lt;/volume-attributes&amp;gt;
                        &amp;lt;/volume-key&amp;gt;
                &amp;lt;/volume-modify-iter-info&amp;gt;
        &amp;lt;/success-list&amp;gt;
        &amp;lt;failure-list&amp;gt;&amp;lt;/failure-list&amp;gt;
        &amp;lt;next-tag&amp;gt;&amp;amp;lt;volume-modify-iter-key-td&amp;amp;gt;
        &amp;amp;lt;key-0&amp;amp;gt;oracle_backup&amp;amp;lt;/key-0&amp;amp;gt;
        &amp;amp;lt;key-1&amp;amp;gt;oc1swe1_qadb01rac&amp;amp;lt;/key-1&amp;amp;gt;
&amp;amp;lt;/volume-modify-iter-key-td&amp;amp;gt;
&amp;lt;/next-tag&amp;gt;
        &amp;lt;num-failed&amp;gt;0&amp;lt;/num-failed&amp;gt;
        &amp;lt;num-succeeded&amp;gt;1&amp;lt;/num-succeeded&amp;gt;
&amp;lt;/results&amp;gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:56:45 GMT</pubDate>
    <dc:creator>ilmarkerm</dc:creator>
    <dc:date>2025-06-04T14:56:45Z</dc:date>
    <item>
      <title>Disabling automatic snapshots on volume over API</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Disabling-automatic-snapshots-on-volume-over-API/m-p/131998#M2393</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'd like to use API function volume-modify-iter to disable automatic snapshots for a volume, but when I set auto-snapshots-enabled attribute to false using this function no error is returned, but automatic snapshots are not disabled. Anyone know how to disable automatic snapshots over API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When using the XML example below, the call successfully disable snapdir access and volume autosize is also set to grow successfully, but automatic snapshots are still enabled.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ONTAP 9.1P2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hardware:&amp;nbsp;AFF8080-R6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SDK in use: netapp-manageability-sdk-5.6, python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;XML call:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;volume-modify-iter&amp;gt;
        &amp;lt;attributes&amp;gt;
                &amp;lt;volume-attributes&amp;gt;
                        &amp;lt;volume-snapshot-attributes&amp;gt;
                                &amp;lt;auto-snapshots-enabled&amp;gt;false&amp;lt;/auto-snapshots-enabled&amp;gt;
                                &amp;lt;snapdir-access-enabled&amp;gt;false&amp;lt;/snapdir-access-enabled&amp;gt;
                        &amp;lt;/volume-snapshot-attributes&amp;gt;
                        &amp;lt;volume-autosize-attributes&amp;gt;
                                &amp;lt;mode&amp;gt;grow&amp;lt;/mode&amp;gt;
                        &amp;lt;/volume-autosize-attributes&amp;gt;
                &amp;lt;/volume-attributes&amp;gt;
        &amp;lt;/attributes&amp;gt;
        &amp;lt;query&amp;gt;
                &amp;lt;volume-attributes&amp;gt;
                        &amp;lt;volume-id-attributes&amp;gt;
                                &amp;lt;name&amp;gt;oc1swe1_qadb01rac&amp;lt;/name&amp;gt;
                        &amp;lt;/volume-id-attributes&amp;gt;
                &amp;lt;/volume-attributes&amp;gt;
        &amp;lt;/query&amp;gt;
        &amp;lt;max-records&amp;gt;1&amp;lt;/max-records&amp;gt;
&amp;lt;/volume-modify-iter&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Response:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;results status="passed"&amp;gt;
        &amp;lt;success-list&amp;gt;
                &amp;lt;volume-modify-iter-info&amp;gt;
                        &amp;lt;volume-key&amp;gt;
                                &amp;lt;volume-attributes&amp;gt;
                                        &amp;lt;volume-id-attributes&amp;gt;
                                                &amp;lt;name&amp;gt;oc1swe1_qadb01rac&amp;lt;/name&amp;gt;
                                                &amp;lt;owning-vserver-name&amp;gt;oracle_backup&amp;lt;/owning-vserver-name&amp;gt;
                                        &amp;lt;/volume-id-attributes&amp;gt;
                                &amp;lt;/volume-attributes&amp;gt;
                        &amp;lt;/volume-key&amp;gt;
                &amp;lt;/volume-modify-iter-info&amp;gt;
        &amp;lt;/success-list&amp;gt;
        &amp;lt;failure-list&amp;gt;&amp;lt;/failure-list&amp;gt;
        &amp;lt;next-tag&amp;gt;&amp;amp;lt;volume-modify-iter-key-td&amp;amp;gt;
        &amp;amp;lt;key-0&amp;amp;gt;oracle_backup&amp;amp;lt;/key-0&amp;amp;gt;
        &amp;amp;lt;key-1&amp;amp;gt;oc1swe1_qadb01rac&amp;amp;lt;/key-1&amp;amp;gt;
&amp;amp;lt;/volume-modify-iter-key-td&amp;amp;gt;
&amp;lt;/next-tag&amp;gt;
        &amp;lt;num-failed&amp;gt;0&amp;lt;/num-failed&amp;gt;
        &amp;lt;num-succeeded&amp;gt;1&amp;lt;/num-succeeded&amp;gt;
&amp;lt;/results&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:56:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Disabling-automatic-snapshots-on-volume-over-API/m-p/131998#M2393</guid>
      <dc:creator>ilmarkerm</dc:creator>
      <dc:date>2025-06-04T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling automatic snapshots on volume over API</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Disabling-automatic-snapshots-on-volume-over-API/m-p/132295#M2413</link>
      <description>&lt;P&gt;It appears that auto-snapshots-enable is "non-modifiable".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        &amp;lt;volume-snapshot-attributes&amp;gt;
          &amp;lt;!--If true, enable automatic snapshots on the volume. &amp;lt;p&amp;gt; The default value is true. &amp;lt;p&amp;gt; Attributes: non-creatable, non-modifiable--&amp;gt;
          &amp;lt;auto-snapshots-enabled&amp;gt;&amp;lt;/auto-snapshots-enabled&amp;gt;
          &amp;lt;!--If true, enable the visible '.snapshot' directory that is normally present at system internal mount points. This value also turns on access to all other '.snapshot' directories in the volume. &amp;lt;p&amp;gt; The default value is true. &amp;lt;p&amp;gt; Attributes: non-creatable, modifiable--&amp;gt;
          &amp;lt;snapdir-access-enabled&amp;gt;&amp;lt;/snapdir-access-enabled&amp;gt;
        &amp;lt;/volume-snapshot-attributes&amp;gt;&lt;/PRE&gt;&lt;P&gt;That at least explains why it didnt change it, not sure if there is an alternate api call for it though.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2017 22:33:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Disabling-automatic-snapshots-on-volume-over-API/m-p/132295#M2413</guid>
      <dc:creator>mjschneider</dc:creator>
      <dc:date>2017-06-27T22:33:56Z</dc:date>
    </item>
  </channel>
</rss>

