Page 1 of 1

Transfer USB Disks from Host to VirtualBox

Posted: 1. Sep 2010, 17:23
by andunix
I'm running a VirtualBox with OpenSolaris on a Mac OS X host. I attached two USB disks to the guest and formatet them with ZFS. Unfortunately, I can't attach them durable to the VM. I added a filter to "Hold" the disks but this filter only works when there is a VM running. If the disks are attached with no VM running, then they will be attached to the host (Mac OS X).

To get the VM up and running, I have to:
  • Start the VM and then stop the GRUB timeout
  • Detach and re-attach the disks (they change from "Unavailable" to "Held" in the "usbhost" sub-command
  • Attach the disks to the VM (they are now changing to "Captured")
  • Continue the boot of the guest to mount the disks
Is there any way how to make VBox attach the disks at once?

The disks:

Code: Select all

UUID:               f69e9614-aeaf-4f4c-a17f-9ef95fbcbb52
VendorId:           0x13fd (13FD)
ProductId:          0x1340 (1340)
Revision:           2.16 (0216)
Manufacturer:       Generic
Product:            External
SerialNumber:       57442D574341565932303435
Address:            p=0x1340;v=0x13fd;s=0x0000f20725c70abf;l=0x24720000
Current State:      Unavailable

UUID:               2bf43b45-0020-4db6-b64f-a9d6edad5ae8
VendorId:           0x13fd (13FD)
ProductId:          0x1340 (1340)
Revision:           2.16 (0216)
Manufacturer:       Generic
Product:            External
SerialNumber:       57442D574341565932303435
Address:            p=0x1340;v=0x13fd;s=0x0000f2095a8072e7;l=0x24730000
Current State:      Unavailable
The filter:

Code: Select all

Oracle VM VirtualBox Command Line Management Interface Version 3.2.8
(C) 2005-2010 Oracle Corporation
All rights reserved.

Global USB Device Filters:

Index:            0
Active:           yes
Action:           Hold
Name:             WD 2TB Disks
VendorId:         13fd
ProductId:        
Revision:         
Manufacturer:     
Product:          
Serial Number: