A differencing image of snapshot {xxx} could not be found.
Posted: 16. Jan 2011, 14:29
Hello,
A VM has become inaccessible after a sequence of actions (presented below). I appreciate any help in getting the VM back online.
Environment:
1.1 Shut down VM
1.2 Took a snapshot
1.3 Added a SATA controller
1.4 Created a 2GB virtual disk
1.5 Attach disk to SATA controller
1.6 Start VM
1.7 Resize LogVol00 (LVM is in use) and root (/) file-system (ext3) on running system
Here the system seemed to accept the change on-the-fly. FS usage dropped to 77% from 90%. We started using the system (which hosts code repository using Mercurial) with no problems. The next day:
1.8 Reboot VM
At this point we realized Step 1.7 broke the system, which would fail to read the FS on boot. Apparently, resizing on-the-fly is not an option. Therefore:
2.1 We go back to snapshot from step (1.2)
2.2 We perform some maintenance (basically have developers push some code changes from their locally-cloned repositories that were lost from the main repository)
2.3 Take a new snapshot to use as a base-line.
2.4 Shut down the VM
2.5 Attach a "system rescue CD" after to IDE secondary master
At this point, we got an error that the VM cannot be modified (E_NOACCESSDENIED). Strangely, when we started the VM in the next step, the change appeared to have been applied:
2.6 Start VM (system rescue CD was found and used in spite of error above)
2.7 Resize root (/) FS (ext3) while not mounted
2.8 Stop VM
2.9 Start VM
At this point, we saw that the VM would start, the root FS was increased (77% free instead of 90%) and all the data we added in step 2.2 was still there. So, we decide to clean up:
3.1 Stop VM
3.2 Delete snapshot 1.2 (took a long time)
3.3 Delete snapshot another, older snapshot (not taken during the above steps -- this took even longer due to a merge)
3.4 Start VM
Now, we got the same E_NOACCESSDENIED error we got in step 2.5 above. Only the VM would not power-on at all.
Unable to start the VM, we upgrade to VirtualBox 3.2.12 to see if it helps. Now when we open the GUI we see the VM with a status of "Inaccessible" and the following text in Details:
Can anyone suggest how to proceed?
A VM has become inaccessible after a sequence of actions (presented below). I appreciate any help in getting the VM back online.
Environment:
- Host is an AMD64 machine running CentOS5 with VirtualBox 3.2.10 initially (note that we update to 3.2.12 in the process below).
Client is also running CentOS5.
1.1 Shut down VM
1.2 Took a snapshot
1.3 Added a SATA controller
1.4 Created a 2GB virtual disk
1.5 Attach disk to SATA controller
1.6 Start VM
1.7 Resize LogVol00 (LVM is in use) and root (/) file-system (ext3) on running system
Here the system seemed to accept the change on-the-fly. FS usage dropped to 77% from 90%. We started using the system (which hosts code repository using Mercurial) with no problems. The next day:
1.8 Reboot VM
At this point we realized Step 1.7 broke the system, which would fail to read the FS on boot. Apparently, resizing on-the-fly is not an option. Therefore:
2.1 We go back to snapshot from step (1.2)
2.2 We perform some maintenance (basically have developers push some code changes from their locally-cloned repositories that were lost from the main repository)
2.3 Take a new snapshot to use as a base-line.
2.4 Shut down the VM
2.5 Attach a "system rescue CD" after to IDE secondary master
At this point, we got an error that the VM cannot be modified (E_NOACCESSDENIED). Strangely, when we started the VM in the next step, the change appeared to have been applied:
2.6 Start VM (system rescue CD was found and used in spite of error above)
2.7 Resize root (/) FS (ext3) while not mounted
2.8 Stop VM
2.9 Start VM
At this point, we saw that the VM would start, the root FS was increased (77% free instead of 90%) and all the data we added in step 2.2 was still there. So, we decide to clean up:
3.1 Stop VM
3.2 Delete snapshot 1.2 (took a long time)
3.3 Delete snapshot another, older snapshot (not taken during the above steps -- this took even longer due to a merge)
3.4 Start VM
Now, we got the same E_NOACCESSDENIED error we got in step 2.5 above. Only the VM would not power-on at all.
Unable to start the VM, we upgrade to VirtualBox 3.2.12 to see if it helps. Now when we open the GUI we see the VM with a status of "Inaccessible" and the following text in Details:
Since our data seems to be intact (remember after 2.9 all the data was there) we want to salvage the system. No snapshot deletion / merging was interrupted and everything was completed successfully, so the system should be relatively ok.A differencing image of snapshot {88f0398a-d5cd-4bc7-89a9-03838acb0b2a} could not be found. Could not find a hard disk with UUID {99c85c6d-56a1-41b3-b18f-971e333fc2c2} in the media registry ('/data/vbox/.VirtualBox/VirtualBox.xml').
Can anyone suggest how to proceed?