Re: [RAID1 Bug] bio too big device md0 (248 > 200) (2.6.9-rc2-mm1)

From: Neil Brown
Date: Sun Sep 19 2004 - 18:55:10 EST


On Monday September 20, raphael.rigo@xxxxxxxxxxxxxxxxx wrote:
> Hello,
> kernel version : 2.6.9-rc2-mm1
> i'm using a RAID1 array over 2 disks : one ATA, and another one in
> "SATA" (if we can call the ICH5 a real SATA controller).
> During array synchronisation, I get "bio too big device md0 (248 > 200)"
> error, which I fixed in doing
> //#define RESYNC_BLOCK_SIZE (64*1024)
> #define RESYNC_BLOCK_SIZE PAGE_SIZE
> in raid1.c, following the instruction on an old thread (for kernel 2.6.0).
> I would like to know if there is any better fix now, else then this mail
> will act as a remainder ;)

This is not (as far as I can tell) a raid1 bug.

bio too big device md0

means that someone sent a request to md0 that was too large. (124K
instead of the max 100K).

raid1 never does that. It send requests to the underlying devices.
So if you make your raid1 from hde and sda, then a message like
bio to big device sda
might indicate a problem with raid1.

Are you sure you quoted the error message correctly?
If you, how was the array being used? What filesystem?

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/