Opened 6 years ago
Last modified 5 years ago
#17477 new defect
Compacting VDI file resulting in corrupt file system on High Sierra (APFS) — at Initial Version
Reported by: | DanielH | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 5.2.6 |
Keywords: | compact, corrupt, file, vdi, mac, high sierra | Cc: | |
Guest type: | Windows | Host type: | Mac OS X |
Description
I tried to compact a VirtualBox VDI file (Windows 10 Guest) with this commands on High Sierra 10.13.2 (17C205):
1) VBoxManage modifymedium disk XXX.vdi --compact 2) VBoxManage modifyhd XXX.vdi --compact
Both commands won´t finish and resulting in an corrupt file system (APFS) on the host.
After that I´m not able to show the VDI file or navigate to the VM folder which contains the VDI file. Finder crashes if I want to do that, Terminal also crahses and Time Machine Backups can´t finish if Time Machine passes that folder for backups...
I had to boot into recovery mode to repair the filesystem of my main Macintosh HD, after that I was able to remove the corrupt VDI file...
This is the second time I had that issue, fortunately I was able to repair my file system this time, the last time with macOS High Sierra 10.13.0 and VirtualBox 5.1.30 I ending with and corrupt file system and was not able to repair it, this means I completely had to restore my Mac...