My nightly backups have failed due to an issue with clones. Are clones not considered their own VM or something?
... mysql-2.hldns.net Snapshot of /dev/vg_h4/mysql-2_img failed : - mysql-3.hldns.net Snapshot of /dev/vg_h4/mysql-3_img failed : - mysql-4.hldns.net Snapshot of /dev/vg_h4/mysql-4_img failed : - ... Backing up mysql-2.hldns.net to /backup/mysql-2.hldns.net.gz on host system .. Creating LVM snapshots for disks of mysql-2.hldns.net .. .. backup failed : Snapshot of /dev/vg_h4/mysql-2_img failed : Snapshots of snapshots are not supported. Backing up mysql-3.hldns.net to /backup/mysql-3.hldns.net.gz on host system .. Creating LVM snapshots for disks of mysql-3.hldns.net .. .. backup failed : Snapshot of /dev/vg_h4/mysql-3_img failed : Snapshots of snapshots are not supported. Backing up mysql-4.hldns.net to /backup/mysql-4.hldns.net.gz on host system .. Creating LVM snapshots for disks of mysql-4.hldns.net .. .. backup failed : Snapshot of /dev/vg_h4/mysql-4_img failed : Snapshots of snapshots are not supported.
Status:
Active
Comments
Submitted by JamieCameron on Fri, 10/07/2016 - 11:05 Comment #1
Huh ... I didn't realize that snapshotting snapshots wasn't allowed.
There isn't really a good solution to this, other than disabling use of snapshots while cloning (which can be done on the Cloudmin Configuration page). This has the downside that cloning will be slightly slower though.
Ok, so how do I fix this issue so they will back up? Delete and redo the 3 VMs?
Also, I can find no such option you mention.
Reading on snapshots, I see this may be a problem if the clone is operating as a snapshot. Is there no way to convert it to a regular LVM or do I have to delete, create an image of my db server and then recreate all 3 VMs from the image?
Submitted by JamieCameron on Fri, 10/07/2016 - 18:52 Comment #4
I was wrong, there's no way to disable snapshotting when backing up. However, on the clone form there's an option to control if a snapshot is used or not.
The work-around is for each VM to create an image from it, delete the VM, and re-create from the image.
Where? See the attached screenshot. There's nothing on the clone form.
Submitted by JamieCameron on Fri, 10/07/2016 - 18:59 Comment #6
I'm not seeing a screenshot?
I edited the thread and attached it. I'll email it directly.
Submitted by JamieCameron on Sat, 10/08/2016 - 00:37 Comment #8
Oh right, it's the "Keep source system up while cloning" option. The only way a VM can be cloned live without corrupting the FS is to either use a snapshot, or shut it down during the process.
While you're at it the Create New System page should also offer the ability to select a bridge, not just the IP.
Submitted by JamieCameron on Sat, 10/08/2016 - 19:12 Comment #10
It should already, if you have multiple bridges selected on the Xen Host System page.
I do have multiple enabled but it is not showing that options. I'll send a screenshot.
On another note... I deleted those snapshots, made an image of the original and recreated them. I get this error now:
How can I fix this?
Submitted by JamieCameron on Sun, 10/09/2016 - 19:55 Comment #12
If you go to Resources -> Manage Disks and click on one of these disks, does it have the option checked to exclude it from the backup?