Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
Discuss NetApp solutions for Microsoft Private Cloud and the Hyper-V platform, including FlexPod Datacenter, OnCommand Plug-in for Microsoft, and ONTAP PowerShell Toolkit.
We found what appears to be a bug or unintended behavior with add-ncnfsservice. We want to create a new NFS service configuration on a vserver, but we want to have NFSv4.0 and NFSv4.1 disabled; only NFSv3 enabled. We first obtain a default configuration: $nfs_config = get-NcNfsService -template If we examine the template values, we can see that NFSv3 is enabled and NFSv4 is disabled: (I have shortened the output but I have attached the full output to my post) PS> $nfs_config Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser ------- ------------- ------- ------- -------- ------------------ True True False False Using this template, I create a new NFS service on my SVM: PS> add-NcNfsService -vservercontext XXXXXX -attributes $nfs_config Vserver GeneralAccess IsNfsv3 IsNfsv4 IsNfsv41 DefaultWindowsUser ------- ------------- ------- ------- -------- ------------------ XXXXXXX True True True True If I go to the OnTAP CLI and perform a "nfs show", it shows that v4.0 and v4.1 are enabled, which is not the desired config. Please comment and provide a resolution for this.
... View more
Hi everyone, I would need to purge the volume-recovery queue in my script. I can't find the cmdlet. Can someone give me some advice please? Thank you very much and have a nice day! Bye
... View more
Hi can some one help please its urgent I have created volume clone parent volume and cloned volume are growing like anything with out writing any data over there i didnot see ant LUN growth no snapshot growth. even i tried spliting still eating volume space please help we have volume named hyperv_vol which is cloned named as hyperv_vol_clone 2 csv LUNs are created from hyperv_vol_clone and one from hyperv_vol but hyperv_vol and hyperv_vol_clone are utilizing more aggregate space even though there is no data written on LUNs I have splited volume from parent its strucking and middle and consuming more aggregate space
... View more
I am trying to script the snapmirror failover process using PTK. When I run the following set of commands, # Update Existing SnapMirror and then Break it off Invoke-NcSnapMirrorUpdate -Controller $DstCtrl -DestinationVserver $DstSVM -DestinationVolume $DstVol -ErrorAction stop Watch-Command { Get-NcSnapMirror -Controller $DstCtrl -DestinationVserver $DstSVM -DestinationVolume $DstVol | Select Status } -Until "idle" Invoke-NcSnapMirrorQuiesce -Controller $DstCtrl -DestinationVserver $DstSVM -DestinationVolume $DstVol -ErrorAction stop Watch-Command { Get-NcSnapMirror -Controller $DstCtrl -DestinationVserver $DstSVM -DestinationVolume $DstVol | Select Status } -Until "quiesced" Invoke-NcSnapMirrorBreak -Controller $DstCtrl -DestinationVserver $DstSVM -DestinationVolume $DstVol -Confirm:$false -ErrorAction stop the Invoke-NcSnapMirrorBreak sometime returns with an error: Invoke-NcSnapMirrorBreak : Another SnapMirror operation is in progress. At Z:\Software\NetApp\Powershell Toolkit\Scripts\SnapMirror-Reverse-v3.ps1:119 char:1 + Invoke-NcSnapMirrorBreak -Controller $DstCtrl -DestinationVserver $Ds ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (apfas8200:NcController) [Invoke-NcSnapmirrorBreak], EANOTHER_OP_ACTIVE + FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Snapmirror.InvokeNcSnapmirrorBreak Why does it report another operation is in progress? I just checked the status, and it was quiesced. It does not fail every time it runs, just some of the time. I have many snapmirrors where I perform this operation repeatedly. Many work just fine and then others seem to fail nearly all the time. I can sometimes just resume the snapmirror and start the script again and it runs without any issues on the same snapmirror. Is there some code I can add to check and try again... like maybe 3 times before aborting? Or better yet, does anyone know what I am not doing correctly to make sure the snapmirror is not performing another operation before I request the snapmirror break?
... View more
Please see attached picture, it pops the error message whenver we run "Add-Credential ip-address -cred CredInfo" and supplying password. Please help any useful idea/info. thank you
... View more