<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi again,</div><div><br></div><div>In my three nodes cluster, I had a few VDIs that I deleted using "collie vdi delete" from Sheepdog1, but I see that no space was reclaimed from any of the three Sheepdog nodes.</div><div><br></div><div>Before:<br></div><div>root@sheepdog1:~# collie vdi list<br> name id size used shared creation time vdi id<br>------------------------------------------------------------------<br> imagenew2 1 5.0 GB 5.0 GB 0.0 MB 2011-07-19 22:31 1a3b42<br> imagenew3 1 1.0 GB 0.0 MB 0.0 MB 2011-07-19 23:26 1a3cf5<br> image
1 1.0 GB 72 MB 0.0 MB 2011-07-18 14:27 28489a<br> imagesmall 1 1.0 GB 1.0 GB 0.0 MB 2011-07-20 23:59 6a4c69</div><div><br></div><div>After:</div><div>root@sheepdog1:~# collie vdi delete imagenew2<br>root@sheepdog1:~# collie vdi delete imagenew3<br>root@sheepdog1:~# collie vdi delete image<br>root@sheepdog1:~# collie vdi delete imagesmall<br>root@sheepdog1:~# collie vdi list<br> name id size used shared creation time vdi id<br>------------------------------------------------------------------</div><div><br></div><div>root@sheepdog1:~# sheep --help<br>Usage: sheep [OPTION] [PATH]<br>Sheepdog Daemon, version 0.2.3</div><div><br></div><div>root@sheepdog1:~# qemu-img create sheepdog:VM_disk -o preallocation=data 5G<br>Formatting
'sheepdog:VM_disk', fmt=raw size=5368709120 preallocation='data' <br>root@sheepdog1:~# collie vdi list<br> name id size used shared creation time vdi id<br>------------------------------------------------------------------<br> VM_disk 1 5.0 GB 5.0 GB 0.0 MB 2011-07-21 10:30 d8d400</div><div><br>root@sheepdog1:~# du -h --max-depth=1 /store_dir/obj/<br>8.6G /store_dir/obj/00000009<br>6.7G /store_dir/obj/00000005<br>10G /store_dir/obj/00000007<br>26G /store_dir/obj/</div><br>On Sheepdog2, the disk space is still used:<br><br>root@sheepdog2:~/tgt# collie vdi list<br> name id size used
shared creation time vdi id<br>------------------------------------------------------------------<br> VM_disk 1 5.0 GB 5.0 GB 0.0 MB 2011-07-21 10:30 d8d400<br>root@sheepdog2:~/tgt# du -h --max-depth=1 /store_dir/obj/<br>4.1M /store_dir/obj/00000003<br>9.8G /store_dir/obj/00000007<br>8.0K /store_dir/obj/00000002<br>1.4G /store_dir/obj/00000009<br>4.0K /store_dir/obj/00000001<br>321M /store_dir/obj/00000008<br>108K /store_dir/obj/00000006<br>40K /store_dir/obj/00000005<br>8.0K /store_dir/obj/00000004<br>12G /store_dir/obj/<br><br>Am I missing a step or how should I delete a VDI in order to reclaim the space?<br><br>Thank you for help and the great work you're
doing.<br><br>George<br><br><br><br><br><br><br><br></div></body></html>