Results 1 to 6 of 6
  1. #1

    Volume snapshot recovery issue in CloudStack ?

    Hi guys. I'm currently using iwStack's Cloud VPS Hosting, and I have a problem to discuss.

    iwStack use CloudStack for their Cloud VPS Hosting, and in CloudStack, whenever you create a VM instance using their provided OS template images (at least for Centos), two storage volumes are created for each VM: ROOT and DATA. According to their support, ROOT is like C: drive, where it contains the OS files, etc, and DATA is like the D: drive, where people install their apps, store their data, etc. (This is their take, not mine. I always like to install everything on C: on my own Windows PC).

    However, if I manually install Centos and use the option to install Centos over the entire drive, then only one volume is created which contains everything: ROOT.

    CloudStack also allows you to take Snapshots of these ROOT and DATA volumes, to create their backups. Later on, if you want to restore a volume from its Snapshot, then you have to regenerate a new volume, using the Snapshot. Then detach the old volume from the VM, and attach the newly generated volume in its place.

    The problem is, according to iwStack's support, CloudStack does NOT allow you to detach a ROOT volume from a VM ! You can ONLY detach/attach DATA volumes, but not ROOT volumes. This I think is problematic, because say I have a VM with both ROOT and DATA volumes, and some problem came and I restored ONLY the DATA volume, there will be problems on next system boot, because the ROOT volume is still the current state one, while the DATA volume is from a previous state. So won't this cause a consistency issue between the two volumes ?

    Anyways, my question is, given this problem, how can I consistently backup/restore volumes, so that there are no inconsistency issues ? Does anyone know ?

    Has anyone had this problem with CloudStack ?
    Last edited by ahmadka; 09-30-2013 at 02:43 PM.

  2. #2
    Join Date
    Nov 2004

    Try the snapshot feature on your Cloudstack to backup both the data & root disk. Right now there is no option available on Cloudstack to just restore your VM's root disk (similar to restoring the vm from snapshot) in case of root disk corruption, you need to attach the disk on a new instance and then have to restore/read the data on the new VM. Also you cannot detach a root volume when it is running VM. Hope it helps!
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  3. #3

  4. #4
    Join Date
    Oct 2004
    Dallas, Texas
    What you would do in this case is create a template from the snapshot, and then deploy a new VM from that template.

  5. #5
    Join Date
    Jun 2002
    Waco, TX
    Snapshots are not ideal, or even good backup methods. I'd highly recommend you have another method/policy for true backups.

  6. #6
    Join Date
    Oct 2013
    Use Idera Backup, so if you want to restore you can use the idera bare metal restore iso ( load it to iwstack) and restore everything. Check also

Similar Threads

  1. Volume shadow copy crasshing issue
    By amol in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-09-2013, 05:15 AM
  2. Disaster Recovery (Site Recovery Manager)
    By Stratogen in forum Backup Services
    Replies: 0
    Last Post: 05-17-2012, 01:44 AM
  3. Mapping volume from NAS/SAN to host? (vdisk/volume)
    By jacksony in forum Colocation and Data Centers
    Replies: 2
    Last Post: 05-16-2012, 12:37 PM
  4. Replies: 1
    Last Post: 08-04-2011, 11:34 AM
  5. Network issue with Volume Drive?
    By DeNasio in forum Providers and Network Outages and Updates
    Replies: 77
    Last Post: 05-03-2008, 05:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts