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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.