Skip to contentSkip to conversation

How to connect USB enclosue to guest

DISCUSSION Stephen Liu 2 participants 3 messages Aug 1, 2008 – Aug 2, 2008 KVM

lore
Share & tools
lore
#0 lore raw

Hi folks,

Ubuntu 8.04 server amd64 - host
Ubuntu 6.06 server amd64 - guest
KVM 1:62+dfsq
UBS enclosure

Please advise how to mount the USB enclosure to guest. It can be mounted on host. Pointer would be appreciated. TIA

B.R.
Stephen L

Send instant messages to your online friends http://uk.messenger.yahoo.com

#1 lore raw
Quoted 11 lines · Stephen Liu

Hi folks,

Ubuntu 8.04 server amd64 - host
Ubuntu 6.06 server amd64 - guest
KVM 1:62+dfsq
UBS enclosure

Please advise how to mount the USB enclosure to guest. It can be mounted on host. Pointer would be appreciated. TIA

instead of messing with USB, manage it as any block device.

don't mount it on host, and add the /dev/sdX device file as an extra drive on the qemu command line.

downside is that you wouldn't be able to (easily) unmount from the guest.

Signature · 1 line
Javier
#2 lore raw
Quoted 14 lines · --- Javier Guerra
Quoted 11 lines · Stephen Liu

Hi folks,

Ubuntu 8.04 server amd64 - host
Ubuntu 6.06 server amd64 - guest
KVM 1:62+dfsq
UBS enclosure

Please advise how to mount the USB enclosure to guest. It can be mounted on host. Pointer would be appreciated. TIA

Quoted 7 lines

instead of messing with USB, manage it as any block device.

don't mount it on host, and add the /dev/sdX device file as an extra drive on the qemu command line.

downside is that you wouldn't be able to (easily) unmount from the guest.

Hi Javier,

Thanks for your advice.

I'm running the USB enclosure (a HD) as portable storage drive to servers. I have to connect it to another server later when in need.

I have another thought whether I can create the enclosure as an image on KVM? But even possible I have to recreate a new image next time connecting it to the guest.

Any advice? TIA

B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com