cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S. Brüseke - proIO GmbH <>
Subject AW: Snapshot and secondary storage utilisation.
Date Mon, 10 Jul 2017 07:55:05 GMT
Hi Makran,

please take a look at global setting "". As far as I understand scheduled
snapshots ACP is using deltas to minimize time and transferred data. So after the first snapshot
has been done, the next is only a delta until you hit
Because ACP is needing the full snapshot as long as you need one of the deltas you will see
the vhd file on your secondary storage, but not in the UI.

Hope that helped.

Mit freundlichen Grüßen / With kind regards,

Swen Brüseke

-----Ursprüngliche Nachricht-----
Von: Makrand [] 
Gesendet: Montag, 10. Juli 2017 09:14
Betreff: Snapshot and secondary storage utilisation.

Hi all,

My setup is:- ACS 4.4. XENserver 6.2 SP1. 4TB of secondary storage coming from NFS.

I am observing some issues the way *.vhd* files are stored and cleaned up in secondary storage.
Let's take an example of a VM-813. It has 250G root disk (disk ID 1015) The snapshot is scheduled
to happen once every week (sat night) and supposes to keep only 1 snapshot. From GUI I am
seeing its only keeping the latest week snapshot.

But resource utilization on CS GUI is increasing day by day. So I just ran du -smh and found
there are multiple vhd files of different sizes under secondary storage.

Here is snippet:-

root@gcx-bom-cloudstack:/mnt/secondary2/snapshots/22# du -smhh *
1.5K    1002
1.5K    1003
1.5K    1004
*243G    1015*
1.5K    1114

root@gcx-bom-cloudstack:/mnt/secondary2/snapshots/22# ls -lht *
*total 243G*
*-rw-r--r-- 1 nobody nogroup  32G Jul  8 21:19
*-rw-r--r-- 1 nobody nogroup  40G Jul  1 21:30
*-rw-r--r-- 1 nobody nogroup  43G Jun 24 21:35
*-rw-r--r-- 1 nobody nogroup  40G Jun 17 21:30
*-rw-r--r-- 1 nobody nogroup  29G Jun 10 21:16
*-rw-r--r-- 1 nobody nogroup  29G Jun  3 21:00
*-rw-r--r-- 1 nobody nogroup  43G May 27 21:35
*-rw-r--r-- 1 nobody nogroup  60G May 20 22:01
*-rw-r--r-- 1 nobody nogroup  35G May 13 21:23
*-rw-r--r-- 1 nobody nogroup  31G May  6 21:19
*-rw-r--r-- 1 nobody nogroup  32G Apr 29 21:18
*-rw-r--r-- 1 nobody nogroup  38G Apr 22 21:26
*-rw-r--r-- 1 nobody nogroup 248G Apr 16 00:44

Observed same behavior for root disks of other 4 VMs. So the number of vhds are ever growing
on secondary storage and one will eventually run out of secondary storage size.

Simple Question:-

1) Why is cloud stack creating multiple vhd files? Should not it supposed to keep only one
vhd at secondary storage defined in snap policy?

Any thoughts? As explained earlier...from GUI I am seeing last weeks snap as backed up.


- proIO GmbH -
Geschäftsführer: Swen Brüseke
Sitz der Gesellschaft: Frankfurt am Main

USt-IdNr. DE 267 075 918
Registergericht: Frankfurt am Main - HRB 86239

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. 

This e-mail may contain confidential and/or privileged information. 
If you are not the intended recipient (or have received this e-mail in error) please notify

the sender immediately and destroy this e-mail.  
Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly

View raw message