VirtualBox

Opened 7 years ago

Last modified 4 years ago

#17604 new defect

VM becomes "inaccessible" on re-launching GUI, Sharable VDI removed from media registry

Reported by: pbouill Owned by:
Component: virtual disk Version: VirtualBox 5.2.8
Keywords: shareable, media registry Cc:
Guest type: Windows Host type: Windows

Description

Hello all,

Running into a very annoying problem, where my shareable vdi disk gets removed from the the VM (.vbox) xml on shutting down the VirtualBox Manager GUI -- resulting in my guest becoming "inaccessible" -- this has been happening for the past few versions (at least as far back as 5.2.6). I can make the VM "accessible" again by manually specifying the shared disk in the .vbox file (or temporarily attaching the shared disk to another guest, to have it show up in the media registry). As soon as I close/re-open the VirtualBox Manager GUI, my VM becomes "inaccessible" again.

Anyhow, here is the message I get:

A differencing image of snapshot {5912e4a6-b6c8-4ba7-ae4c-51b15512b9f5} could not be found. Could not find an open hard disk with UUID {662e4d2d-9085-4ecb-819e-f1f9875367e2}.
Result Code: 
E_FAIL (0x80004005)
Component: 
SnapshotMachine
Interface: 
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}

When manually editing the .vbox file, this is what I have been adding... but it get's overwritten when cycling the VirtualBox Manager GUI:

<VirtualBox ...>
  <Machine ...>
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{662e4d2d-9085-4ecb-819e-f1f9875367e2}" location="C:\Users\{me}\VirtualBox VMs\Shared\ActivationsDisk.vdi" format="VDI" type="Shareable"/>
      </HardDisks>
      <.../>
    </MediaRegistry>
    <.../>
  </Machine>
</VirtualBox>

Any help/fixes would be greatly appreciated.

Thanks!

Attachments (1)

VBoxDiffDrive.png (65.9 KB ) - added by Hartje 4 years ago.
Error add diff drive

Download all attachments as: .zip

Change History (2)

by Hartje, 4 years ago

Attachment: VBoxDiffDrive.png added

Error add diff drive

comment:1 by Hartje, 4 years ago

== Version 6.1.0 r135406 (Qt5.6.2) ==

This issue occure when you add a disk with a diff-vdi to your mashine.

pre-condition: -a VDI-Drive /TestDir/Test.vdi -a Diff-Drive /TestDir/Snapshot/{xyz...}.vdi (Parent is Test.vdi)

  1. Add Test.vid to virtual media manager
  2. Create a new machine
  3. Add Test.vdi to machine
  4. Delete machine vom VirtualBox (don't delete data)
  5. Look in vbox of machine: MediaRegister is correct
  1. Add DiffDrive via media manager. ->Open of machine fails !!!
  1. Delete DiffDrive vom media manager

Open of machine is ok.

  1. Add DiffDrive via media manager
  2. Add DiffDrive to machine a new drive.

Open of machine is ok

  1. Detach TestDrive an DiffDrive from machine.
  2. Delete machine vom Virtual Box

The MediaRegister is deltete: => OK

  1. Open machine
  2. Add only DiffDrive to machine.
  3. Delete machine

vbox has MediaReigster vor TestDrive but not for DiffDrive !! Attached AttachedDevice is uiid of DiffDrive. -> The machine can not open.

Errors: The given path '{485b4b36-1249-40c3-af45-2568a07135e8}' is not fully qualified. Could not find an open hard disk with UUID {1651b24a-8543-4ec2-b201-4c41e2540f9c}.

where {485b4b36-1249-40c3-af45-2568a07135e8} is TestDrivce and {1651b24a-8543-4ec2-b201-4c41e2540f9c} is DiffDrive

The DiffDrive is deletet from media manager. Try to add DiffDrive: Error: Parent medium with UUID {485b4b36-1249-40c3-af45-2568a07135e8} of the medium 'D:\VirtualMachine\Win10x64-FCStatistik\Snapshots\{1651b24a-8543-4ec2-b201-4c41e2540f9c}.vdi' is not found in the media registry ('C:\Users\haste\.VirtualBox\VirtualBox.xml').

But it is still in media manager

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy