<?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: Disable snapshot on netapp C mdoe volume using powershell commands in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139624#M25481</link>
    <description>&lt;P&gt;taht query of setting it to none worked, but when i chnage the snapshot policy directly to none in create volume&amp;nbsp;command's inputs in wfa it does not work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so I can use another powershell command to set none as SS policy on a volume but i can not use the wfa create volume certified command's in put name snapshot policy and can not set as nonw&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 14:08:16 GMT</pubDate>
    <dc:creator>CAPATEL_NET1984</dc:creator>
    <dc:date>2018-04-16T14:08:16Z</dc:date>
    <item>
      <title>Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139578#M25474</link>
      <description>&lt;P&gt;I was looking for command to disable snapshot on a volume but not able to find an option in netapp PS toolkit.&lt;/P&gt;
&lt;P&gt;is there a command or options in cmdlet i can set to disable the snapshots on a particular vol?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 13:49:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139578#M25474</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2025-06-04T13:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139579#M25475</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9898"&gt;@CAPATEL_NET1984&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two ways you can disable snapshots:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Set the snapshot policy to "none"&lt;/LI&gt;
&lt;LI&gt;Set the volume option "nosnap" to "on"&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;To change the policy, you can use this PowerShell:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Update-NcVol -Query @{ Name = $volName } -Attributes @{ VolumeSnapshotAttributes = @{ SnapshotPolicy = "none" } }&lt;/PRE&gt;
&lt;P&gt;To disable the volume option:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Get-NcVol $volName | Set-NcVolOption -Key nosnap -Value on&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read more about PSTK + snapshots &lt;A href="https://practical-admin.com/blog/netapp-powershell-toolkit-101-volume-snapshots/" target="_self"&gt;here&lt;/A&gt; and&amp;nbsp;volumes &lt;A href="https://practical-admin.com/blog/netapp-powershell-toolkit-101-managing-volumes/" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 19:49:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139579#M25475</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2018-04-13T19:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139580#M25476</link>
      <description>&lt;P&gt;Take a look at get-ncvol and update-ncvol.&amp;nbsp; I &lt;STRONG&gt;think&lt;/STRONG&gt; the volume attribute you want to update is .&lt;STRONG&gt;NoSnap&lt;/STRONG&gt;.&amp;nbsp; This could also be the option to enable user access to teh snapshot directory, so you will want to test this.&amp;nbsp; Look at the Example at the end of&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;get-Help Update-NcVol -full &amp;nbsp; for an example of how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 20:14:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139580#M25476</guid>
      <dc:creator>geringer</dc:creator>
      <dc:date>2018-04-13T20:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139622#M25480</link>
      <description>&lt;P&gt;Tried in WFA&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;erro is below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;09:58:18.167 ERROR&amp;nbsp; [LM Disable snapshot for backup volume] Failed executing command. Exception: Modification of the following fields: auto-snapshots-enabled not allowed for volumes of the type "Flexible Volume - Read-Write volume".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;param (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Cluster IP address")]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [string]$Cluster,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Volume name")]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [string]$VolumeName,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [parameter(Mandatory=$true, HelpMessage="Storage Virtual Machine name")]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [string]$VserverName&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # connect to controller&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connect-WfaCluster $Cluster&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #testing volume existence. this command somehow doesn't throw exception if&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # ErrorAction is 'Stop' and the volume isn't found. adding if block&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vol = Get-NcVol -Name $VolumeName -Vserver $VserverName&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(!$vol)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw "Volume '$VolumeName' not found on Storage Virtual Machine '$VserverName'"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Get-WFALogger -Info -message $("Modifying volume: " + $VolumeName + " on Storage Virtual Machine " + $VserverName)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;$status = Get-NcVol $VolumeName | Set-NcVolOption -Key nosnap -Value on&lt;BR /&gt;#$status = Update-NcVol -Query $queryTemplate -Attributes $attributeTemplate -FlexGroupVolume&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($status.FailureCount -eq 1)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw $status.FailureList[0].ErrorMessage&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:01:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139622#M25480</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2018-04-16T14:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139624#M25481</link>
      <description>&lt;P&gt;taht query of setting it to none worked, but when i chnage the snapshot policy directly to none in create volume&amp;nbsp;command's inputs in wfa it does not work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so I can use another powershell command to set none as SS policy on a volume but i can not use the wfa create volume certified command's in put name snapshot policy and can not set as nonw&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 14:08:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139624#M25481</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2018-04-16T14:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable snapshot on netapp C mdoe volume using powershell commands</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139685#M25492</link>
      <description>&lt;P&gt;also I ahve differnt code version in lab and prod and i noticed that on older code version 9.1p1 i need to do below, added&amp;nbsp;&lt;SPAN&gt;-FlexGroupVolume:$false and it worekd fine&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i did not added this on 9.2 version and it still worked&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Update-NcVol -Query @{ Name = $VolumeName } -Attributes @{ VolumeSnapshotAttributes = @{ SnapshotPolicy = "none" } } &lt;FONT color="#FF6600"&gt;-FlexGroupVolume:$false&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 13:29:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Disable-snapshot-on-netapp-C-mdoe-volume-using-powershell-commands/m-p/139685#M25492</guid>
      <dc:creator>CAPATEL_NET1984</dc:creator>
      <dc:date>2018-04-18T13:29:28Z</dc:date>
    </item>
  </channel>
</rss>

