So I'm not sure I understood you correctly but the steps as I tries them were: 1) shut down a VM 2) detach datadisk 3) migrate VM 4) re-attach datadisk?? 5) restart the VM
Is that the correct scenario where cloudstack should migrate the datadisk for me? On Wed, Jul 6, 2016 at 4:35 PM, Douglas Land <[email protected]> wrote: > Thanks Somesh, I'll try just moving the VM and see if it triggers a > datadisk migration. > > Sorry, by 'bring up' I just meant migrate to a new host. > > > On Wednesday, July 6, 2016, Somesh Naidu <[email protected]> wrote: > >> First off, for datadisks, you may not explicitly need to move them >> around. If you detach it from the existing VM and attach it to another VM >> (essentially the host running that VM) that does not have access to the >> storage where the datadisk currently resides, then cloudstack will copy the >> datadisk to a storage accessible to that host. >> >> > I’m confused why we can’t snapshot a datadisk, which, if I understand >> > correctly, should then get copied to secondary storage, and then bring >> it >> > up on another host. I hope I’m just missing something obvious. >> >> You can snapshot a datadisk and the snapshot will reside on the secondary >> store, that bit is straight/correct. >> >> I do not understand what you mean when you say "bring it up on another >> host". >> The part that is not clear is what does "bring it up" mean? Also, what >> you mean by "host", hypervisor or storage? Do you mean the datadisks are >> bootable and you want to start them on a different host? If so, know that >> you can't launch a VM directly off of a snapshot, you’d have to convert it >> to a template and then launch a VM from it. The VM could be launched on any >> host - if this is the use-case/scenario you had in mind then yes, you will >> achieve what you need this way. >> >> Regards, >> Somesh >> >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of Douglas Land >> Sent: Wednesday, July 06, 2016 3:03 PM >> To: [email protected] >> Subject: Question about migrating local storage datadisks >> >> We use local storage for everything, including datadisks. We need to >> migrate these to another host, which docs all seem to say isn’t supported. >> I’m confused why we can’t snapshot a datadisk, which, if I understand >> correctly, should then get copied to secondary storage, and then bring it >> up on another host. I hope I’m just missing something obvious. >> >
