[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



>> 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]