What is targetcli ? How to setup iscsi target in RHEL7 using "targetcli" command ?

Solution Verified - Updated -

Issue

  • What is targetcli ? How to configure iscsi target in RHEL7 using targetcli command ?
  • How to assign an iscsi LUN using targetcli
    • How to assign a same LUN to multiple iscsi clients. For example as a shared storage for cluster nodes.
    • How to extend the size of the LUN from targetd server
    • How to assign more than one LUNs from targetd server.
    • How to assign LUNs to more than one iscsi client.

Environment

  • Red Hat Enterprise Linux 7
  • ISCSI
  • targetcli

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