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

Re: [Xen-users] Re: XAPI on debian - sr-create issue

Hi Jon,

Nice one. I can confirm it works at my side too, successfulyl plugged/unpluged vbd to dom0,
including the ones on my ocfs2 storage.


-- Plugging a vbd from local storage

root@xen-blade13:~# xe vbd-plug uuid=92a3b3bc-8b48-b13d-a53c-891c10fba1b9

[dmesg result]

[ 272.585209] block tda: sector-size: 512/512+0 capacity: 62914560 discard: 0+0 flush: 0x0 [ 272.656198] xen-blkback:ring-ref 9, event-channel 90, protocol 1 (x86_32-abi)
[  272.664439] blkfront: xvda: barrier or flush: disabled
[  272.666350]  xvda: xvda1

[trying to write to it]

root@xen-blade13:~# dd if=/dev/zero of=/dev/xvda bs=4096k count=1000 oflag=direct
202+0 records out
847249408 bytes (847 MB) copied, 11.5655 s, 73.3 MB/s



-- Plugging a vbd from ocfs2 storage (only gigabit link atm, will be 10gig soon)

root@xen-blade13:~# xe vbd-plug uuid=a0629baa-60d7-0c8a-f7b2-69b1ed27985c

[dmesg result]

[ 396.784280] block tdb: sector-size: 512/512+0 capacity: 41943040 discard: 0+0 flush: 0x0 [ 396.858781] xen-blkback:ring-ref 10, event-channel 92, protocol 1 (x86_32-abi)
[  396.864828] blkfront: xvdb: barrier or flush: disabled
[  396.866592]  xvdb: unknown partition table

[trying to write to it]

root@xen-blade13:~# dd if=/dev/zero of=/dev/xvdb bs=4096k count=1000 oflag=direct
232+0 records out
973078528 bytes (973 MB) copied, 13.2006 s, 73.7 MB/s


Unplugging also works, but leave this entry in the dmesg:

[ 1072.380954] WARNING: g.e. still in use!
[ 1072.381029] WARNING: leaking g.e. and page still in use!

I don't know if this is relevant to something bad. Anyone knows what it means ? Should it be ignored ?

Thanks a lot for your work.
I'm now going to test the network things. Talking about this, does it makes sense to use standard bridged networking when openvswitch is available ? Looks to me like in XCP and XenCenter beta (project boston)
 it has been replaced by openvswitch.

The openvswitch version provided by the debian sid repository contains a kernel module that does not recompile compile against a 3.0.0 kernel, it has checks that looks for a "2.6" in kernel version.

So I have built the latest openvswitch version from the git repo as debian packages and vswitch is up
and running on my sandbox.

Any lead on how to use openvswitch layer with xapi on debian ?

The file /usr/src/openvswitch.last/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py
exists, but how to tell xapi to use this instead of bridge ?

I'm maybe going a bit too fast about this, but I'm ready to test it :)

Cheers,
Sébastien


On 07/21/2011 02:10 AM, Jonathan Ludlam wrote:
I've uploaded a new deb, which Works For Me. Give it a spin and see how it goes!

Jon

On 20 Jul 2011, at 23:03, Sébastien RICCIO wrote:



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