How Create iSCSI Target Linux?
Contents

How add iSCSI target Linux?

Procedure 27.1. Create an iSCSI Target

  1. Install scsi-target-utils . ~]# yum install scsi-target-utils.
  2. Open port 3260 in the firewall. …
  3. Start and enable the target service. …
  4. Allocate storage for the LUNs. …
  5. Edit the /etc/tgt/targets. …
  6. Restart the target service. …
  7. Check the configuration.

How do I find the iSCSI target in Linux?

Steps

  1. Enter the following command to discover the iSCSI target: iscsiadm –mode discovery –op update –type sendtargets –portal targetIP. …
  2. Enter the following command to create all needed devices: iscsiadm –mode node -l all. …
  3. Enter the following command to see all the active iSCSI sessions: iscsiadm –mode session.
Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.

Share this article
Twitter Facebook Pinterest