Move image File

Software-based VM-centric and flash-friendly VM storage + free version

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

Post Reply
Ph8
Posts: 3
Joined: Tue Feb 28, 2012 10:25 am

Tue Feb 28, 2012 10:30 am

We have a non HA environment and we want to move the image file of one iSCSI Target to a different drive on the same server. We are using Version 5.5. As far as I have seen, there is no "easy" way of doing that. What I would do now is the following:

1. Stop the Starwind Service
2. Copy the image file to the new location
3. Create a new target using the copied image file
4. Delete the old target and telling the client server to use the new target

Is there a better way of moving an image file?

Thanks for your help in advance!
User avatar
Aitor_Ibarra
Posts: 163
Joined: Wed Nov 05, 2008 1:22 pm
Location: London

Tue Feb 28, 2012 1:18 pm

you can stop the starwind service, move the img, then edit the starwind.cfg file to have the new location, restart starwind service. Then you don't have to do anything on the initiator side.

Or, if it's the only img on the old drive, and going to be the only img on the new drive, you could stop the starwind service, copy the img over, and then use windows disk management to change the drive letter, so that the new drive has the same letter as the old one, then restart starwind.

Either way, you don't want the initiator machines to be trying to use the target while you do this, so you may need to stop services that rely on the target, or simply shut down the initiator machines.
Ph8
Posts: 3
Joined: Tue Feb 28, 2012 10:25 am

Wed Feb 29, 2012 9:44 am

Thank you for your response. We will give it a try, sounds easy!
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Fri Mar 02, 2012 2:42 pm

I think Aitors suggestion should work like a charm:)

Ph8, keep us updated please.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Ph8
Posts: 3
Joined: Tue Feb 28, 2012 10:25 am

Mon Mar 12, 2012 4:28 pm

I just want to let you know, that it worked. I stopped the service, copied the image-file and changed the drive letters (it was the only image on the drive). After starting the service again the copied image was in place and did his work! Thank you again!
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Mon Mar 12, 2012 7:58 pm

Excellent! Thank you very much for keeping us updated :)
Ph8 wrote:I just want to let you know, that it worked. I stopped the service, copied the image-file and changed the drive letters (it was the only image on the drive). After starting the service again the copied image was in place and did his work! Thank you again!
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
Post Reply