cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Kimlaychuk <va...@kickcloud.net>
Subject Re: Can I delete a unused VHD in a chain?
Date Wed, 09 Dec 2015 17:18:08 GMT
Dear France,

           Hope this article helps you: 
http://support.citrix.com/filedownload/CTX122978/XenServer_Understanding_Snapshots.pdf 
  Common practice is to use "vhd-util" to merge (coalesce) VHD files into 
usable image. Luckily xe tool is smart enough not to allow you destroy 
image that is a part of the chain. Of course it is more safe to copy all 
the files before destruction (in a case you have thin provisioning).

Vadim.

On 2015-12-09 18:27, France wrote:

> Hi guys,
> 
> below is the chain cross referenced with CS MySql database.
> Can I delete/destroy 1a240d45-ee0a-4c30-809b-3114dfaf85ba without bad 
> consequences? Are next in chain dependant upon it?
> 
> *555b38bf[VHD](20.000G//2.695G|n) -> not foud
> 5afd5849[VHD](20.000G//8.000M|n) -> found in template_spool_ref. status 
> ready, template ID 292
> *02e8b56b[VHD](20.000G//12.000M|n) -> not found
> *1a240d45[VHD](20.000G//136.000M|n) <- corrupted and not found
> *c99e711b[VHD](20.000G//136.000M|n) -> not found
> 34a03c9a[VHD](20.000G//8.000M|a) -> found in shapshot_store_ref. state 
> destroyed, volume id 661, from template id 292
> 5c12db0a[VHD](20.000G//8.000M|n) -> found in shapshot_store_ref. state 
> destroyed -> probably not part of the above chain?
> 
> I would do xe vdi-destroy=1a240d45-ee0a-4c30-809b-3114dfaf85ba .
> 
> Alternatively I think about exporting template ID 292 in CS, deleting 
> it and importing it back again. It should remove the whole chain, 
> right? 'Cause noone is using it?
> 
> Regards,
> F.

Mime
View raw message