Ticket #16822 (new defect)

Opened 6 years ago

Default Machine Folder link removed

Reported by: !bruno Owned by:
Component: GUI Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: all Host type: Windows



I encountered an unexpected behavior during VM creation/removal through the VirtualBox Manager GUI - done some testing and found the manager sometimes remove the Default Machine Folder configured in File / Preferences / General

1st case - there is no existing VM in the GUI - create a new VM then abort during creation (I usually abort at the memory setting) => the VM folder is gone as is the Default Machine Folder - it's ok, cleaning is always a good idea as there is no existing or created VM in the folder, but I think this is linked with my problem below : the 2nd case

2nd case - the Default Machine Folder is a junction (folder hard link in Windows world) - in that case, even if there is other existing and possibly running VM, removing one VM results in the removed VM folder removal (expected) and Default Machine Folder link removal (unexpected) - no harm as only the link is removed, the true folder and all VM folders inside are still there, its only annoying as I need to recreate the link each time a VM is removed or VM creation is aborted

how to reproduce the problem
1) create a junction : in command line "mklink /j C:\Users\(your-username)\Documents\VM D:\{test-folder}"
2) set the Default Machine Folder to C:\Users\(your-username)\Documents\VM
3) create VM test-1
4) check C:\Users\(your-username)\Documents\VM\test-1 exists as well as D:\{test-folder}\test-1
5) start creating VM test-2
6) abort test-2 VM creation => C:\Users\(your-username)\Documents\VM link should be gone

my current configuration involve iSCSI disks mounted as folders, reason for the links - hope I made the reproduce steps as simple and straight as possible

feel free to ask if you need more tests or information


Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use