Hi,
I have some VMs with Ubuntu 10.04 (ext4 filesystem on raw disk image) inside Promox 1.9.
The problem is with their disk size. For example my FTP machine has disk-2.raw mounted as /srv/ftp/data
The real allocated space inside quest is 12GB (df -h), but inside Proxmox file size is nearly 45GB.
I know that is correct because this space is used in raw file.
Actually I need to shrink this partition (I mean zero usused space).
I was thinking about zerofree util inside quest machine, but docs says it doesn't support ext4 filesystem
So is there other (quite easy) way to do it ?
Sorry for my english.
Regards
michu
I have some VMs with Ubuntu 10.04 (ext4 filesystem on raw disk image) inside Promox 1.9.
The problem is with their disk size. For example my FTP machine has disk-2.raw mounted as /srv/ftp/data
The real allocated space inside quest is 12GB (df -h), but inside Proxmox file size is nearly 45GB.
I know that is correct because this space is used in raw file.
Actually I need to shrink this partition (I mean zero usused space).
I was thinking about zerofree util inside quest machine, but docs says it doesn't support ext4 filesystem
So is there other (quite easy) way to do it ?
Sorry for my english.
Regards
michu