Microsoft Virtualization Discussions
Hello Good People,
I was trying to diagnose a LUN space issue on my Windows host today when i wanted to use the CMDLet "Get-NaHostDisk" in Powershell Toolkit 2.3 but would only get the below error message:
Windows Server 2008 R2 sp1 VM running on VMware ESXi 4.1
Exchange 2010 installed
SnapDrive 6.5 installed
SnapManger for Exchange 6.04 installed
PS H:\> Get-NaHostDisk
Get-NaHostDisk : Non-negative number required.
Parameter name: byteCount
At line:1 char:15
+ Get-NaHostDisk <<<<
+ CategoryInfo : NotSpecified: (:) [Get-NaHostDisk], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : System.ArgumentOutOfRangeException,DataONTAP.PowerShell.SDK.Cmdlets.Windows.GetHostDisk
PS H:\> Get-NaHostDisk -DataOntap
+ Get-NaHostDisk <<<< -DataOntap
Any help with this is most welcome.
RDM to the VM? Are you using DB/LOG mount points?
Having the same issue, although bizarrely it does work on other servers with exact same PS versions and toolkit versions.
Server 1 - Working
Server 2 - Fails
Investigating further it seems the error is related to two disks in particular. These are located on a different vServer to the other disks, although the user running the command has access to both and both are set up within SnapDrive.
Let's walk you through the new & improved Knowledge Base and further enrich your experience with NetApp Products.
The Insights to Actions Community is back with a new look! Click here to learn how to get started.
Join our Discord Community