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
Next revision Both sides next revision
linux_wiki:iscsi [2016/01/08 16:59]
billdozor
linux_wiki:iscsi [2016/01/08 17:00]
billdozor [Adding Disks]
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
  • linux_wiki/iscsi.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)