<div dir="ltr"><div><div><div>So, inside the VM I managed to reduce the LVM and the Filesystem... <br></div>But, when I try to use qemu-img resize, perhaps I mistake something, because the crash down in kernel panic, 'cause not found and partitions, even the LVM!<br><br></div>Are you sure that gparted live iso is safe???<br><br></div>Thanks<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-22 9:25 GMT-03:00 Lindsay Mathieson <span dir="ltr"><<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Use the GPartEd Live ISO (<a href="http://gparted.org/download.php" target="_blank">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"><div><div class="h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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><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></div></div><span class="">_______________________________________________<br>
pve-user mailing list<br>
<a href="mailto:pve-user@pve.proxmox.com" target="_blank">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></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>Lindsay</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"><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>+55 (47) 9676-7530<br>Skype: gilberto.nunes36<br></div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>