How can I compact the VHD file with Ubuntu?

Posted by AmShegar on Server Fault See other posts from Server Fault or by AmShegar
Published on 2013-11-06T10:59:24Z Indexed on 2013/11/08 10:01 UTC
Read the original article Hit count: 311

I use windows server 2008r2 with role Hyper-V. The guest system is Ubuntu 12.04 LTC. It is situated on the dynamic virtual hard disk.

I want to compact this VHD (The real size is 50 GB, 360 GB on the disk). But I can not do this, because the Ubuntu file system is not NTFS. What do I need (gparted, sdelete, ...) for solving this problem?

The main problem is that the filesystem is not NTFS, but ext4.

© Server Fault or respective owner

Related posts about hyper-v

Related posts about ntfs