raid10 LVM bug - patches exists.

bmcdenmark

Member
Jul 7, 2011
2
0
21
[Solved] raid10 LVM bug - patches exists.

Hi everyone, first post here.

To start with, I tried solving this myself and failed so that's why I'm posting here - I'm aware you guys do not support software raid.

We have a 2 server setup, with a 4 drive software raid-10 setup, on top of the raid drive we use DRBD (followed the excellent guide from the wiki) and syncs between the 2 servers. We use LVM on top of DRBD0. Everything seems fine, but when creating a VM with a partition on the DRBD. It fails writing to it.
The Master server gives out these error messages.

md/raid10:md3: make_request bug: can't convert block across chunks or bigger than 64k 2058844 18
md/raid10:md3: make_request bug: can't convert block across chunks or bigger than 64k 2058953 28

Long story shot, it seems there's a bug in the raid10 module and in the DM stuff. It's already fixed in later debian kernels and red hat kernels.

See this post.

http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg238104.html

and here from the red hat guys

https://bugzilla.redhat.com/attachment.cgi?id=342638&action=diff

We use 2.6.35, I also tried the latest 2.6.35-2-pve.

Any changes of this being patched up? or should we just forget about software raid 10.

Great software btw, I'm hoping to convert our datacenter servers into this if I can get it working properly at our local servers.

/Mike, BMC Denmark



It seems like there's was something wrong with our installation - we reinstalled, and everything appeared to work, so apparently the proxmox kernels have already been patched to working order. (we used 2.6.35-1 kernel.)

Thanks again.

/Mike, BMC Denmark
 
Last edited: