<?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 Re: Volume Deduplication API Fail in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116631#M1822</link>
    <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here's the full output if the last was confusing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;results status='passed'&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;lt;cli-output/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;lt;cli-result-value&amp;gt;0&amp;lt;/cli-result-value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you post an example request just to get the system version? &amp;nbsp;That might help me form a query for managing the deduplication process.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 18:07:51 GMT</pubDate>
    <dc:creator>michael_england</dc:creator>
    <dc:date>2016-03-03T18:07:51Z</dc:date>
    <item>
      <title>Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116398#M1817</link>
      <description>&lt;P&gt;I'm having trouble enabling deduplication (volume efficiency) though the Java API, although I suspect it's the same problem no matter what language you're using. &amp;nbsp;Essentially I'm running into this when I try to run "sis-enable":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Insufficient privileges: user 'vsadmin' does not have write access to this resource&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I look at the vsadmin role, sure enough it doesn't have volume efficiency enabled. &amp;nbsp;The bad part is, I can't modify the security attributes for a built in role, and I can't run this at the cluster level from the API. &amp;nbsp;This has been discussed on another post 2 years ago:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Data-ONTAP-Discussions/How-to-grant-VServer-Admin-privs-to-enable-SIS-on-a-volume/m-p/60433/highlight/true#M14227" target="_blank"&gt;http://community.netapp.com/t5/Data-ONTAP-Discussions/How-to-grant-VServer-Admin-privs-to-enable-SIS-on-a-volume/m-p/60433/highlight/true#M14227&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Create a new user and role just for this function... this isn't really going to work for me because of other security issues&lt;/P&gt;&lt;P&gt;2) Use 'system-cli' to get around the problem, but I can't seem to get this to work at all. &amp;nbsp;I decided to back off to the simplest command I can find:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;NaElement&amp;nbsp;&lt;SPAN class="s1"&gt;request&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;new&lt;/SPAN&gt; NaElement(&lt;SPAN class="s3"&gt;"system-cli"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;NaElement &lt;SPAN class="s4"&gt;args&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;new&lt;/SPAN&gt; NaElement(&lt;SPAN class="s3"&gt;"args"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;args&lt;/SPAN&gt;.addNewChild(&lt;SPAN class="s2"&gt;"arg"&lt;/SPAN&gt;, &lt;SPAN class="s2"&gt;"version"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;request&lt;/SPAN&gt;.addChildElem(&lt;SPAN class="s2"&gt;args&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;response&lt;/SPAN&gt; = &lt;SPAN class="s2"&gt;server&lt;/SPAN&gt;.invokeElem(&lt;SPAN class="s1"&gt;request&lt;/SPAN&gt;);&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;And what I get back is:&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;cli-result-value&amp;gt;0&amp;lt;/cli-result-value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;... nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Anyone with an idea of how to enable deduplication through the API without having to create a new role / user?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;In case it matters, I'm running CDOT 8.3.1 with manageontap-5.4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:56:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116398#M1817</guid>
      <dc:creator>michael_england</dc:creator>
      <dc:date>2025-06-04T21:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116628#M1820</link>
      <description>&lt;P&gt;The output from the command&amp;nbsp;is in the "cli-output" element, not "cli-result-value".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:39:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116628#M1820</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-03-03T17:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116631#M1822</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Here's the full output if the last was confusing:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;results status='passed'&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;lt;cli-output/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;nbsp; &amp;lt;cli-result-value&amp;gt;0&amp;lt;/cli-result-value&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;lt;/results&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you post an example request just to get the system version? &amp;nbsp;That might help me form a query for managing the deduplication process.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:07:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116631#M1822</guid>
      <dc:creator>michael_england</dc:creator>
      <dc:date>2016-03-03T18:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116634#M1823</link>
      <description>&lt;P&gt;I did some more testing and I believe this is because vsadmin doesn't have permission to access system-cli by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/4937i36E2AB87156CB60F/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="2016-03-03 13_20_14-Windows PowerShell ISE.png" title="2016-03-03 13_20_14-Windows PowerShell ISE.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:23:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116634#M1823</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-03-03T18:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116635#M1824</link>
      <description>&lt;P&gt;Yes, that is my original problem. &amp;nbsp;So my workaround is to use system-cli but I can't get that to work either, even for a simple 'version' call.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:27:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116635#M1824</guid>
      <dc:creator>michael_england</dc:creator>
      <dc:date>2016-03-03T18:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116640#M1825</link>
      <description>&lt;P&gt;Yep...vsadmin can't use sis-enable or system-cli apis without modifying permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can enable the volume efficiency permissions for vsadmin using this ClusterShell command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;security login role modify -vserver mySVM -role vsadmin -cmddirname "volume efficiency" -access all&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The default access level is "none" if you want to reset it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 18:54:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116640#M1825</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-03-03T18:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Volume Deduplication API Fail</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116644#M1826</link>
      <description>&lt;P&gt;You can't modify a pre-defined role.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;security login role modify -vserver myvserver&amp;nbsp;-role vsadmin -cmddirname "volume efficiency" -access all&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Error: command failed: Cannot modify pre-defined roles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;---&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;And it isn't practical for me to add another role / account. &amp;nbsp;Which is how I ended up with system-cli, which doesn't work for me.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 19:08:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/Volume-Deduplication-API-Fail/m-p/116644#M1826</guid>
      <dc:creator>michael_england</dc:creator>
      <dc:date>2016-03-03T19:08:51Z</dc:date>
    </item>
  </channel>
</rss>

