Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|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
add comment

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.

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.