<?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: WFA - Create Volume &amp;quot;EfficiencyPolicy&amp;quot; not working in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128763#M23120</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm also having this problem. Please see my logs below,&lt;/P&gt;&lt;P&gt;11:49:51.567 INFO&amp;nbsp; [CdT Create a Clustered Data ONTAP NFS Volume - copy] ***** Workflow Execution Started *****&lt;BR /&gt;11:49:51.598 INFO&amp;nbsp; [Create volume] ### Command 'Create volume' in 'POWER_SHELL' ###&lt;BR /&gt;11:49:53.364 INFO&amp;nbsp; [Create volume] Get-WfaCredentials -Host Myfiler&lt;BR /&gt;11:49:53.379 INFO&amp;nbsp; [Create volume] Credentials successfully provided for 'Myfiler'&lt;BR /&gt;11:49:53.411 INFO&amp;nbsp; [Create volume] Connect-Controller -Type CLUSTER -Name Myfiler -Credential System.Management.Automation.PSCredential -Vserver&lt;BR /&gt;11:49:53.567 INFO&amp;nbsp; [Create volume] Connect-NcController (with credentials) -Name Myfiler -Timeout 60000 -ErrorAction Stop&lt;BR /&gt;11:49:55.739 INFO&amp;nbsp; [Create volume] Connected to cluster node&lt;BR /&gt;11:49:56.036 INFO&amp;nbsp; [Create volume] Creating a new volume: New-NcVol -ErrorAction Stop -name Testvol -Aggregate aggr1_node_01&amp;nbsp; -SpaceReserve volume -State online -Size 2560m -VserverContext svm_dev1 -Type rw -SecurityStyle unix -UnixPermissions 777 -ExportPolicy ep_Oracle_dev -EfficiencyPolicy default -JunctionPath /Testvol&lt;BR /&gt;11:49:58.254 INFO&amp;nbsp; [Create volume] Setting options no_atime_update off,fractional_reserve 0&lt;BR /&gt;11:49:58.457 INFO&amp;nbsp; [Create volume] Configuring auto delete options state off&lt;BR /&gt;11:49:58.661 INFO&amp;nbsp; [Create volume] Configuring volume autosize attributes: Set-NcVolAutosize -ErrorAction Stop -name dd4 -VserverContext svm_dev1 -Mode grow_shrink&lt;BR /&gt;11:49:59.489 INFO&amp;nbsp; [Create volume] Enabling deduplication&lt;BR /&gt;11:49:59.848 INFO&amp;nbsp; [Create volume] Configuring snapshot reserve, percentage 20&lt;BR /&gt;11:50:00.114 INFO&amp;nbsp; [Create volume] Command completed, took 8516 milliseconds&lt;BR /&gt;11:50:00.192 INFO&amp;nbsp; [Create a Clustered Data ONTAP NFS Volume - copy] ***** Workflow Execution Successful *****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;DermotC&lt;/P&gt;</description>
    <pubDate>Tue, 07 Mar 2017 11:17:32 GMT</pubDate>
    <dc:creator>cdtinfrastructure</dc:creator>
    <dc:date>2017-03-07T11:17:32Z</dc:date>
    <item>
      <title>WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/118764#M21193</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm experiencing the following strange behavior in WFA 3.1P1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When a WFA workflow creates a volume (using the certified Create Volume command) with an Efficiency Policy attached, the policy is not applied (even though the command completes without any error):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;16:17:55.014 INFO&amp;nbsp; [Create volume] ### Command 'Create volume' in 'POWER_SHELL' ###&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:31.719 INFO&amp;nbsp; [Create volume] Get-WfaCredentials -Host xx.xx.xx.xx&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:31.781 INFO&amp;nbsp; [Create volume] Credentials successfully provided for 'xx.xx.xx.xx'&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:31.844 INFO&amp;nbsp; [Create volume] Connect-Controller -Type CLUSTER -Name xx.xx.xx.xx -Credential System.Management.Automation.PSCredential -Vserver&amp;nbsp; -Timeout 60000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:31.953 INFO&amp;nbsp; [Create volume] Connect-NcController (with credentials) -Name xx.xx.xx.xx -Timeout 60000 -ErrorAction Stop&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:49.344 INFO&amp;nbsp; [Create volume] Connected to cluster node&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:49.813 INFO&amp;nbsp; [Create volume] Creating a new volume: New-NcVol -ErrorAction Stop -name xxxxxxxx -Aggregate xxxxxxxx&amp;nbsp; -SpaceReserve none -State online -Size 20m -VserverContext xxxxxxxx -Type rw -SnapshotPolicy none &lt;FONT color="#FF0000"&gt;-EfficiencyPolicy always-on&lt;/FONT&gt; -JunctionPath $null&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:52.485 INFO&amp;nbsp; [Create volume] Configuring auto delete options state on, trigger volume, target_free_space 20&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:53.032 INFO&amp;nbsp; [Create volume] Configuring volume autosize attributes: Set-NcVolAutosize -ErrorAction Stop -name xxxxxxxx -VserverContext xxxxxxxx -Mode off&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:53.907 INFO&amp;nbsp; [Create volume] Enabling deduplication&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:54.438 INFO&amp;nbsp; [Create volume] Configuring snapshot reserve, percentage 0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;16:18:54.704 INFO&amp;nbsp; [Create volume] Command completed, took 59690 milliseconds&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The resulting volume shows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Efficiency Policy Name: -&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I instead execute this cmdlet from the Powershell Command line, the Efficiency Policy &lt;FONT face="arial black,avant garde"&gt;does&lt;/FONT&gt; get set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Windows PowerShell&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Copyright (C) 2013 Microsoft Corporation. All rights reserved.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PS D:\Program Files\NetApp\WFA\PoSH&amp;gt; .\profile.ps1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PS D:\Program Files\NetApp\WFA\PoSH&amp;gt; Get-NaToolkitVersion&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Major&amp;nbsp; Minor&amp;nbsp; Build&amp;nbsp; Revision&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;-----&amp;nbsp; -----&amp;nbsp; -----&amp;nbsp; --------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 62&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PS D:\Program Files\NetApp\WFA\PoSH&amp;gt; Connect-NcController -Name xx.xx.xx.xx -Credential (Get-Credential)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cmdlet Get-Credential at command pipeline position 1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Supply values for the following parameters:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Credential&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Address&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vserver&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;xx.xx.xx.xx &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; xx.xx.xx.xx &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NetApp Release 8.3.2P1: Thu Apr 14 15:58:25 UTC 2016&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PS D:\Program Files\NetApp\WFA\PoSH&amp;gt; New-NcVol -ErrorAction Stop -name xxxxxxxx -Aggregate xxxxxxxx&amp;nbsp; -SpaceReserve none -State online -Size 20m -VserverContext xxxxxxxx -Type rw -SnapshotPolicy none -EfficiencyPolicy always-on -JunctionPath $null&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; State&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TotalSize&amp;nbsp; Used&amp;nbsp; Available Dedupe Aggregate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vserver&lt;BR /&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------&amp;nbsp; ----&amp;nbsp; --------- ------ ---------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&lt;BR /&gt;xxxxxxxx &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20,0 MB&amp;nbsp;&amp;nbsp;&amp;nbsp; 5%&amp;nbsp;&amp;nbsp;&amp;nbsp; 18,9 MB&amp;nbsp; True&amp;nbsp; xxxxxxxx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xxxxxxxx&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking on the cluster:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;xxxxxxxx::&amp;gt; volume efficiency show -volume xxxxxxxx -fields policy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;vserver&amp;nbsp;&amp;nbsp;&amp;nbsp; volume&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; policy&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;---------- ----------- ---------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;xxxxxxxx&amp;nbsp;&amp;nbsp; xxxxxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; always-on&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Any idea why WFA is ignoring this parameter when the cmdlet itself works correctly? I've tried adding double-quotes around the policy: "$EfficiencyPolicy" instead of $EfficiencyPolicy but this didn't help.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 13:12:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/118764#M21193</guid>
      <dc:creator>jont</dc:creator>
      <dc:date>2016-04-27T13:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/118896#M21224</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9579"&gt;@jont﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Can you try single quotes? hyphen is a special charate in powershell. So if object have hyphen in their names, some care needs to be taken.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have 2 choices.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Modify the command code. You need to do Save-As as this is a certified command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if($EfficiencyPolicy)&lt;BR /&gt;{&lt;BR /&gt;$expression = $expression + " -EfficiencyPolicy " + '$EfficiencyPolicy'&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Don't modify the command code, but you can add this single quotes from your workflow. How to do this? I'll tell you if you are not okay with option (1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 03:01:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/118896#M21224</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-05-03T03:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128273#M23028</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;found the same issue today in WFA 4.0.0.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sadly your recommendations did not solve the issue for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also running a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;new-ncvol -name test123 -SpaceReserve none -State online -size 100m -vserverContext test-svm -aggregate aggr123 -junction /test123 -efficiencyPolicy default&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;followed by a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;enable-ncsis -volume test123 -vservercontext test-svm&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gives a volume with a schedule instead a policy (in the efficiency settings)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any Idea how to solve this?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 10:47:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128273#M23028</guid>
      <dc:creator>Hannes1</dc:creator>
      <dc:date>2017-02-21T10:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128413#M23059</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/46402"&gt;@Hannes1&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide your execution logs details. You may have similar error but the cause may be different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2017 11:33:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128413#M23059</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2017-02-24T11:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128763#M23120</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i'm also having this problem. Please see my logs below,&lt;/P&gt;&lt;P&gt;11:49:51.567 INFO&amp;nbsp; [CdT Create a Clustered Data ONTAP NFS Volume - copy] ***** Workflow Execution Started *****&lt;BR /&gt;11:49:51.598 INFO&amp;nbsp; [Create volume] ### Command 'Create volume' in 'POWER_SHELL' ###&lt;BR /&gt;11:49:53.364 INFO&amp;nbsp; [Create volume] Get-WfaCredentials -Host Myfiler&lt;BR /&gt;11:49:53.379 INFO&amp;nbsp; [Create volume] Credentials successfully provided for 'Myfiler'&lt;BR /&gt;11:49:53.411 INFO&amp;nbsp; [Create volume] Connect-Controller -Type CLUSTER -Name Myfiler -Credential System.Management.Automation.PSCredential -Vserver&lt;BR /&gt;11:49:53.567 INFO&amp;nbsp; [Create volume] Connect-NcController (with credentials) -Name Myfiler -Timeout 60000 -ErrorAction Stop&lt;BR /&gt;11:49:55.739 INFO&amp;nbsp; [Create volume] Connected to cluster node&lt;BR /&gt;11:49:56.036 INFO&amp;nbsp; [Create volume] Creating a new volume: New-NcVol -ErrorAction Stop -name Testvol -Aggregate aggr1_node_01&amp;nbsp; -SpaceReserve volume -State online -Size 2560m -VserverContext svm_dev1 -Type rw -SecurityStyle unix -UnixPermissions 777 -ExportPolicy ep_Oracle_dev -EfficiencyPolicy default -JunctionPath /Testvol&lt;BR /&gt;11:49:58.254 INFO&amp;nbsp; [Create volume] Setting options no_atime_update off,fractional_reserve 0&lt;BR /&gt;11:49:58.457 INFO&amp;nbsp; [Create volume] Configuring auto delete options state off&lt;BR /&gt;11:49:58.661 INFO&amp;nbsp; [Create volume] Configuring volume autosize attributes: Set-NcVolAutosize -ErrorAction Stop -name dd4 -VserverContext svm_dev1 -Mode grow_shrink&lt;BR /&gt;11:49:59.489 INFO&amp;nbsp; [Create volume] Enabling deduplication&lt;BR /&gt;11:49:59.848 INFO&amp;nbsp; [Create volume] Configuring snapshot reserve, percentage 20&lt;BR /&gt;11:50:00.114 INFO&amp;nbsp; [Create volume] Command completed, took 8516 milliseconds&lt;BR /&gt;11:50:00.192 INFO&amp;nbsp; [Create a Clustered Data ONTAP NFS Volume - copy] ***** Workflow Execution Successful *****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;DermotC&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 11:17:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128763#M23120</guid>
      <dc:creator>cdtinfrastructure</dc:creator>
      <dc:date>2017-03-07T11:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128764#M23121</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;10:02:46.080 INFO  [Create volume] ### Command 'Create volume' in 'POWER_SHELL' ###
