Ask Your Question

Snapshot VM with cinder vol attached, can I later restore it after I completely destroy/resintall the host Operating System and OpenStack?

asked 2015-01-23 14:16:26 -0500

TheFueley gravatar image

I need to re-install my systems. I know I can snapshot the VMs, back them up to an external drive, then later restore them. But I'm not sure how this works when one of the VMs has an iSCSI volume attached. I'm guessing I may have to do some targetcli work to get it right since I'll be changing the IP scheme on the nodes. Also it seems I may have trouble since this volume won't already exist, according to the mySQL database. Has anyone had any success doing this?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-24 16:33:43 -0500

marafa gravatar image

i just did that today! and then i wrote a script coz i am like that : but to be honest i dont have any iscsi volumes attached.

how about this instead? before you nuke your current installation. set up an all in one openstack instance. yes a VM. then import your snapshot and see what happens?

edit flag offensive delete link more

answered 2015-01-23 16:42:52 -0500

Why not just treat it like normal data on a disk, and rsync the attached volumes data to safe destination (some other server) and detach it from the vm. Then once you've re-installed just attach a new volume to the restored vm, and rsync all the data back from the previous volume?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-01-23 14:16:26 -0500

Seen: 667 times

Last updated: Jan 24 '15