I am facing a serious issue after stopping and restarting the host machine. The CentOS 7 guest VM has been running for months and was shut down properly before the Mac host machine was shut down for the latest OS update.
Error message when trying to launch the CentOS VM:
Hard disk '/Volumes/Virtualbox VMs Lacie/CentOS FreePBX 15/Snapshots/{7aacf2fc-aa6b-4756-b143-c818608494db}.vdi' with UUID {7aacf2fc-aa6b-4756-b143-c818608494db} cannot be directly attached to the virtual machine 'CentOS FreePBX 15' ('/Volumes/Virtualbox VMs Lacie/CentOS FreePBX 15/CentOS FreePBX 15.vbox') because it has 1 differencing child hard disks.
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {85632c68-b5bb-4316-a900-5eb28d3413df}
VM 'CentOS FreePBX 15 'shows as "Inaccessible"
Code: Select all
$ ls -lR
total 37785664
-rw------- 1 stewart staff 12967 10 Jun 06:11 CentOS FreePBX 15.vbox
-rw------- 1 stewart staff 12982 10 May 09:03 CentOS FreePBX 15.vbox-prev
-rw------- 1 stewart staff 19346227200 25 Apr 16:40 CentOS FreePBX 15.vdi
drwx------ 6 stewart staff 204 10 May 09:03 Logs
drwx------ 7 stewart staff 238 10 May 09:02 Snapshots
./Logs:
total 1096
-rw------- 1 stewart staff 153992 10 Jun 06:11 VBox.log
-rw------- 1 stewart staff 98896 10 May 09:02 VBox.log.1
-rw------- 1 stewart staff 154894 8 May 18:23 VBox.log.2
-rw------- 1 stewart staff 144512 28 Apr 11:05 VBox.log.3
./Snapshots:
total 29389816
-rw------- 1 stewart staff 2476448098 25 Apr 16:40 2021-04-25T23-40-17-198473000Z.sav
-rw------- 1 stewart staff 2002534694 10 May 09:01 2021-05-10T16-01-09-041170000Z.sav
-rw------- 1 stewart staff 3979345920 10 May 09:01 {07d2bfd3-9b96-4be3-b786-72abfb9adb14}.vdi
-rw------- 1 stewart staff 6587154432 10 Jun 06:11 {7aacf2fc-aa6b-4756-b143-c818608494db}.vdi
-rw------- 1 stewart staff 2097152 10 May 09:02 {8beef701-72fc-484a-a2c0-0a3e17092743}.vdi
$
I'm hoping that with the assistance of knowledgeable VirtualBox users the VM can be recovered. I need to understand how this can be prevented in future.