10:02:49.965 INFO  [Create volume] Get-WfaCredentials -Host 10.68.26.170
10:02:50.105 INFO  [Create volume] Credentials successfully provided for '10.68.26.170'
10:02:50.136 INFO  [Create volume] Connect-Controller -Type CLUSTER -Name 10.68.26.170 -Credential System.Management.Automation.PSCredential -Vserver 
10:02:50.308 INFO  [Create volume] Connect-NcController (with credentials) -Name 10.68.26.170 -Timeout 60000 -ErrorAction Stop
10:02:56.158 INFO  [Create volume] Connected to cluster node
10:02:56.439 INFO  [Create volume] Creating a new volume: New-NcVol -ErrorAction Stop -name hannes  -SpaceReserve none -State online -Size 1024m -VserverContext trfrm17 -Type rw -SnapshotReserve 5 -Aggregate cdot83n01_sq0_aggr1 -SecurityStyle unix -EfficiencyPolicy default -JunctionPath /hannes -Language en.utf_8
10:03:02.570 INFO  [Create volume] FlexVol 'hannes' has been create successfully.
10:03:02.586 INFO  [Create volume] Enabling deduplication
10:03:04.395 INFO  [Create volume] Command completed, took 18315 milliseconds


Then I checked if the proper Policy was assigned:

