My SAN reports the same targets with multiple IP addresses. Is there a way to hide some of those IPs so I don't see the same targets multiple times?
Asked
Active
Viewed 264 times
0
-
pipe it through grep? – Tom O'Connor Dec 28 '11 at 00:12
-
or perhaps uniq – Tom O'Connor Dec 28 '11 at 00:12
-
What are you using SCST,LIO or anything else? you can put allowed_portal attribute which will restrict target to specific IP address. – nagato Aug 18 '14 at 06:53
2 Answers
0
You should be able to bind iscsi targets to specific IP addresses and isolate that way. This is commonly known as target portal groups. Of course you can always use vlans to expose only desired vlans to your iscsi initiators. Combination of TPGs and vlans are most commonly the way target exposure is limited.

slashdot
- 651
- 5
- 7
0
If targets are presented through different networks this might be because you want to provide some redundancy. MPATHD can be used to map them to a single target. You just have to change the command mpathd uses to identify the drives a little bit (i.e. use the iSCSI-name without IP to identify the lun).

Nils
- 7,695
- 3
- 34
- 73