Hi,
we are realigning all our VHD from a HyperV R2 cluster. 6 Windows 2008 r2 cluster farm connected to 6 NetApp Luns and using CSV.
Our NetApp system consist of 4 2240 installed with Data Ontap cluster mode 8.1.2
I succeed into connecting to the Cluster using this powershell command :
$vserver=Connect-NcController myNetappcluster -Credential admin -Vserver myVserver
I succeed into seeing if VHD is aligned or not using this command :
Get-NcVirtualDiskAlignment C:\ClusterStorage\VolumeX\MyVM\fixed_c.vhd
I succeed into realigning the VHD using this command :
Repair-NcVirtualDiskAlignment -VirtualDisk C:\ClusterStorage\VolumeX\MyVM\fixed_c.vhd -Controller $vserver
But i DONT succeed using powershell to convert Dynamic VHD into Fixed VHD using this command :
ConvertTo-NcVhd -SourceVhd C:\ClusterStorage\VolumeX\MyVM\dynamic_c.vhd -DestinationVhd C:\ClusterStorage\VolumeX\MyVM\fixed_c.vhd -Controller $vserver
I've got an error message :
ConvertTo-NaVhd : Source and destination files must reside on the same controller.
Au niveau de ligne : 1 Caractère : 16
+ ConvertTo-NcVhd <<<< -DestinationVhd "C:\ClusterStorage\VolumeX\MyVM\fixed_c.vhd" -SourceVhd "C:\ClusterStorage\VolumeX\MyVM\dynamic_c.vhd" -ForceHostCopy
+ CategoryInfo : InvalidArgument: (:) [ConvertTo-NaVhd], ArgumentException
+ FullyQualifiedErrorId : Could not set up sis clone operation,DataONTAP.PowerShell.SDK.Cmdlets.HyperV.ConvertToNaVhd
I tried many other parameters, resulting the same result.
I forgot : we are using Data ONTAP PowerShell Toolkit, version 3.0.1.101