<div dir="auto">You must enable discard inside VM, enable discard in qemu, and don't use fully preallocated images</div><div class="gmail_extra"><br><div class="gmail_quote">31 Янв 2017 г. 18:41 пользователь "Teun Kloosterman" <<a href="mailto:teunkloosterman@gmail.com">teunkloosterman@gmail.com</a>> написал:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I've installed a sheepdog cluster for testing purposes on some desktop PCs. These have 120GB SSDs, which is not big, I know, but should suffice. They all run stock Debian Jessie with stable sheepdog 0.8.3-2 installed.<br><br></div>Now I'm running into the issue that sheepdog consumes all disk space on these machines, all the way down to zero, and I cannot help it. These machines use less than 5GB for themselves and more than 270GB on sheepdog data. The images should consume (1.5 + 2.3) * 2 = 7.5GB or a maximum of 20 * 3 * 2 = 120 G. All data is located in the /mnt/sheep/0 data folder and the .stale folder is empty.<br><br></div>Can anyone explain to me what this data is and how I can manage it?<br></div><br><div><div><span style="font-family:monospace,monospace">root@host03:/# dog node info<br>Id Size Used Avail Use%<br> 0 89 GB 89 GB 0.0 MB 100%<br> 1 97 GB 91 GB 5.5 GB 94%<br> 2 97 GB 92 GB 4.6 GB 95%<br>Total 282 GB 272 GB 10 GB 96%<br><br>Total virtual image size 20 GB<br><br>root@host03:/# dog vdi list<br> Name Id Size Used Shared Creation time VDI id Copies Tag<br>s centos 1 20 GB 1.5 GB 0.0 MB 2016-09-14 13:12 8d7d6a 2 <br> pxe 0 20 GB 0.0 MB 0.0 MB 2016-10-24 17:18 917450 2 <br>s debian 1 20 GB 2.3 GB 0.0 MB 2016-09-14 13:12 b1f0d2 2 <br></span><br></div><div>Kind regards,<br></div><div> Teun Kloosterman<br></div></div></div>
<br>--<br>
sheepdog-users mailing lists<br>
<a href="mailto:sheepdog-users@lists.wpkg.org">sheepdog-users@lists.wpkg.org</a><br>
<a href="https://lists.wpkg.org/mailman/listinfo/sheepdog-users" rel="noreferrer" target="_blank">https://lists.wpkg.org/<wbr>mailman/listinfo/sheepdog-<wbr>users</a><br>
<br></blockquote></div><br></div>