Package: aoetools
Version: 4-1

The aoe-mkshelf command is making devices based on 10 slots per shelf.
This is incorrect. The kernel is using 16 slots per shelf. This causes
problems if you attempt to use either a shelf other than 0 and a slot
higher than 9.

A quick proof of the problem is as follows.

dd if=/dev/zero bs=1024 count=1 seek=`expr 10 \* 1024` of=/tmp/test
losetup /dev/loop7 /tmp/test
vblade 1 1 eth0 /dev/loop7

aoe-discover
cd /sys/block/etherd!e1.1
cat dev

In that result you will see 152:272, but according to the block devices
created by aoe-mkshelf 156:272 is e1.7.

Since the majority of the tools seem to copies of what comes in the
kernel Documentation/aoe directory, I don't know if this was a debian
change or a earlier version. 

Could the small diff made
between /usr/src/linux/documentation/aoe/mkshelf.sh
and /usr/sbin/aoe-mkshelf be applied to fix the device creation problem.



-- 
Steven Critchfield <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to