I've learned few facts about XENserver in last couple of days. e.g. On XENserver, when you take snapshot, XENserver will create a 2 VDI (Base VDI+place holder for snapshot) file on same primary storage (SR in XENserver terms) as disk is. You will offcouse have a vhd file saved on seconday storage. Here is funny part, when you delete snapshot from cloudstack, XENserver won't do anything to remove these additionally crated VDI
Plus XENserver will copy and crate template for VR on each individual host on its SR. this space is not visible in cloud stack. Check things from SR level on XENcenter. You can delete any template entries etc.(BE CAREFUL) Also try digging in with command line 1) xe vdi-list sr-name-label=<LUNNAME> params=uuid,name-label,name-description,physical-utilisation,virtual-size,is-a-snapshot,sm-config this will give you all VDIs present on that storage (give attention to is-snapshot=true ones) 2) lvs this will give you summary of all the LVs on the SRs. Note the last marked in this example (Attr=-ri---) is snapshot. lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert MGT VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -wi-a- 4.00M VHD-00ac9fd1-26d3-4c45-9680-bbf3b253c7e1 VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -wi--- 3.34G VHD-15bb4af8-99a0-4425-8227-50a97dc04a8c VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -ri--- 2.70G VHD-19ed4499-7592-4fe3-8fc3-fbcbcdfcdc51 VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -wi--- 8.00M VHD-1b7e2b7d-3dc5-4f33-b126-4197b59c787f VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -wi--- 8.00M VHD-1c9fb2a0-1a9f-49f2-80a4-6047d56ca0c8 VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -wi--- 250.50G VHD-28a79d76-d3ef-4d9d-8773-a888a559d15d VG_XenStorage-27c5343c-422a-1ee9-0df5-50a15c7f2437 -ri--- 3.13G I have cases where I've to remove some entries manually just to gain free space. for me its ACS 4.4.2 and XENserver 6.2 Good luck with your troubleshooting -- Best, Makrand On Tue, Aug 9, 2016 at 11:38 PM, Mindaugas Milinavičius < mindau...@clustspace.com> wrote: > Hello, > > version of cloudstack 4.7.1 > Type: xenserver > primary storage - scaleio with lvmohba (presetup). > > I think, it can be with expunge time, because it was set to 24h after > expunge the VM. >