cluster1::volume efficiency&amp;gt; show -instance

                     Vserver Name: trfrm17
                      Volume Name: hannes
                      Volume Path: /vol/hannes
                            State: Enabled
                           Status: Idle
                         Progress: Idle for 00:02:19
                             Type: Regular
                         Schedule: sun-sat@0
           Efficiency Policy Name: -
           Blocks Skipped Sharing: 0
             Last Operation State: Success
     Last Success Operation Begin: Fri Mar 03 09:03:02 2017
       Last Success Operation End: Fri Mar 03 09:03:02 2017
             Last Operation Begin: Fri Mar 03 09:03:02 2017
               Last Operation End: Fri Mar 03 09:03:02 2017
              Last Operation Size: 0B
             Last Operation Error: -
                  Changelog Usage: 0%
                Logical Data Size: 180KB
               Logical Data Limit: 640TB
             Logical Data Percent: 0%
                       Queued Job: -
     Stale Fingerprint Percentage: 0
                      Compression: false
               Inline Compression: false
    Incompressible Data Detection: false
               Constituent Volume: false
Compression Quick Check File Size: 524288000
                    Inline Dedupe: false


The same happens when running the same from PoSH:


PS C:\Users\hannesb&amp;gt; Connect-NcController hbcdot

Name                 Address           Vserver              Version
----                 -------           -------              -------
hbcdot               10.68.26.170                           NetApp Release 8.3.2P9: Fri Jan 06 05:54:05 UTC 2017


