Deleting ISCSI medium by UUID

Discussions related to using VirtualBox on Solaris hosts.

Deleting ISCSI medium by UUID

Postby Norchem » 26. Sep 2012, 02:24

I'm having issues deleting drives by UUID. For VDI files its not a big deal, I can point to the file name. But for iscsi targets, all I have is the UUID.

UUID:        c2a3ccb7-914c-4c69-a15b-c940e3d99a4d
Parent UUID: base
Format: iSCSI
Location: 10.10.30.12|iqn.2012-08.sandy:db:labtest|1


When I try and close the medium since 10.10 is no longer a network on this machine and hence it times-out VBoxManage list hdds, I get an error.

boxen@thor:/tank/vboxes$ VBoxManage closemedium disk c2a3ccb7\-914c\-4c69\-a15b\-c940e3d99a4d
VBoxManage: error: The given path 'c2a3ccb7-914c-4c69-a15b-c940e3d99a4d' 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


I just installed VBox 4.2 on Solaris 11/11. I'm kinda new to Solaris, so I thought maybe I need to escape the '-'. I tried that, quotes, single quotes.. Nuttin.. Should I be opening a bug ticket, or am I missing something simple?

Thanks!
Norchem
 
Posts: 12
Joined: 14. Sep 2012, 01:33
Location: Flagstaff, AZ
Primary OS: Ubuntu 12.04
VBox Version: OSE Debian
Guest OSses: WindowsXP32/64,2008,2003,Ubuntu64

Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 2 guests