I launched my virtual box manager this morning and saw a VM unaccessible. I really need the VM, it was a key one.
I get the following message:
How do I fix this? How do I prevent this from happening? What happened?
---
The selected virtual machine is inaccessible. Please inspect the error message show below
and press the Refresh button if you want to repeat the accessibility check:
A differencing image of snapshot {2f12bf4b-.....} could not be found. Could not find an open hard disk
Result Code: E_FAIL (0x800004005)
Component: SnapshotMachine
Interface: IMachine {5eaa9319-...}
VirtualBox Fail - inaccessible ?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VirtualBox Fail - inaccessible ?
What happened between the time it worked and now?
Where are the guests files stored? Local, remote, Etc.
Where are the guests files stored? Local, remote, Etc.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VirtualBox Fail - inaccessible ?
Just a suggestion, but perhaps if the data is that important you should in future avoid snapshots - and make backups.jvsrvcs wrote:I really need the VM, it was a key one.
This one sounds like the classic case of deleted snapshot file in the host OS, or snapshot deletion gone wrong using when the GUI. I think we'll need to see the .vbox file for this VM (as a zipped attachment please), and a list of the contents (or picture) of the VM folder, ditto the VM "Snapshots" subfolder. Also the VirtualBox version number.
-
jvsrvcs
- Posts: 38
- Joined: 26. Oct 2011, 02:53
- Primary OS: MS Windows 7
- VBox Version: OSE self-compiled
- Guest OSses: Android
Re: VirtualBox Fail - inaccessible ?
I did not do anything to the box between the time of working and failure.
The recommendation to avoid snapshots is useless. VirtualBox is useless to me unless I can make heavy use of snapshots. I am using it for QA and being able to restore a specific state or starting point is essential.
The recommendation to avoid snapshots is useless. VirtualBox is useless to me unless I can make heavy use of snapshots. I am using it for QA and being able to restore a specific state or starting point is essential.
-
jvsrvcs
- Posts: 38
- Joined: 26. Oct 2011, 02:53
- Primary OS: MS Windows 7
- VBox Version: OSE self-compiled
- Guest OSses: Android
Re: VirtualBox Fail - inaccessible ?
The .vbox file is referencing a snapshot that does not exist. I am not sure what happened. I ran out of disk space at one point. Maybe some boundary points of VirtualBox have not been tested such that when there is no disk space left, files are deleted.mpack wrote:Just a suggestion, but perhaps if the data is that important you should in future avoid snapshots - and make backups.jvsrvcs wrote:I really need the VM, it was a key one.
This one sounds like the classic case of deleted snapshot file in the host OS, or snapshot deletion gone wrong using when the GUI. I think we'll need to see the .vbox file for this VM (as a zipped attachment please), and a list of the contents (or picture) of the VM folder, ditto the VM "Snapshots" subfolder. Also the VirtualBox version number.
At any rate, I am close to or out of disk space, did not have this VM backed up and have lost some serious work here.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VirtualBox Fail - inaccessible ?
VirtualBox allows you to set the size of the virtual drive but that is extended on each snapshot you take. I honestly don't know of any product other than the host OS that can watch and tell you that you are close to running out of disk space. Did you see any warning from the host about getting low on space?
As for using snapshots they do have their place. Saying that you must be sure to back these up and the control files regularly because stuff happens.
Where in the snapshot chain is the one referenced that is missing? Is it the current state snapshot?
As for using snapshots they do have their place. Saying that you must be sure to back these up and the control files regularly because stuff happens.
Where in the snapshot chain is the one referenced that is missing? Is it the current state snapshot?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VirtualBox Fail - inaccessible ?
You can do that with proper backups, without wasting host disk space and without rendering the VM liable to control file corruption problems like you have suffered. If you had already been using real backups then you simply would not have had any of the above problems - but if we pretend that you did then you still would have recovered from it easily. The truth is that it's backups that are essential, not snapshots.jvsrvcs wrote:VirtualBox is useless to me unless I can make heavy use of snapshots. I am using it for QA and being able to restore a specific state or starting point is essential.