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@lists.xensource.com http://lists.xensource.com/xen-users
Dustin Marquess
2011-May-09 18:26 UTC
Re: [Xen-users] XCP 1.0, Guest access to local device.
>From what I can tell, XCP doesn''t normally offer this functionality,although I was able to do exactly that using a USB drive, as XCP seems to treat removable drives differently. Can somebody confirm that this isn''t supported? It seems like it should be possible with some SM hackery, since it works for removable! -Dustin On Sun, May 8, 2011 at 2:50 PM, ramus56 <ramus56@live.com> wrote:> > 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Possibly Parallel Threads
- ISSUE EXPORTING VM FROM XEN 3.2.1 to XCP 0.5 WITH XVA.PY
- XCP - Reclaim diskspace from snapshots on xcp 1.0
- XCP: disk2vhd -> xenconvert (to ovf) -> xe vm-import
- Bug#687319: xcp-storage-managers: CDROM VDIs don't hotplug in guests because ISO SRs are misconfigured
- Bug#674088: xcp-xapi: vbd-plug to dom0 does not creates /dev/xvd* devices in dom0