<?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: Unable to create a volume (or volume clone) using REST API when using SVM management IP. in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442170#M476</link>
    <description>&lt;P&gt;Don't know about the REST API (syntax error) thing, but I am just wondering is it b'cos of the fact that 'aggr' is not assigned to SVM as you guessed it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that aggregate assigned to the SVM ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver show -fields aggr-list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to add that aggr to the SVM and try the command again?&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver add-aggregates -vserver svm1 -aggregates ONTAP912clst_VM_DISK_1&lt;/P&gt;</description>
    <pubDate>Mon, 06 Mar 2023 16:48:24 GMT</pubDate>
    <dc:creator>Ontapforrum</dc:creator>
    <dc:date>2023-03-06T16:48:24Z</dc:date>
    <item>
      <title>Unable to create a volume (or volume clone) using REST API when using SVM management IP.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442168#M475</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;If I use the REST API along with an SVM management IP, creating a volume or volume clone fails. It doesn't return an HTTP error, but in the "Events &amp;amp; Jobs" section, I see an error message indicating that an aggregate doesn't exist. However, issuing the same volume creation command using the cluster management IP works fine. Perhaps the SVM doesn't have visibility to the aggregate. Just a guess.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;REST command and error message on server:&lt;BR /&gt;------------------------------------&lt;BR /&gt;curl -u vsadmin:FAKE_PASSWORD -X POST --data {\"name\":\"vol_create_test_1\",\"size\":\"1000000000\",\"svm.name\":\"svm1\",\"aggregates.name\":[\"ONTAP912clst_VM_DISK_1\"]} -k &lt;A href="https://172.20.2.55/api/storage/volumes" target="_blank" rel="noopener"&gt;https://172.20.2.55/api/storage/volumes&lt;/A&gt;&lt;BR /&gt;------------------------------------&lt;BR /&gt;"POST /api/storage/volumes/d535ab75-bc27-11ed-8613-00a0b8fd52c5","failure","Aggregate ONTAP912clst_VM_DISK_1 not found. Reason: entry doesn't exist. ","2023-03-06T14:04:38+00:00","2023-03-06T14:04:38+00:00"&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:52:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442168#M475</guid>
      <dc:creator>Shadari</dc:creator>
      <dc:date>2025-06-04T09:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create a volume (or volume clone) using REST API when using SVM management IP.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442170#M476</link>
      <description>&lt;P&gt;Don't know about the REST API (syntax error) thing, but I am just wondering is it b'cos of the fact that 'aggr' is not assigned to SVM as you guessed it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that aggregate assigned to the SVM ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver show -fields aggr-list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to add that aggr to the SVM and try the command again?&lt;/P&gt;&lt;P&gt;::&amp;gt; vserver add-aggregates -vserver svm1 -aggregates ONTAP912clst_VM_DISK_1&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:48:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442170#M476</guid>
      <dc:creator>Ontapforrum</dc:creator>
      <dc:date>2023-03-06T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to create a volume (or volume clone) using REST API when using SVM management IP.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442171#M477</link>
      <description>&lt;P&gt;Ontapforrum, adding the aggregate to the SVM worked. Thanks for the advice.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 16:59:59 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Unable-to-create-a-volume-or-volume-clone-using-REST-API-when-using-SVM/m-p/442171#M477</guid>
      <dc:creator>Shadari</dc:creator>
      <dc:date>2023-03-06T16:59:59Z</dc:date>
    </item>
  </channel>
</rss>

