Unable to change queue parameter like nr_requests, max_sectors_kb for nvme device

Solution Verified - Updated -

Issue

  • When changing the parameter of /sys/block/nvme1/queue/nr_requests from 128 to 512 the system outputs errors like:

    # echo 512 > /sys/block/nvme1/queue/nr_requests
    -bash: echo: write error: Invalid argument
    
  • When changing the parameter of /sys/block/nvme1/queue/max_sectors_kb from 512 to 1024 the system outputs errors like:

    # echo 1024 > /sys/block/nvme0n1/queue/max_sectors_kb
    -bash: echo: write error: Invalid argument
    

Environment

  • Red Hat Enterprise Linux 4 (RHEL)
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Intel PCIe Data Center (DC) SSD NVME controller

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