Hi!

I've been working with AoE on Linux and Solaris. Today I ran into a
rather strange problem with exporting drives from Solaris to Linux with
the AoE kernel module running on Centos 5.1. Assigning values greater
than 15 to the device minor failed to get the drives exported to Linux.
On investigating this with tcpdump and another program that I
wrote named aoesniffer (the sources for this will be made available
in the near future, it's been ported to Solaris from Linux), I
discovered that the major and minor device numbers would somehow get
trashed if the device minor was greater than 15. 

I've looked at the AoE specification from CORAID, and it does explicitly
state that I can use values up to 254 for minor device numbers and
values up to 65534 for major device numbers. Yet this was not the case
with the Linux kernel aoe modules that I was using for this project. 

Then I had an idea and checked the version on the aoe kernel modules.
It turns out that on Centos 5.1, it only has version 22, whilst with
the Gentoo distribution, gentoo-sources-2.6.25-r7 has version 47, and
vserver-sources-2.2.0.6 has version 32. 

I upgraded to aoe module version 62, and everything *just* worked.
Thought you might like to know this for future reference. 

I have filed bug reports with Gentoo to get them to upgrade the kernel
aoe module to 62. 

But it also would be a good idea if someone would get the latest
kernel aoe version into the mainline Linux kernels (from
www.kernel.org), it would certainly filter down to distributions.

Thanks,
-- 
Regards,
Alex

Junior Linux Systems Administrator
Fubra Ltd

web    | www.fubra.com               A: Manor Coach House
email  | [EMAIL PROTECTED]               : Church Hill
phone  | +44 (0)844 816 0000          : Aldershot
fax    | +44 (0)844 816 9999          : Hampshire GU12 4RQ

Fubra is a company limited by shares and registered in England and
Wales with number 3967214 at Anstey Park House, Anstey Road, Alton,
Hampshire, GU34 2RL. We are registered for VAT with number GB733667024,
and as a data controller with number Z5193400. We are authorised and
regulated by the FSA with number 457679.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to