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

[Xen-users] XCP 1.0, Guest access to local device.

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] XCP 1.0, Guest access to local device.
From: ramus56 <ramus56@xxxxxxxx>
Date: Sun, 8 May 2011 17:50:46 -0400
Delivery-date: Sun, 08 May 2011 14:51:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcwNx8VLbyI7p0CeQ+yu0pVgBX1ilw==
I'm looking to expose a(several) drive "/dev/sda" that is physically to the
XCP host to a pv guest running locally. 
I know this would tie the VM, which lives in a remote SR, to this specific
XCP host that this local disk. 

I'm not looking to create a VHD file on this local drive and use it as a
disk in the VM.  
I'm looking to expose entire physical disks to the guest to run ZFS RAID
operations on them.


Before XCP I would add a line like this to the guest config file  to expose
a local drive.

disk = [ 'phy:/dev/vg0/filesrversystem,xvda1,w', 'phy:/dev/sda,xvda2,w' ]

or 

xm block-attach myhost phy://dev/sda /dev/xvdc w


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

<Prev in Thread] Current Thread [Next in Thread>