PS C:\Users\hannesb&amp;gt; New-NcVol -VserverContext trfrm17 -name hannes2 -EfficiencyPolicy default -Size 100m -Aggregate cdot83n01_sq0_aggr1 -JunctionPath /hannes2

Name                      State       TotalSize  Used  Available Dedupe Aggregate                 Vserver
----                      -----       ---------  ----  --------- ------ ---------                 -------
hannes2                   online       100,0 MB    5%    94,9 MB False  cdot83n01_sq0_aggr1       trfrm17


PS C:\Users\hannesb&amp;gt; Enable-NcSis -VserverContext trfrm17 -Volume hannes2

Name                      State       TotalSize  Used  Available Dedupe Aggregate                 Vserver
----                      -----       ---------  ----  --------- ------ ---------                 -------
hannes2                   online       100,0 MB    5%    94,9 MB  True  cdot83n01_sq0_aggr1       trfrm17


PS C:\Users\hannesb&amp;gt;

cluster1::volume efficiency&amp;gt; show -instance -volume hannes2

                     Vserver Name: trfrm17
                      Volume Name: hannes2
                      Volume Path: /vol/hannes2
                            State: Enabled
                           Status: Idle
                         Progress: Idle for 00:00:14
                             Type: Regular
                         Schedule: sun-sat@0
           Efficiency Policy Name: -
           Blocks Skipped Sharing: 0
             Last Operation State: Success
     Last Success Operation Begin: Fri Mar 03 09:08:07 2017
       Last Success Operation End: Fri Mar 03 09:08:07 2017
             Last Operation Begin: Fri Mar 03 09:08:07 2017
               Last Operation End: Fri Mar 03 09:08:07 2017
              Last Operation Size: 0B
             Last Operation Error: -
                  Changelog Usage: 0%
                Logical Data Size: 156KB
               Logical Data Limit: 640TB
             Logical Data Percent: 0%
                       Queued Job: -
     Stale Fingerprint Percentage: 0
                      Compression: false
               Inline Compression: false
    Incompressible Data Detection: false
               Constituent Volume: false
