<div dir="ltr"><div>Use the GPartEd Live ISO (<a href="http://gparted.org/download.php">http://gparted.org/download.php</a>) to resize the LVM *and* the partiton, then qemu-img to shrink it.<br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 June 2015 at 21:50, Gilberto Nunes <span dir="ltr"><<a href="mailto:gilberto.nunes32@gmail.com" target="_blank">gilberto.nunes32@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi guys<br><br></div>I was able to reduce LVM and root/home partition inside a certain VM, runnning on Proxmox.<br></div>The VM has raw image.<br></div><div>This image was 4 TB of size..<br></div>But, when I try using command:<br><br>qemu-img resize vm.raw -XXXXG<br><br></div>The VM get crash! No partition remain....<br><br></div>So I thought use virt-resize to make this operation....<br></div>I can use perhaps, other host, with virt-manager and other virt tools installed, shrink the raw image with virt-resize and get use the resulting image to new VM on Proxmox...<br><br></div>Or, maybe you guys, has another solution...??<br><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><div><div><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Gilberto Ferreira<br><a href="tel:%2B55%20%2847%29%209676-7530" value="+554796767530" target="_blank">+55 (47) 9676-7530</a><br>Skype: gilberto.nunes36<br></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br>
<a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user" rel="noreferrer" target="_blank">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Lindsay</div>
</div>