Hi Guys,
When running the Repair-NaVirtualDiskAlignment command to try and realign one of our Server 2003 R2 VM's (using Hyper-V) I'm getting the following error message:
PS C:\> Repair-NaVirtualDiskAlignment \\gbprhv32\c$\ClusterStorage\Volume2\GBVUTS97\GBVUTS97_C.vhd -controller GBPRNA01
Repair-NaVirtualDiskAlignment : Cannot bind parameter 'Controller'. Cannot convert value "GBPRNA01" to type "NetApp.Ont
api.AbstractController". Error: "Cannot create an instance of NetApp.Ontapi.AbstractController because it is an abstrac
t class."
At line:1 char:103
+ Repair-NaVirtualDiskAlignment \\gbprhv32\c$\ClusterStorage\Volume2\GBVUTS97\GBVUTS97_C.vhd -controller <<<< GBPRNA01
+ CategoryInfo : InvalidArgument: (:) [Repair-NaVirtualDiskAlignment], ParameterBindingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,DataONTAP.PowerShell.SDK.Cmdlets.HyperV.RepairNaVirtualDi
skAlignment
Any suggestions as to how I can resolve this? As I've got 20+ VM's I need to realign, and really don't fancy having to do them all one by one using either xcopy or Ghost!
Cheers,
Rich