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

Re: [Xen-users] Backend driver for I/O access

On 21/02/14 17:28, DJOMGWE TEABE Boris wrote:
> Thank you, how can I mount a physical disk on my Guest.

Please do not top-post.

> Le Vendredi 21 février 2014 17h14, Roger Pau Monné
> <roger.pau@xxxxxxxxxx> a écrit :
> On 21/02/14 16:22, DJOMGWE TEABE Boris wrote:
>> Any help on this would be greatly appreciated. 
>> I am using xen 4.2 and my dom0 OS is Ubuntu server 12.04. I  working on
>> I/O acces on guests OS. I am trying to modify my backend driver
>> (blkback) for I/O access but it seems as my Guest OS is not using it.
>> Can you please tell me how to start my Virtual Machine or my dom0 so
>> that the backend dirver (blkback) is used.
>> This is a copy of my VM configuration file (sorry in my first message I
>> put the wrong configuration file):
>> name = "vm.pv"
>> kernel = "/boot/vmlinuz-3.2.54"
>> ramdisk = "/boot/initrd.img-3.2.54"
>> extra = "root=/dev/xvda1 ro debug"
>> memory = 512
>> vcpus = 1
>> vif = [ 'bridge=xenbr0' ]
>> disk = ['phy:/usr/src/disk.raw,xvda1,rw']

Just change this to:

disk = ['phy:/dev/path/to/disk,xvda1,rw']

Where /dev/path/to/disk is the path to the block device you want to use
as storage of your VM.


Xen-users mailing list



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