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

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


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: ramus56 <ramus56@xxxxxxxx>
  • Date: Sun, 8 May 2011 17:50:46 -0400
  • Delivery-date: Sun, 08 May 2011 14:51:30 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

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