How to change the Read/Write State of an Online Logical Unit (LUN) in Red Hat Enterprise Linux?

Solution In Progress - Updated -

Issue

  • How to change the Read/Write State of an Online Logical Unit (LUN) in Red Hat Enterprise Linux?
  • LUN status changed at storage but it is not reflecting at OS.
mpath25 (360000970000298700992533030111111) dm-10 EMC,SYMMETRIX
[size=100G][features=1 queue_if_no_path][hwhandler=0][ro]       <<======
\_ round-robin 0 [prio=1][active]
 \_ 8:0:0:0  sdaa 65:160 [active][ready]
 \_ 7:0:0:0  sdb  8:16   [active][ready]
  • Rescaned scsi bus using following command, but still status didn't changed.
echo "c t l" >  /sys/class/scsi_host/hostH/scan

Environment

  • Red Hat Enterprise Linux 6

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