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.
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.
RDM to the VM? Are you using DB/LOG mount points?
Live Chat, Watch Parties, and More!
Engage digitally throughout the sales process, from product discovery to conﬁguration, and handle all your post-purchase needs.