The file "14818597-55bb-49be-9ace-761e9e01c074.vhd" seems more like a manual snapshot. It was created 2 hours after the "normal" time. I would check these snapshots in ACS and see how they are presented. BTW, how many snapshots is ACS showing for this volume? I would also check the "snapshots" table for the volume you have configured them. select * from snapshots where volume_id = ?
you may also filter for removed: select * from snapshots where volume_id = ? and removed is null On Wed, Oct 25, 2017 at 9:39 PM, Lotic Lists <[email protected]> wrote: > Hi Rafael, I check > > # ls -lrt > total 285368382 > -rw-r--r-- 1 root root 304124744192 Oct 22 03:28 14818597-55bb-49be-9ace- > 761e9e01c074.vhd > -rw-r--r-- 1 root root 17770869248 Oct 23 01:10 bbd9e9b5-53fb-44a2-afbe- > f262396a2d84.vhd > -rw-r--r-- 1 root root 52199817728 Oct 24 01:30 3b90bbb2-7ce5-41f6-9f7e- > fd0ea061cb2d.vhd > -rw-r--r-- 1 root root 51615670784 Oct 25 01:28 4b450217-c9ad-45a2-946b- > de3cb323469b.vhd > > # vhd-util scan -f -m'*.vhd' -p > vhd=14818597-55bb-49be-9ace-761e9e01c074.vhd capacity=311385128960 > size=304124744192 hidden=0 parent=none > vhd=bbd9e9b5-53fb-44a2-afbe-f262396a2d84.vhd capacity=311385128960 > size=17770869248 hidden=0 parent=none > vhd=3b90bbb2-7ce5-41f6-9f7e-fd0ea061cb2d.vhd capacity=311385128960 > size=52199817728 hidden=0 parent=none > vhd=4b450217-c9ad-45a2-946b-de3cb323469b.vhd capacity=311385128960 > size=51615670784 hidden=0 parent=none > > > > > -----Original Message----- > From: Rafael Weingärtner [mailto:[email protected]] > Sent: quarta-feira, 25 de outubro de 2017 20:44 > To: [email protected] > Subject: Re: Strange size of template from snapshot on XenServer > > Did you check the hierarchy of those snapshot files in your secondary > storage? > > > > On Wed, Oct 25, 2017 at 7:44 PM, Lotic Lists <[email protected]> wrote: > > > Hi all > > > > > > > > Anyone identify problems with templates from snapshots on XenServer? > > > > I created a recurrent snapshot, first VHD on secondary storage have a > > similar size of volume. If I create a template from latest snapshot, > > the size of VHD of template is smaller equal from last snapshot, I > > think CloudStack/Xenserver not coalesce VHD files of secondary storage > > for create the template > > > > > > > > I keep two recurrent snapshots, on secondary storage have four files. > > > > > > > > Environment is ACS 4.9.3.0 and XenServer 6.5, primary storage is > > PreSetup with ISCSI. > > > > > > > > Thanks > > > > Marcelo > > > > > > > > > > > -- > Rafael Weingärtner > > -- Rafael Weingärtner
