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?

link|improve this question
pipe it through grep? – Tom O'Connor Dec 28 '11 at 0:12
or perhaps uniq – Tom O'Connor Dec 28 '11 at 0:12
feedback

migrated from stackoverflow.com Dec 27 '11 at 23:37

This question came from our site for professional and enthusiast programmers.

2 Answers

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.

link|improve this answer
feedback

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).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown