How to Setup iSCSI Server (Target) and Client (Initiator) on Debian 9

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Rob Turner

Rob Turner is an avid Debian user as well as many of the derivatives of Debian such as Devuan, Mint, Ubuntu, and Kali. Rob holds a Masters in Information and Communication Sciences as well as several industry certifications from Cisco, EC-Council, ISC2, Linux Foundation, and LPI.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

4 Responses

  1. Pepe says:

    Hi, a correction:

    # lvcreate -l 100%FREE tecmint_lun1 tecmint_iscsi
    

    it should be:

    # lvcreate -l 100%FREE -n tecmint_lun1 tecmint_iscsi
    
    • Rob Turner says:

      Pepe,

      Thanks. Had that in the screenshot and explanation of the command but must’ve missed getting it into that one area! We’ll get it fixed.

  2. ed says:

    No success. This line worked: iscsiadm -m discovery -t st -p 192.168.1.26, returning 192.168.1.26:3260,1 iqn.2018-06.com.zyxel:nas540-target-1.rjrdaugc.

    Nothing else worked, after editing the files and restarting services, nothing happened, no errors, nothing.

    Is there something unique about a Zyxel NAS?

  3. Mohamed says:

    I am Mohammad Ali and i am very interested in this article to setup one in my server.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.