<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1431760588786_14948">Dear all,</div><div id="yui_3_16_0_1_1431760588786_14949"><br></div><div id="yui_3_16_0_1_1431760588786_14950" dir="ltr"> I have been searching around how to resize a disk that was created for 256 Gb but currently only has 50 Gb. Unfortunately it grew up to 108 Gb and now I can't claim the spaces by the files I have already deleted.</div><div id="yui_3_16_0_1_1431760588786_14980" dir="ltr"><br></div><div id="yui_3_16_0_1_1431760588786_14966" dir="ltr"> If possible, I would like to avoid any downtime or minimize it. Some people claim that using qemu-img convert would do the trick instead of converting to raw format.</div><div id="yui_3_16_0_1_1431760588786_14995" dir="ltr"><br></div><div id="yui_3_16_0_1_1431760588786_14996" dir="ltr"> Is there any way to avoid downtime or any configuration to avoid it in the future? I'm running proxmox 3.3-1<br></div><div id="yui_3_16_0_1_1431760588786_14814"><br></div><div id="yui_3_16_0_1_1431760588786_14909"><br></div><div id="yui_3_16_0_1_1431760588786_14908"><br></div><div dir="ltr" id="yui_3_16_0_1_1431760588786_14881"># qemu-img info vm-102-disk-1.qcow2 <br style="" class="">image: vm-102-disk-1.qcow2<br style="" class="">file format: qcow2<br style="" class="">virtual size: 256G (274877906944 bytes)<br style="" class="">disk size: 180G<br style="" class="">cluster_size: 65536<br style="" class="">Snapshot list:<br style="" class="">ID TAG VM SIZE DATE VM CLOCK<br style="" class="">1 snapshot_21022015 0 2015-02-21 16:24:32 00:00:00.000<br style="" class="">Format specific information:<br style="" class=""> compat: 1.1<br style="" class=""> lazy refcounts: false<br style="" class=""><br></div><div style="" class="" id="yui_3_16_0_1_1431760588786_14881"><br style="" class=""></div></div></body></html>