VirtualBox

Changes between Initial Version and Version 1 of Ticket #7280


Ignore:
Timestamp:
08/09/10 11:45:02 (4 years ago)
Author:
frank
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7280 – Description

    initial v1  
    1 In some circumstances (VMs with shared attachements), takeing a snapshot causes attached drives to be un-attached / removed. 
     1In some circumstances (VMs with shared attachments), taking a snapshot causes attached drives to be un-attached / removed. 
    22 
    33Repro: 
    44 
    5 - Two new machines (A, B) with no attachments, 5 virtual disks: A1, A3, B1, B3, SHARED. 
    6  
    7 - Attach to A the following disks (in this order): A1, shared, A3 and add a CD/DVD controller and drive and a floppy controller and drive. 
    8  
    9 - Attach to B the following disks, B1, shared, B3 and add a CD/DVD controller and drive and floppy controller and drive. 
    10  
    11 - Take a snapshot on A.  Not that now only A1 is attached, and the other disks AND the CD/DVD drive and floppy drive have been removed. 
    12  
    13 - Attempt to-reattach A3 to VM A.  Note that A3 is shown with the blue star icon, indicating that a differencing disk is attached somewhere (so VB thinks). 
    14  
    15 - Virtual Media Manager > Observe that A3 does NOT have a differencing disk. 
    16  
    17 - Restore Snapshot on A and Delete Snapshot on A 
    18  
    19 - (STRANGE!) Repeat add drives to A and snapshot and this time the snapshot does not remove the attachements! 
    20  
    21 - Delete Snapshot, and observe: "Failed to delete the Snapshot 1 of the virtual machine A.  Medium 'C:\...Shared.VDI' is locked for writing by another task." 
    22  
    23 - Close VirtualBox, wait for VBoxSVC.exe to stop, Delete snapshot 1 works.  Re-add snapshot, followed by Delete snapshot gives error above again. 
     5 - Two new machines (A, B) with no attachments, 5 virtual disks: A1, A3, B1, B3, SHARED. 
     6 - Attach to A the following disks (in this order): A1, shared, A3 and add a CD/DVD controller and drive and a floppy controller and drive. 
     7 - Attach to B the following disks, B1, shared, B3 and add a CD/DVD controller and drive and floppy controller and drive. 
     8 - Take a snapshot on A.  Not that now only A1 is attached, and the other disks AND the CD/DVD drive and floppy drive have been removed. 
     9 - Attempt to-reattach A3 to VM A.  Note that A3 is shown with the blue star icon, indicating that a differencing disk is attached somewhere (so VB thinks). 
     10 - Virtual Media Manager > Observe that A3 does NOT have a differencing disk. 
     11 - Restore Snapshot on A and Delete Snapshot on A 
     12 - (STRANGE!) Repeat add drives to A and snapshot and this time the snapshot does not remove the attachments! 
     13 - Delete Snapshot, and observe: "Failed to delete the Snapshot 1 of the virtual machine A.  Medium 'C:\...Shared.VDI' is locked for writing by another task." 
     14 - Close !VirtualBox, wait for VBoxSVC.exe to stop, Delete snapshot 1 works.  Re-add snapshot, followed by Delete snapshot gives error above again. 

www.oracle.com
ContactPrivacy policyTerms of Use