Getting error" iscsiadm: Received iferror -5: Input/output error" when trying to discover new ISCSI devices

Solution Verified - Updated -

Issue

  • Getting below errors when trying to discover new ISCSI devices:
# iscsiadm --mode discoverydb -I <iface-name> --type sendtargets --portal <ip[:port]> --discover
iscsiadm: Received iferror -5: Input/output error.
iscsiadm: Connection to discovery portal 10.111.11.111 failed: encountered connection failure
iscsiadm: Received iferror -5: Input/output error.
iscsiadm: Connection to discovery portal 10.111.11.111  failed: encountered connection failure
iscsiadm: Received iferror -5: Input/output error.

Environment

  • Red Hat Enterprise Linux
  • ISCSI

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