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.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:iscsi [2014/10/15 12:53] admin [discover target] |
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> | ||
> sudo iscsiadm -m discovery -t sendtargets -p <10.0.0.50> | > sudo iscsiadm -m discovery -t sendtargets -p <10.0.0.50> | ||
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 |