Creating iSCSI targets

The iSCSI objects that we see in the main list represents iSCSI targets and their properties. Firstly, we will create a simple iSCSI target with default names. We can then delete this object and see how to create our own target with the correct naming convention:

/> iscsi/ create

This will create an iSCSI target and listen on the TCP port 3260. There will not be any LUNS or backstores connected, and the IQN (iSCSI Qualified Name) will be system generated. We can always add the backstore, but most likely, we want to use our own name. So, in this case, we will delete the object. The IQN on my system was generated as iqn.2003-01.org.linux-iscsi.redhat7.x8664:sn.ce1ebea336a2, but do not forget that we can use the Tab key completion. ...

Get Learning RHEL Networking now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.