Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all!
Does the powershell toolkit provide any ability to convert thin provisioned XenServer VHD's to VMDK's?
If so what is the commandlet used to do that? - (ConvertTo-NcVmdk?)
Thanks for any info you can provide.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
ConvertTo-NcVmdk is the cmdlet to convert VHD to VMDK.
Please make sure about the XenServer Tools installed on the guest OS, you might want to uninstall it before converting the disk to VMDK.
Thanks,
Shashanka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the reply.
We have tried to use the "ConvertTo-NaVmdk" commandlet and get the following error.
PS C:\windows\system32> ConvertTo-NcVmdk -SourceVhd x:\d37fb41f-556d-47c0-ab60-656444be2e5b.vhd
ConvertTo-NcVmdk : Specified argument was out of the range of valid values.
Parameter name: File is not a fixed-size VHD.
At line:1 char:1
+ ConvertTo-NcVmdk -SourceVhd x:\d37fb41f-556d-47c0-ab60-656444be2e5b.vhd
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [ConvertTo-NaVmdk], ArgumentOutOfRangeException
+ FullyQualifiedErrorId : File not fixed VHD,DataONTAP.PowerShell.SDK.Cmdlets.HyperV.ConvertToNaVmdk
Does the VHD need to be a fixed size VHD to work? We can't do this with a thin VHD?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The Conversion is supported only for fixed size VHD and monolithic flat VMDK files.
Please convert the dynamic VHD to fixed size VHD before converting it to VMDK.
Regards,
Shashanka
