From: Alex Buell <alex@fu...> - 2008-10-06 16:23:25
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-22.214.171.124 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
http://www.kernel.org), it would certainly filter down to distributions.
Junior Linux Systems Administrator
web | http://www.fubra.com A: Manor Coach House
email | alex@... : 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.
From: Ed Cashin <ecashin@co...> - 2008-10-06 19:24:11
On Mon, Oct 06, 2008 at 04:47:02PM +0100, Alex Buell wrote:
> But it also would be a good idea if someone would get the latest
> kernel aoe version into the mainline Linux kernels (from
> http://www.kernel.org), it would certainly filter down to distributions.
That's something I'm working on. I plan to change the way changes are
pushed to kernel.org, so that they are pushed much more often.
Ed Cashin <ecashin@...>
Get latest updates about Open Source Projects, Conferences and News.