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

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux