linux_wiki:iscsi

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:iscsi [2016/01/08 16:59]
billdozor
linux_wiki:iscsi [2019/05/25 23:50] (current)
Line 1: Line 1:
-====== Iscsi ======+====== iSCSI ======
  
 **General Information** **General Information**
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Enterprise Linux 6/7+  * Distro(s): Enterprise Linux 6/7
  
 ---- ----
Line 14: Line 14:
   - Get the iscsi initiator name on the client<code bash>cat /etc/iscsi/initiatorname.iscsi</code>   - Get the iscsi initiator name on the client<code bash>cat /etc/iscsi/initiatorname.iscsi</code>
   - Use the initiator name to configure the Host Group, LUN, and Host Affinity on your storage device. (Or send the initiator name to the storage admin)   - Use the initiator name to configure the Host Group, LUN, and Host Affinity on your storage device. (Or send the initiator name to the storage admin)
-  - Discover the available LUNs on the storage device<code bash>iscsiadm --mode discovery -t sendtargets --portal <storage-ip-address></code>+  - From the client, discover the available LUNs on the storage device<code bash>iscsiadm --mode discovery -t sendtargets --portal <storage-ip-address></code>
   - Start and enable the iscsi daemon   - Start and enable the iscsi daemon
     - EL6<code bash>service iscsid start     - EL6<code bash>service iscsid start
Line 20: Line 20:
     - EL7<code bash>systemctl start iscsid     - EL7<code bash>systemctl start iscsid
 systemctl enable iscsid</code> systemctl enable iscsid</code>
-  - Log-in to the LUN with the iscsi client<code bash>iscsiadm --mode node --targetname <iqn-LUN#-here> --portal <storage-ip-address>:<port> --login+  - Log-in to the LUN with the iscsi client<code bash>iscsiadm --mode node --targetname <iqn-LUN#-here> --portal <storage-ip-address>:<port> --login</code>
   - Create /etc/multipath.conf if it doesn't exist<code bash>mpathconf --enable</code>   - Create /etc/multipath.conf if it doesn't exist<code bash>mpathconf --enable</code>
   - Configure multipath<code bash>vim /etc/multipath.conf   - Configure multipath<code bash>vim /etc/multipath.conf
Line 57: Line 57:
   - Add mount entry to /etc/fstab   - Add mount entry to /etc/fstab
    
 +
 ---- ----
  
  • linux_wiki/iscsi.1452290359.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)