StarWind iSCSI SAN
StarWind Native SAN for Hyper-V
 

Converted VHD to IMG - Not HA compatible?

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2)

Moderators: art (staff), anton (staff), Anatoly (staff), Max (staff)

Converted VHD to IMG - Not HA compatible?

Postby neal.coffey » Fri Sep 02, 2011 1:53 pm

Hello,

I have a pair of VHD files that I just converted to IMG for use with StarWind. Took basically all day yesterday to do (multiple terabytes). This morning I'm trying to set them up in StarWind as HA targets, and when I try it tells me that the image is not HA compatible.

How can I get an HA-compatible image out of the converter? I hate to think I need to lose another day to this...

I'm using a fresh install of StarWind 5.7 on Windows 2008 R2 SP1.
neal.coffey
 
Posts: 2
Joined: Fri Sep 02, 2011 1:49 pm

Re: Converted VHD to IMG - Not HA compatible?

Postby Anatoly (staff) » Mon Sep 05, 2011 10:36 am

Hello Neal,

There is header within StarWind HA images, that our converter doesn`t creating, so you can use your image file for creting Basic Image target or as one of the Mirrors for Mirror device.

If you want to use HA you need to move all your data from this image file to HA compatible.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
[email protected]
User avatar
Anatoly (staff)
Staff
 
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am

Re: Converted VHD to IMG - Not HA compatible?

Postby neal.coffey » Wed Sep 07, 2011 3:12 pm

Thanks for the reply. I'm not sure why this is the case with the converter, but I was able to work around it.

For anyone else who finds this topic, here is how got my data from the VHD into the Starwind HA target:

  • Mount the VHD in Windows Disk Management (Server Manager -> Storage -> Disk Management -> Action menu -> Attach VHD). It will be given a drive letter like any other drive.
  • Create the HA target in Starwind and wait for it to initialize.
  • Use the Microsoft iSCSI initiator to mount the Starwind HA target as yet another drive in Windows.
  • Copy the data from the VHD drive to the Starwind drive.
  • Dismount/disconnect everything when done.

NOTE: If this VHD is shared storage for a HyperV cluster, this is not the right way to do it. Despite the same XML and VHD files being present in the same path, the HyperV Manager and SCVMM will lose track of them. I believe the correct thing to do is create the HA Starwind target, add it to the HyperV cluster shared storage, and migrate the data from within SCVMM. Haven't tested that, because I didn't need to do it for this project (they were all test machines so I just blew them away).
neal.coffey
 
Posts: 2
Joined: Fri Sep 02, 2011 1:49 pm

Re: Converted VHD to IMG - Not HA compatible?

Postby anton (staff) » Wed Sep 07, 2011 4:49 pm

Well... At the time you've did indeed find a workaround and we appreciate you publishing your work results here we do insist on a following scenario:

1) Convert plain image to StarWind acceptable IMG

and

2) Using StarWind to wrap HA header around IMG file making resulting one HA compatible

That's it :)
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
User avatar
anton (staff)
Site Admin
 
Posts: 3922
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands


Return to StarWind V2V Converter

Who is online

Users browsing this forum: No registered users and 8 guests