Move a disk image between instances?
Looking around the new web interface under the 'Backups' I can make a current snapshot, then restore that brand new snapshot into a second linode instance. With the old interface under "settings & utilities" there is an option to clone an instance. However, Both of these options copy all disk images into the second linode instance.
That's a lot of un-needed copying when I just want to move one image. If the second instance was an actually installed, running, and configured I could easily do something like rsync. But my current use case is for testing my next OS upgrade with all it's install scripts. I'm trying to make sure my installs are 100% scripted. So there's nothing in the second zone.
11 Replies
Old interface: under 'Settings and Utilities' click 'Copy individual disk images to another Linode'. You will be offered a list of images to select and a drop down menu of destination Linodes.
I guess what tripped me up was the protection on the copy screens for running linode instances. The new interface prevents you from copying from a mounted disk image.
@fiat:
So live migration that is supported by Xen is buggy?
Moving disk images isn't live migration, just copying files (which contain your file system) from one host to another.
It's not technically impossible to live-migrate the storage in a similar way to how memory is live-migrated, but it'd be tricky since the disk is so much slower than RAM. I don't think Xen implements this.
Given Linodes pretty amazing uptime, i would be surprised if they didn't use live migration in some instances to take down servers for service windows etc.
@fiat:
Given Linodes pretty amazing uptime, i would be surprised if they didn't use live migration in some instances to take down servers for service windows etc.
Good uptimes are achieved by Linode using top-quality hardware – unlike some providers. In the event of a total (non-disk) hardware failure, the disks are moved to another server. For flaky but not completely busted hardware, you get the chance to migrate your Linode to another host at a time of your choosing (for which your 'node must be shut down), subject to a deadline -- after which the migration is done for you before the flaky gear is taken out of service.