From: Stephen Liu Subject: Re: How to connect USB enclosue to guest Date: Sat, 2 Aug 2008 09:09:41 +0800 (CST) Message-ID: <368501.51570.qm@web35208.mail.mud.yahoo.com> References: <90eb1dc70808010847p132fc7f2p1a2ffb887593f655@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: kvm@vger.kernel.org Return-path: Received: from web35208.mail.mud.yahoo.com ([66.163.179.87]:48249 "HELO web35208.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752001AbYHBBJm (ORCPT ); Fri, 1 Aug 2008 21:09:42 -0400 In-Reply-To: <90eb1dc70808010847p132fc7f2p1a2ffb887593f655@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: --- Javier Guerra wrote: > On Fri, Aug 1, 2008 at 10:41 AM, Stephen Liu > wrote: > > 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. 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