<?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 PSTK volume move from volume to aggr encryption in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159290#M36359</link>
    <description>&lt;P&gt;I have an aggregate that I want to retire.&amp;nbsp; Volumes have volume based encryption.&amp;nbsp; I'm trying to migrate volumes to other aggregates with aggr level encryption.&amp;nbsp; but it appears the start-ncvolmove cmdlet doesn't have an option to use aggregate encryption.&amp;nbsp; I'm using the latest PSTK 9.7.&amp;nbsp; anyone else found a way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 10:54:18 GMT</pubDate>
    <dc:creator>djwarner2929</dc:creator>
    <dc:date>2025-06-04T10:54:18Z</dc:date>
    <item>
      <title>PSTK volume move from volume to aggr encryption</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159290#M36359</link>
      <description>&lt;P&gt;I have an aggregate that I want to retire.&amp;nbsp; Volumes have volume based encryption.&amp;nbsp; I'm trying to migrate volumes to other aggregates with aggr level encryption.&amp;nbsp; but it appears the start-ncvolmove cmdlet doesn't have an option to use aggregate encryption.&amp;nbsp; I'm using the latest PSTK 9.7.&amp;nbsp; anyone else found a way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:54:18 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159290#M36359</guid>
      <dc:creator>djwarner2929</dc:creator>
      <dc:date>2025-06-04T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: PSTK volume move from volume to aggr encryption</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159293#M36360</link>
      <description>&lt;P&gt;It doesn't look like the Start-NcVolMove cmdlet itself supports the necessary aggregate encryption parameter (&lt;SPAN&gt;&lt;EM&gt;-encrypt-with-aggr-key&lt;/EM&gt;), unfortunately. However, the API that the cmdlet calls - &lt;EM&gt;volume-move-start&lt;/EM&gt; - does. You can use the "Invoke-NcSystemApi" cmdlet to make the API call directly to work around the gap. Something like this might work:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$SourceVol = &amp;lt;your volume&amp;gt;
$DestAggr = &amp;lt;your destination aggregate&amp;gt;
$Vserver = &amp;lt;Source Vserver&amp;gt; 

$Request = @"

   &amp;lt;volume-move-start&amp;gt;
    &amp;lt;dest-aggr&amp;gt;$DestAggr&amp;lt;/dest-aggr&amp;gt;
    &amp;lt;encrypt-with-aggr-key&amp;gt;$true&amp;lt;/encrypt-with-aggr-key&amp;gt;
    &amp;lt;source-volume&amp;gt;$SourceVol&amp;lt;/source-volume&amp;gt;
    &amp;lt;vserver&amp;gt;$Vserver&amp;lt;/vserver&amp;gt;
  &amp;lt;/volume-move-start&amp;gt;

"@

Invoke-NcSystemApi -Request $Request&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have a system with NAE enabled to test this on, so I can't fully validate that it will work, but it should.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Donny&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 20:00:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159293#M36360</guid>
      <dc:creator>donny_lang</dc:creator>
      <dc:date>2020-09-09T20:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: PSTK volume move from volume to aggr encryption</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159298#M36361</link>
      <description>&lt;P&gt;Perfect!&amp;nbsp; Thank you very much Donny.&amp;nbsp; That worked!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 21:21:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/PSTK-volume-move-from-volume-to-aggr-encryption/m-p/159298#M36361</guid>
      <dc:creator>djwarner2929</dc:creator>
      <dc:date>2020-09-09T21:21:07Z</dc:date>
    </item>
  </channel>
</rss>

