[linux-lvm] Error - "device-mapper: request is larger than bl ock size b_size"

ERG at e-r-solutions.com ERG at e-r-solutions.com
Thu Aug 22 20:17:01 UTC 2002


>> device-mapper: request is larger than block size b_size (2048), block
size
>> (512)

>Sorry about this, it's an overly verbose sanity check that I put in
>when we were having problems with xfs writing misaligned blocks.  I've
>knocked it out of the latest bitkeeper repository...
[snip]
>Alternatively just knock out this if statement from dm.c:
>
>        /*
>         * Sanity checks.
>         */
>        if (bh->b_size > block_size)
>                DMERR("request is larger than block size "
>                      "b_size (%d), block size (%d)",
>                      bh->b_size, block_size);
>
>
>If you are using xfs please be aware that you will need to use the new
>journal log format to avoid misalignment problems (search this list
>for previous posts).

If I get the XFS alignment ironed out, will I cease seeing these
device-mapper warnings?

In other words, can I use those warnings as a test of my log alignment
correctness?


Thank you,
Manuel Gomez




More information about the linux-lvm mailing list