[PVE-User] Shrink qemu raw image...
Gilberto Nunes
gilberto.nunes32 at gmail.com
Mon Jun 22 14:36:57 CEST 2015
So, inside the VM I managed to reduce the LVM and the Filesystem...
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!
Are you sure that gparted live iso is safe???
Thanks
2015-06-22 9:25 GMT-03:00 Lindsay Mathieson <lindsay.mathieson at gmail.com>:
> Use the GPartEd Live ISO (http://gparted.org/download.php) to resize the
> LVM *and* the partiton, then qemu-img to shrink it.
>
>
>
> On 22 June 2015 at 21:50, Gilberto Nunes <gilberto.nunes32 at gmail.com>
> wrote:
>
>> Hi guys
>>
>> I was able to reduce LVM and root/home partition inside a certain VM,
>> runnning on Proxmox.
>> The VM has raw image.
>> This image was 4 TB of size..
>> But, when I try using command:
>>
>> qemu-img resize vm.raw -XXXXG
>>
>> The VM get crash! No partition remain....
>>
>> So I thought use virt-resize to make this operation....
>> 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...
>>
>> Or, maybe you guys, has another solution...??
>>
>> Thanks
>>
>> --
>>
>> Gilberto Ferreira
>> +55 (47) 9676-7530
>> Skype: gilberto.nunes36
>>
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user at pve.proxmox.com
>> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>>
>
>
> --
> Lindsay
>
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>
--
Gilberto Ferreira
+55 (47) 9676-7530
Skype: gilberto.nunes36
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20150622/5ef89ebc/attachment.htm>
More information about the pve-user
mailing list