aoe-stat only sees vblade minor numbers 0-15

Bug #703796 reported by Cladmin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aoetools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: aoetools

I have two Ubuntu 10.4.1 LTS servers installed with the aoetools, vblade and vblade-persist packages added to both.

I have set up LVM partitions on both machines that are being exported using vblade-persist, using various major and minor numbers. I'm then using aoetools on each machine to view the vblades on the other one.

What I found interesting was that although I could export partition targets using any minor number (it is reported that one could use between 0 and 255), I found that on the initiator machine, aoe-stat only reports block devices if the minor number is between 0 and 15.

What was strange was that other vblades with minor numbers > 15 (e.g. 16, 19, 20, 99 etc) could be viewed correctly on the initiator machine using aoeping. However aoe-stat refused to acknowledge their existence, even after forcing an aoe-discover.

I was expecting the aoe initiator to be able to view any minor number on the vblade target.

I am using the following packages

aoetools 30-3ubuntu1
vblade 20-1ubuntu1
vblade-persist 0.6-2

on the 2.6.32.27-generic kernel.

Revision history for this message
Cladmin (cladmin) wrote :

update to the below.

I have a separate virtualised instance of OpenFiler v2.3. On the OpenFiler, vblades from the Ubuntu servers with minor numbers 0 up till 254 can be viewed by aoe-stat (but not 255). This is completely different behaviour from the aoe-stat behaviour experienced on the Ubuntu installation.

The OpenFiler 2.3 is based on RedHat with kernel version 2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686. I couldn't determine the package version of aoetools, however /sys/module/aoe/parameters/version contains the number '64'.

On my Ubuntu 10.4.1LTS machines, the file /sys/module/aoe/version contains the number '47'.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.