WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Virtualization project idea

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Virtualization project idea
From: Michal Novotny <minovotn@xxxxxxxxxx>
Date: Fri, 27 Aug 2010 15:48:11 +0200
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Dhananjay Goel <dhananjaygoel123@xxxxxxxxx>, James Harper <james.harper@xxxxxxxxxxxxxxxx>
Delivery-date: Fri, 27 Aug 2010 06:50:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100827133333.GJ2804@xxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100827084622.GA2804@xxxxxxxxxxx> <AANLkTikke8p3+m9C_npP87VVJA5czya2ie-xyFNC5pgx@xxxxxxxxxxxxxx> <20100827130847.GG2804@xxxxxxxxxxx> <201008271518.01980.Christoph.Egger@xxxxxxx> <20100827132223.GH2804@xxxxxxxxxxx> <4C77BD16.2030900@xxxxxxxxxx> <20100827133333.GJ2804@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4
On 08/27/2010 03:33 PM, Pasi Kärkkäinen wrote:
On Fri, Aug 27, 2010 at 03:26:46PM +0200, Michal Novotny wrote:
On 08/27/2010 03:22 PM, Pasi Kärkkäinen wrote:
On Fri, Aug 27, 2010 at 03:18:01PM +0200, Christoph Egger wrote:

On Friday 27 August 2010 15:08:47 Pasi Kärkkäinen wrote:

On Fri, Aug 27, 2010 at 06:33:35PM +0530, Dhananjay Goel wrote:

     Yes, exactly. So, we wanted to know if it is possible to *share USB*
     across VMs.

I don't think USB protocol has been designed for *sharing*.
I'm pretty certain only one computer/device/VM can use USB device at a
time.

This might work with firewire devices, I'm not sure.


Yeah, firewire (iee1394) is designed to so that you can attach
the devices to multiple computers..

If you attach the same firewire-disk to multiple computers,
and use the disk from multiple computers at the same time,
you *will* corrupt the filesystem on the disk.

Unless you run some kind of filesystem that has lock-manager,
that can coordinate the shared access to the disk..
ie. you must be running cluster-aware filesystem.

-- Pasi


Well guys, but we're talking about USB. The USB protocol is different
from firewire one. But that's right that I didn't know that. How is it
exactly done with the firewire to connect to multiple computers?

Some (or all?) firewire devices have 'daisy chain' connectors,
so you can link multiple devices together..

You can use those connectors to hook up the same device to multiple computers.

People have implemented for example cheap proof-of-concept failover Oracle DB 
clusters
using firewire disks as cheap 'shared storage'.. there are many tutorials
about that on the internet.

-- Pasi

Oh, great! Thanks for sharing this information!

Michal

--
Michal Novotny<minovotn@xxxxxxxxxx>, RHCE
Virtualization Team (xen userspace), Red Hat


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel