Discover the world with our lifehacks

How install iSCSI initiator on Linux?

How install iSCSI initiator on Linux?

To install the Linux software iSCSI initiator for iSCSI host attachment, set the iSCSI qualified name, target discovery, and authentication….Procedure

  1. Configure the iSCSI-initiator daemon by editing the /etc/iscsi file.
  2. Manage the software by using the chkconfig command and the service command.

How do I install an iSCSI disk in Linux?


  1. Edit the /etc/iscsi/initiatorname.iscsi file with vi command. For example: twauslbkpoc01:~ # vi /etc/iscsi/initiatorname.iscsi.
  2. Update the InitiatorName= parameter with the initiator name. For example:

How do I get a new iSCSI initiator name in Linux?

type in “iSCSI” in the “Search program and files” text box, select the “iSCSI Initiator” option, a window will open called “iSCSI Initiator Properties”, in the “Configuration” tab you will find the iQN code under “Initiator Name:”.

How do I install iSCSI-initiator-utils?

  1. 1 Install iscsi-initiator-utils. Install iscsi-initiator-utils package. $ sudo yum install -y iscsi-initiator-utils.
  2. 2 Connect to iSCSI target with iscsiadm. Connect to iSCSI target with iscsiadm.
  3. 3 Mount iSCSI target device on boot. Connect to iSCSI target.

Is iSCSI supported on Linux?

Internet SCSI (iSCSI) is a network protocol s that allows you to use of the SCSI protocol over TCP/IP networks. It is good alternative to Fibre Channel-based SANs. You can easily manage, mount and format iSCSI Volume under Linux. It allows access to SAN storage over Ethernet.

Where is iSCSI disk in Linux?

You can use either the sanlun command, the iscsiadm command, or the iscsi command to view the LUNs configured on your Linux host.

Where is my iSCSI target name Linux?

You can discover iSCSI target portals by using the internet storage name service (iSNS) method. You can connect to a specific portal on a discovered target by using the iscsiadm command. You can log out of a specific system target or you can log out of all established sessions.

How do I install an iSCSI drive?

Connect the iSCSI target with the Windows iSCSI initiator.

  1. Launch the iSCSI initiator at Control Panel > Tools.
  2. On the iSCSI Initiator Properties page, click Discovery.
  3. Enter the IP address of the NAS and then click OK.
  4. Click Targets and then select the available iSCSI targets that you want to connect.
  5. Click Connect.

How do I find the iSCSI port in Linux?

Determine the iSCSI port names using the # ifconfig -a command. Set the IP address for the iSCSI initiator ports. The initiator ports should be present on the same subnet as the iSCSI target ports. Note: Be sure to set the address for both iSCSI initiator ports.

What is iSCSI initiator and target in Linux?

In iSCSI terminology, the server that is serving out the ‘disk space’ is known as an iSCSI ‘Target’ and the system that is requesting/utilizing the disk space is known as the iSCSI ‘Initiator’. So in other words, an ‘Initiator’ requests block storage from a ‘Target’.

How create iSCSI target Linux?

Steps to setup iSCSI target

  1. Create the backing storage devices.
  2. Create the IQN and default target portal group (TPG).
  3. Configure one or more ACLs for the TPG.
  4. Create LUNs to provide access to the backing storage devices.
  5. Create a portal to provide a network interface that iSCSI initiators can connect to.

What is iSCSI in Linux?

iSCSI is an Internet Protocol (IP) based standard for providing block (hard drive) storage to other systems. iSCSI works in a client server model but uses different names to distinguish the client from the server.