[vbox-dev] VBoxManage closemedium / modifyhd iSCSI target

Marek Salwerowicz marek_sal at wp.pl
Sat Nov 17 17:51:48 GMT 2012


Hi list.

I'm using VirtualBox 4.2.4 under FreeBSD 9.1-PRERELEASE amd64 box.

  'VBoxManage closemedium' command is not able to unregister the iSCSI 
target:

s14% VBoxManage list hdds
UUID:        80df955c-243b-4d67-9321-b0dd87d3dc0e
Parent UUID: base
Format:      iSCSI
Location:    volt|iqn.2012-01.zetis:win7-vdi
State:       created
Type:        normal

s14%
s14% VBoxManage closemedium disk 80df955c-243b-4d67-9321-b0dd87d3dc0e
VBoxManage: error: The given path '80df955c-243b-4d67-9321-b0dd87d3dc0e' 
is not fully qualified
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), 
component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), 
enmDevType, AccessMode_ReadWrite, false, pMedium.asOutParam())" at line 
177 of file VBoxManageDisk.cpp
s14%

There is also no possiblity to change the type of iSCSI target:

s14% VBoxManage modifyhd 80df955c-243b-4d67-9321-b0dd87d3dc0e --type 
multiattach
VBoxManage: error: The given path '80df955c-243b-4d67-9321-b0dd87d3dc0e' 
is not fully qualified
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), 
component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), 
enmDevType, AccessMode_ReadWrite, false, pMedium.asOutParam())" at line 
177 of file VBoxManageDisk.cpp
s14%


Regards,
-- 
Marek Salwerowicz






More information about the vbox-dev mailing list