Update value on driver level

  1. Check current value:
# scsimgr get_attr -N "/escsi/esdisk" -a max_q_depth

        SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE : "/escsi/esdisk"

name = max_q_depth
current = 8
default = 8
saved =
  1. Check current values of individual LUNs:
# scsimgr get_attr all_lun -a max_q_depth
  1. Set and save the new value on driver level:
# scsimgr set_attr -N  "/escsi/esdisk" -a max_q_depth=20  
Value of attribute max_q_depth set successfully

# scsimgr save_attr -N  "/escsi/esdisk" -a max_q_depth=20
Value of attribute max_q_depth saved successfully
  1. Check the setting again:
# scsimgr get_attr -N "/escsi/esdisk" -a max_q_depth

        SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE : "/escsi/esdisk"

name = max_q_depth
current = 20
default = 8
saved = 20
  1. Check current values of individual LUNs:
# scsimgr get_attr all_lun -a max_q_depth

Leave a comment