What is the default max_sectors_kb limit in RHEL 7 and 8?

Solution Verified - Updated -

Issue

  • We have a RHEL 7 server with couple of SAN devices which showed max_sectors_kb count set to 512 KB:

    # grep . /sys/block/sd*/queue/max_sectors_kb
    /sys/block/sda/queue/max_sectors_kb:512
    /sys/block/sdb/queue/max_sectors_kb:512
    
    # grep . /sys/block/sd*/queue/max_hw_sectors_kb
    /sys/block/sda/queue/max_hw_sectors_kb:32767
    /sys/block/sdb/queue/max_hw_sectors_kb:32767
    

    But after updating it to RHEL 8, the same devices show max_sectors_kb set to 1280 KB:

    # grep . /sys/block/sd*/queue/max_sectors_kb
    /sys/block/sda/queue/max_sectors_kb:1280
    /sys/block/sdb/queue/max_sectors_kb:1280
    
    # grep . /sys/block/sd*/queue/max_hw_sectors_kb
    /sys/block/sda/queue/max_hw_sectors_kb:32767
    /sys/block/sdb/queue/max_hw_sectors_kb:32767
    
  • What is the default max_sectors_kb limit in RHEL 7 and 8?
    Is there a kernel change which affected the above value?

Environment

  • Red Hat Enterprise Linux 7, 8, 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content