Skip to contentSkip to conversation

mdadm: bitmaps not supported by this kernel?

DISCUSSION Michael Tokarev 2 participants 2 messages Oct 25, 2006 – Oct 26, 2006 MD RAID

lore
Share & tools
lore
#0 lore raw

Another 32/64 bits issue, it seems.
Running 2.6.18.1 x86-64 kernel and mdadm 2.5.3 (32 bit).

# mdadm -G /dev/md1 --bitmap=internal
mdadm: bitmaps not supported by this kernel.
# mdadm -G /dev/md1 --bitmap=none
mdadm: bitmaps not supported by this kernel.

etc.

Recompiling mdadm in 64bit mode eliminates the problem.

So far, only bitmap manipulation is broken this way. I dunno if other things are broken too - at least --assemble, --create, --stop, --detail works.

Thanks.

/mjt

#1 lore raw
Quoted 6 lines · Michael Tokarev

Another 32/64 bits issue, it seems.
Running 2.6.18.1 x86-64 kernel and mdadm 2.5.3 (32 bit).

# mdadm -G /dev/md1 --bitmap=internal
mdadm: bitmaps not supported by this kernel.
Quoted 6 lines
# mdadm -G /dev/md1 --bitmap=none
mdadm: bitmaps not supported by this kernel.

etc.

Recompiling mdadm in 64bit mode eliminates the problem.

I think this is due to the bug I reported a month or so ago. We were missing a COMPATIBLE_IOCTL entry for the GET_BITMAP_FILE ioctl. Neil has sent in the patch.

Quoted 3 lines

So far, only bitmap manipulation is broken this way. I dunno if other things are broken too - at least --assemble, --create, --stop, --detail works.

Yeah, I think everything else works.

--
Paul