Changes between Initial Version and Version 1 of Ticket #15273
- Timestamp:
- Apr 13, 2016 3:33:30 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15273 – Description
initial v1 1 1. I have running VM1 1. I have running VM 2 2 3 2. Then I attach disk, I want to be sure that it is hotpluggable 3 2. Then I attach disk, I want to be sure that it is hotpluggable 4 {{{ 4 5 VBoxManage storageattach itr --storagectl SATA --port 2 --type hdd --hotpluggable on --medium /media/usb/1/kjonca/vdi/wsus.vdi 5 got error: 6 }}} 7 got error: 8 {{{ 6 9 VBoxManage: error: The machine is not mutable (state is Running) 7 10 VBoxManage: error: Details: code VBOX_E_INVALID_VM_STATE (0x80bb0002), component SessionMachine, interface IMachine, callee nsISupports 8 11 VBoxManage: error: Context: "SetHotPluggableForDevice(Bstr(pszCtl).raw(), port, device, TRUE)" at line 881 of file VBoxManageStorageController.cpp 9 10 3. I cannot deregister disk: 12 }}} 13 3. I cannot deregister disk: 14 {{{ 11 15 VBoxManage storageattach itr --storagectl SATA --port 2 --medium none ; VBoxManage closemedium /media/usb/1/kjonca/vdi/wsus.vdi 12 16 VBoxManage: error: Medium '/media/usb/1/kjonca/vdi/wsus.vdi' is locked for writing by another task 13 17 VBoxManage: error: Details: code VBOX_E_INVALID_OBJECT_STATE (0x80bb0007), component MediumWrap, interface IMedium, callee nsISupports 14 18 VBoxManage: error: Context: "Close()" at line 1554 of file VBoxManageDisk.cpp 15 19 }}} 16 20 The only way to resolve it is restarting virtualbox.

