A PCRE internal error occured. This might be caused by a faulty plugin

====== 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
packages:iscsi [2014/07/04 13:36]
admin
packages:iscsi [2016/09/09 15:58] (current)
admin [Adding an appropriate IP address]
Line 26: Line 26:
  
  
 +==== Adding an appropriate IP address ====
 +
 +Depending on the server'​s iscsi portal configuration,​ it might be necessary to add an appropriate IP address to the initiator'​s machine network interface (NIC). If this is required, here is how to do it, in this case temporarily adding the appropriate IP address to the eth0 interface ([[https://​www.garron.me/​en/​linux/​add-secondary-ip-linux.html|reference]]):​
 +
 +<​Code:​bash>​
 +> sudo ip address add 10.1.1.55/​24 dev eth0
 +</​Code>​
 +
 +Once done, the temporary IP address can be removed using:
 +
 +<​Code:​bash>​
 +> sudo ip address del 10.1.1.55/​24 dev eth0
 +</​Code>​
 ===== discover target ===== ===== discover target =====
 +
 <​code>​ <​code>​
-> iscsiadm -m discovery -t sendtargets -p <​10.0.0.50>​+sudo iscsiadm -m discovery -t sendtargets -p <​10.0.0.50>​
 10.0.0.50:​3260,​1 iqn.2013-05.world.server:​target00 10.0.0.50:​3260,​1 iqn.2013-05.world.server:​target00
 </​code>​ </​code>​
Line 34: Line 48:
 === Confirm status after discovery === === Confirm status after discovery ===
 <​code>​ <​code>​
-> sudo iscsiadm -m node -o show+> sudo iscsiadm -m node -o show [-n iqn.2013-05.world.server:​target00]
 # BEGIN RECORD 2.0-873 # BEGIN RECORD 2.0-873
 node.name = iqn.2013-05.world.server:​target00 node.name = iqn.2013-05.world.server:​target00
Line 61: Line 75:
 Associated iSCSI disks should show up on the machine. Associated iSCSI disks should show up on the machine.
  
-Disconnect iSCSI volume ​:+<color darkslateblue>​**Disconnect ​from node (unmounting ​iSCSI volumes):**</​color>​
 <​code>​ <​code>​
-> iscsiadm -m node -u+sudo iscsiadm -m node -u
 </​code>​ </​code>​
  
 === Confirm session === === Confirm session ===
 <​code>​ <​code>​
-> iscsiadm -m session -o show+sudo iscsiadm -m session -o show
 tcp: [1] 10.0.0.50:​3260,​1 iqn.2013-05.world.server:​target00 tcp: [1] 10.0.0.50:​3260,​1 iqn.2013-05.world.server:​target00
 </​code>​ </​code>​