This protocol is used to make a connection to a storage device, server and client.

Installation

apt-get install vmfs-tools
apt-get install open-iscsi

How to use

step 1

This scans for the target name of the iscsi

nmap -sV --script=iscsi-info -p <iscsi port> <target IP>
sudo iscsiadm -m discovery -t sendtargets -p <target IP>:<iscsi port>

step 2

This logins to the iscsi protocol and add it to your block devices example for targetName: “iqn.1564-10.com.synology:fxsdzeeer-102”

sudo iscsiadm -m node --targetname=<targetName> --login

step 3

Check for the new block device addes and mounts it using vmfs Watch out can use normal mount because of mounted filesystem

lsblk
sudo vmfs-fuse /<block device> /<place to mount>