It is highly likely you are looking for one of the following two things:

: Works with standard Microsoft Initiators and supports various partition formats like MBR and GPT. password for permanent data saving?

  • wipefs -a /dev/sdb

Issue 1: Discovery works but login fails (Authentication error)

  • Cause: Mismatched CHAP credentials or initiator name.
  • Fix: Double-check /etc/iscsi/initiatorname.iscsi and CHAP settings in targetcli.

Issue 3: Device disappears after reboot

  • Ensure open-iscsi service is enabled: sudo systemctl enable open-iscsi
  • Add node.startup = automatic in /etc/iscsi/iscsid.conf
/iscsi/iqn.2024-05.cakeos18:storage.target1/tpg1/portals create 0.0.0.0 3260
  • ) and follow the wizard to install the software as a Windows service. Target Configuration

    • open-iscsi (iscsiadm, iscsid)
    sudo iscsiadm -m node --login