首頁>Computer>source

我在">如何壓縮VirtualBox的VDI檔案 大小?,但是這些解決方案對我不起作用.這是我尝試過的:

我已经成功使用CloneVDI多年了,没有任何問题,但是它突然變得無法壓縮.我在来宾OS上有(並且一直有)2个分區(C:42gb,F:20gb).删除大型資料庫檔案並使用MiniTool分區向匯將F:分區从45gb縮小到20gb(並消除了分區之間的空白空間)後,我執行了CloneVDI,並選擇了Compact選項,並且大小没有變化(應该具有 將大小从82gb减小到最大大小62(两个分區大小的总和). (快照已在執行前删除了。)

因為.vdi位於SSD上(並且在Vbox設置中標記為SSD),所以過去从未进行過碎片整理,也不能在任何分區上執行。

我錯過了什麼吗?

最新回復
  • 5月前
    1 #

    最後找到了解決方案,這是我尝試過的方法以及最终有效的方法:

      tried deleting the snapshots in File Explorer, but that was a mistake - VM fails to boot. Forced to restore from backup

      try removing 25gb snapshot in VB, got error message 'Failed to delete snapshot...has more than one child hard disk...'

      had to go to VirtualBox (VB) Virtual Media Manager to find the 'unattached' snapshot and remove

      now able to remove entire snapshot in VB

      although due to the merging that takes place when removing snapshots, the .vdi image size got larger (went from 82gb to 87gb). Now able to use the combo of sdelete/VBoxManage to reduce .vdi size from 87gb to 77gb, but still way too large (see original post)

      Now run CloneVDI on that image - it shrinks from 77gb to 46gb - success!

  • Testing multicast:測試多播-無法获得正確的結果
  • hard drive:出現故障的SMART硬碟是否真的可以修複?