[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Exporting a PCI Device


  • To: "Jan Kalcic" <jandot@xxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.