Compression Quick Check File Size: 524288000

PS C:\Users\hannesb&amp;gt; get-ncsis

Path                           State    Status       ScheduleOrPolicy               Progress
----                           -----    ------       ----------------               --------
/vol/hannes                    enabled  idle         sun-sat@0                      Idle for 00:07:51
/vol/hannes2                   enabled  idle         sun-sat@0                      Idle for 00:02:46


PS C:\Users\hannesb&amp;gt; get-module DataOntap

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Manifest   4.0.0      DataONTAP                           {Add-NaAggr, Add-NaCifsShare, Add-NaCredential, Add-NaFpolicyExtension...}


PS C:\Users\hannesb&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 11:50:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/128764#M23121</guid>
      <dc:creator>Hannes1</dc:creator>
      <dc:date>2017-03-07T11:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Create Volume "EfficiencyPolicy" not working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/134199#M24348</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered the same problem.&lt;/P&gt;&lt;P&gt;Only solution that I see is to execture a set-ncsis right after the volume is created (new-ncvol) and dedup is enabled (enable-ncsis)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am modifying the powershell code of the existing "Create Volume" task &amp;nbsp;to do this.&lt;/P&gt;&lt;P&gt;Just add this line right after the Enable-NcSis line almost at the bottom:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Set-NcSis -ErrorAction stop -name $VolumeName -VserverContext $VserverName -Policy $EfficiencyPolicy&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately you won't be able to overwrite the current task as it is a default command from Netapp.&lt;/P&gt;&lt;P&gt;You would have to do a save as and create your own Create Volume command and use that in all you workflows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope NetApp will accept this fix and implement it in their own Command Powershell Code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;--Boris&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2017 11:12:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Create-Volume-quot-EfficiencyPolicy-quot-not-working/m-p/134199#M24348</guid>
      <dc:creator>borisaelen</dc:creator>
      <dc:date>2017-09-04T11:12:27Z</dc:date>
    </item>
  </channel>
</rss>

