Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Dec 27 '11 at 23:37

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

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
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 6:53

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

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

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.