User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:linux:start [2023/02/06 19:56] wikiadmincomputers:linux:start [2024/08/18 15:06] (current) wikiadmin
Line 1: Line 1:
 ====== Linux ====== ====== Linux ======
  
-=== iSCSI Initiator === +I primarily use Debian based distros but often use others such as Mint, Ubuntu, and Oracle Linux. 
-== Oracle Linux == + 
-  - Install the package <code># dnf install iscsi-initiator-utils</code> +{{indexmenu>:computers:linux#1|js navbar nocookie}}
-  - Discover targets <code># iscsiadm -m discovery -t sendtargets -p SCSI_TARGET_SERVER</code> +
-  - Display target information <code># iscsiadm -m discoverydb -t st -p SCSI_TARGET_SERVER</code> +
-  - Establish a session <code># iscsiadm -m node -T iqn.XXX... -p SCSI_TARGET_SERVER:3260 -l</code> +
-  - Verify session <code># iscsiadm -m session -P 3</code> +
-  - When adding an iSCSI LUN to the fstab, use the _netdev option<code>UUID=xxx... /MP ext4 _netdev 0 0</code> +
-  - Log out of session<code># iscsiadm -m node -T iqn.XXX... -p SCSI_TARGET_SERVER:3260 --logout</code> +
-  - Remove target from database<code># iscsiadm -m node -T iqn.XXX... -p SCSI_TARGET_SERVER:3260 -o delete</code> +
-  - If target server has gone away, entries can be removed manually<code>rm -rf /var/lib/iscsi/nodes/TARGET</code>+

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information