天天看點

如何将ESXI上的GUES OS的磁盤空間減小?

一般來講,增大很容易,但縮小比較麻煩。

聽說那個指令行工具也不很靠譜。

我沒有測試成功。

找來找去,還是VMware Converter成功率最大。

如何将ESXI上的GUES OS的磁盤空間減小?

參考文檔:

<a href="http://www.vladan.fr/reduce-vmdk-size/">http://www.vladan.fr/reduce-vmdk-size/</a>

Thin provisioned disks grow up with the time. When you work with a thin disk provisionned VM, you are copying new files into a VM, then deleting them, again and again, this process grow the thin disks over time. If you delete files from within the VM wanting to gain the space back, it just don’t work. The VMDK grows, but don’t shrink. While from within the quest OS in the VM you see that you’re getting more space, from the vSphere client the disk shows the same size. Natively from within vSphere client it is not possible to shrink VMDK disk files.

With VMware Converter standalone the process will actually do a clone of the original VM. But you’ll need enough space on your storage somewhere and enough time outside of business hours, because the process operates when the VM is shut down. In my test that you’ll be able to follow through the screenshots below, it took 36 min to do the V2V conversion process.

如何将ESXI上的GUES OS的磁盤空間減小?

繼續閱讀