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-users

Re: [Xen-users] Exporting a PCI Device

To: "Jan Kalcic" <jandot@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Exporting a PCI Device
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Tue, 19 Feb 2008 09:51:33 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Joris Dobbelsteen <Joris@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 19 Feb 2008 06:52:09 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=gkFbxmpAqbxRnsQlCuSinR7OGDrF2yAK6ssfi+4TbZE=; b=BJC6V7rDPDGRYCl4Umsy9Fj2YaRWem3RZmgv3h32Pv4SwAKFD1VmuCb5GTO9ljCCfZj8PYgroqdkG2kIwzaanaTeX9pdKOlpi2QzEg1vXWCq7dLlv/RjHkuMMY8kpFluuHC91XhWdkxXpHOHnPdwwXSYMP7AkTZtNioLTJQGOuE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=LzQ7p7IXnRIr8Nng5D9skliWdtgQ8U6orpn3+vAbSa+sFZukbNELMPjEqDv/IYXM06qMfo14Nwn6AqOxMWC7MUdeCSY68J2kh+3K4/pZBWTk7RfqvmfEFvN35TkPfWbt0ML6yJB4LKuq0PF3bEnqcK6xaJZ13kkEbRiL0NZOyXk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47BAD9EC.4030402@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <47B8C482.5050600@xxxxxxxxxxxxxx> <1e16a9ed0802171801n591a4949r4ee5e362c2f80f05@xxxxxxxxxxxxxx> <47B965A9.4040300@xxxxxxxxxxxxxx> <E4953B65D9E5054AA6C227B410C56AA9C379@xxxxxxxxxxxxxxxxxxxxxxx> <47BAD9EC.4030402@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Feb 19, 2008 8:30 AM, Jan Kalcic <jandot@xxxxxxxxxxxxxx> wrote:

>> Hi Todd,
>>
>> the PCI device which I would need to "share" is the fibre
>> channel card connected to two different storage, on of this is
>> the VMs repository which has to be visible to dom0 and the
>> other one is the data storage for VMs which, obviously, has to
>> be visibile to VMs. So the solution would be using two
>> different fibre channel cards, right?
>>
>
> What I would do is make all storage available to the dom0 and use
> regular methods to export it to the domU.
> In other words: treat dom0 as a very fancy piece of hardware that's
> between your kernel and the fibre-channel attached storage. For generic
> solutions the Virtual Block Device should be fast enough, otherwise you
> should probably consider a separate server, dedicated to that single
> task.
>
>
Exporting the device to domU as a Physical Block Device, let's suppose
/dev/sda, when I migrate the VMs to another server I have the problem
that device has to be re-attached, don't I? Or if the same device still
exists on the other server the VMs has that device still attached?


I've gotten confused about your exact setup and what you are testing, but one word of caution is to be sure not to mount the same file system twice as that is sure to lead to data corruption.
 



Thanks,
Jan


> I don't know if you are going to loose any fibre-channel advantages, but
> I figure you also reduce administrative complexity to dom0's only.
>
> - Joris
>
>
>


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>