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.
I am trying to create a powershell script that will give me a list of every file in our cluster that is greater than 4GB. The script must include file path information and output to a .txt file. So far, I only have the bones of a script and I've been testing it on my work PC. The final version will likely have to be run on the domain controller, but I am not sure how to build the script from the context of the DC. $path = "C:\Users\LJONAH" $sizeThreshold = 10 $outputPath = "C:\temp\OIS_large_files.txt" Get-ChildItem -Path $path -Recurse -File -ErrorAction SilentlyContinue | Where-Object {$_.Length / 1MB -gt $sizeThreshold}| Select-Object FullName, @{Name="Size GB";Expression={ "{0:N0}" -f ($_.Length / 1GB) }} | Out-File -FilePath $outputPath
... View more
We're migrating our datacenters to Hyper-V/SCVMM from VMware and through this process we started using the SMI-S Provider with SCVMM 2022. I noticed today that all easy to find references to SMI-S Provider are missing from the NetApp Support site... They can still be found through search, but are all marked as "Legacy". Given that SCVMM only supports SAN Arrays through either SMI-S or SMP, what is the plan moving forward for this, given how many orgs are moving away from VMWare and into Hyper-V/Azure Stack HCI as a solution? Presumably the way to go would be SMB shares, but given that the SMI-S provider is still required to be able to add NetApp hosted SMB shares (No WSMAN on NetApp so the "Add File Share" option fails), this leaves me in a bit of a predicament.
... View more
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