[sheepdog-users] What can I do with my .stale objects ?

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Tue Jan 20 03:43:03 CET 2015


At Thu, 15 Jan 2015 11:43:32 +0100 (CET),
Walid Moghrabi wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; utf-8 (quoted-printable)>]
> Well, yes, I used snapshots and ProxMox use snapshots too when backuping VMs but these snapshots are released once process is finisehd so why would it remains uncleared data ? 

The garbage objects pointed by removed snapshots remain until all VDI
family members are removed. This problem is solved in v0.9.0. If you
are a heavy snapshot user, I strongly suggest using v0.9.0 or newer.

Thanks,
Hitoshi

> 
> 
> If I understand well, your recommendations in order to clear up the whole cluster is to backup my VDIs then clear data en re-import ... that's what I was thinking ... just hopped there would have been a clever and faster way to clean things. 
> Well, I'll do that when I can. 
> 
> 
> Thanks anyway. 
> 
> ----- Mail original -----
> 
> De: "Valerio Pachera" <sirio81 at gmail.com> 
> À: "Lista sheepdog user" <sheepdog-users at lists.wpkg.org> 
> Envoyé: Mercredi 14 Janvier 2015 10:57:12 
> Objet: Re: [sheepdog-users] What can I do with my .stale objects ? 
> 
> 2015-01-13 15:49 GMT+01:00 Walid Moghrabi <walid.moghrabi at lezard-visuel.com>: 
> > But, as you can see, node info is telling me that my cluster is nearly full 
> > (94%) where it should be around 30% used ... why ?? 
> 
> Were you using snapshots in the past? Or is proxmox using snapshot for 
> backups or something else? 
> 
> > so far, seems to be stable but now, what can I do ? 
> 
> You may try this: 
> - export a single vdi so you have a backup 
> - delete this vdi 
> - check if there are still objects in the cluster with its id [1] 
> - if there are not, then import the backup 
> - repeat the procedure for each vdi when you have time 
> 
> [1] 
> as an example, vdi vm-1040-disk-1 has the id 1c693b 
> dog vdi delete vdi vm-1040-disk-1 
> find /your/object/folder -name "*1c693b*" 
> -- 
> sheepdog-users mailing lists 
> sheepdog-users at lists.wpkg.org 
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users 
> 
> [1.2  <text/html; utf-8 (quoted-printable)>]
> 
> [2  <text/plain; us-ascii (7bit)>]
> -- 
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users



More information about the sheepdog-users mailing list