sg3_utils: loglevel adjustment fails with "log level '0' out of range [0, 7]"

Solution Verified - Updated -


  • scsi_logging_level from sg3_utils fails with:

    $ scsi_logging_level -s -a 0 | cat -n
       1  scsi_logging_level: log level '0' out of range [0, 7]


  • Red Hat Enterprise Linux (RHEL) 7.7
  • sg3_utils

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