Getting error "kernel: blk_rq_check_limits: over max size limit" when changing the max_sectors_kb value
Issue
-
We are receiving the following errors when accessing LUNS.
This only happens when setting/sys/block/dm-\*/slaves/sd\*/queue/max_sectors_kbto128.Jun 14 14:54:55 server kernel: blk_rq_check_limits: over max size limit. Jun 14 14:54:55 server kernel: blk_rq_check_limits: over max size limit.This does not occur when we leave the
max_sectors_kbat512.
the error is causing path failures and paths fail over. -
With
kernel-2.6.32-642.el6and later, there is a slightly different error logged:Jun 14 09:33:38 testhost kernel: blk_cloned_rq_check_limits: over max size limit. Jun 14 09:33:38 testhost kernel: blk_cloned_rq_check_limits: over max size limit.
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
- DM-Multipath
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
