Unable to change Read/Write state of a LUN in RHEL8.

Solution Verified - Updated -

Issue

  • Unable to change Read/Write state of a LUN in RHEL8.
  • LUN state changed from RO to RW at storage, but the changes is not reflecting after scsi bus rescan.
# echo 1 > /sys/block/sdae/device/rescan
# echo 1 > /sys/block/sdbs/device/rescan
# echo 1 > /sys/block/sddg/device/rescan
# echo 1 > /sys/block/sdeu/device/rescan

# egrep -v "zz" /sys/block/{sdbs,sdae,sddg,sdeu}/ro    
/sys/block/sdbs/ro:0
/sys/block/sdae/ro:0
/sys/block/sddg/ro:0
/sys/block/sdeu/ro:0

Environment

  • Red Hat Enterprise Linux 8.1

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