Unlike CIFS, NFS, and AFS which are files based network sharing protocols, iSCSI is a block based network protocol which can present a LUN to a desktop, laptop, or server that appears almost identical to an internal disk drive.
iSCSI is a much faster protocol than CIFS as well. In this tutorial, I discuss creating a storage LUN on a QNAP NAS and mapping this LUN as an iSCSI target.
Next, I describe how to configure an iSCSI initiator on Windows and on Ubuntu to access the iSCSI mapped LUN. I include the steps to create a partition table, create a partition, and format the partition in both Windows and Ubuntu.
To install iSCSI on Ubuntu:
sudo apt -y install open-iscsi
Query the target:
sudo iscsiadm -m discoverydb -t sendtargets -p 1.2.3.4 -D
After discovery:
sudo iscsiadm -m node -o show
Edit the initiator file and add your targets as in the video:
sudo nano /etc/iscsi/initiatorname.iscsi
Log into the target:
sudo iscsiadm -m node --login
----
Come Visit us at: [ Ссылка ]
Discourse: [ Ссылка ]
RocketChat: [ Ссылка ]
![](https://s2.save4k.ru/pic/U6JCcNgxa3Q/maxresdefault.jpg)