Discussion:
Where does vbox keep this kind of info ...
Harry Putnam
2014-04-07 04:48:20 UTC
Permalink
Running vbox 4.3.8 r92456 on windows 7
I have a solaris guest in vm

I'm trying to reintroduce some discs that have been 'released' and I
thought 'removed' but it seems the Virtual Media Manager will not allow
me to 'remove' them

When I attempt to aim the 'new disc' dialog at them I get errors like this:

------- --------- ---=--- --------- --------
Failed to open the hard disk file G:\vb\vm\oi-ext\oi-4.vdi.

Cannot register the hard disk 'G:\vb\vm\oi-ext\oi-4.vdi' {0ad9e864-7648-43bc-a737-56f4601a9f22} because a hard disk 'B:\vb\vm\oi\oi-4.vdi' with UUID {0ad9e864-7648-43bc-a737-56f4601a9f22} already exists.

Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
------- --------- ---=--- --------- --------

Is there anyway I can trick vbox into allowing these discs to be
re-introduced? They have been removed from the OS so that should not
be a problem.

I looked for evidence of the above information in the ~/.VirtualBox
directory *.xml file but there is no mention.

Vbox must be keeping that ID number and disc path/fname somewhere.

Hopefully it can be hand edited out of something?

There is data on the discs I want to re-introduce... but would rather
not have create a whole new vm to do it.

Or any other ideas would be well appreciated.
Fernando Cassia
2014-04-07 05:37:10 UTC
Permalink
Post by Harry Putnam
I'm trying to reintroduce some discs that have been 'released' and I
thought 'removed' but it seems the Virtual Media Manager will not allow
me to 'remove' them
How did you remove the discs? through the GUI?

The Remove icon is grayed out if a running VM is still using the disk.
Make sure VMs are shut down, not suspended.

Are you using the Snapshots feature?. Snapshots may also cause
problems because once you start doing snapshots the VM doesn't use
just a VDI but the base VDI + snapshot

FC
--
During times of Universal Deceit, telling the truth becomes a revolutionary act
Durante épocas de Engaño Universal, decir la verdad se convierte en un
Acto Revolucionario
- George Orwell

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
VBox-users-community mailing list
VBox-users-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe: mailto:vbox-users-community-***@list
Fernando Cassia
2014-04-07 05:39:53 UTC
Permalink
Post by Fernando Cassia
The Remove icon is grayed out if a running VM is still using the disk.
Make sure VMs are shut down, not suspended.
Are you using the Snapshots feature?. Snapshots may also cause
problems because once you start doing snapshots the VM doesn't use
just a VDI but the base VDI + snapshot
see also
https://forums.virtualbox.org/viewtopic.php?f=6&t=52921

FC
Harry Putnam
2014-04-07 23:02:14 UTC
Permalink
Post by Fernando Cassia
Post by Harry Putnam
I'm trying to reintroduce some discs that have been 'released' and I
thought 'removed' but it seems the Virtual Media Manager will not allow
me to 'remove' them
How did you remove the discs? through the GUI?
I released that way... but not sure if remembered to remove..
At any rate I've got it so screwed up now I think its a lost cause.
I don't recall what all I may have done now.
Post by Fernando Cassia
The Remove icon is grayed out if a running VM is still using the disk.
Make sure VMs are shut down, not suspended.
Are you using the Snapshots feature?. Snapshots may also cause
problems because once you start doing snapshots the VM doesn't use
just a VDI but the base VDI + snapshot
Yes, I did make one lonesome snapshot just to see how it worked.

After scanning thru the name.vbox (xml) file... I see how the snapshot
is spread across all drives.

I've resigned to just remove them by hand even though it means I get
that missing drive at each start. I've created (or am creating) a new
vm and will absorb those drives and try to extract the data.

But all of it is data especially chosen to be lose-able during my
experimenting so no harm done at all. Just some lost work time.

But also learned a bit from it about using vbox better.

Loading...