0

My linux host connected to SAN with FC interface. It connect with one path, and see some luns, that can't access, because they need anohter path, not available to host.

On boot linux probe all lun he can see, get read error on unaccessible luns, and hangs there for a long-long time.

Is there a way to disable any access to some luns at boot time, and later?

I found a filters for device ignoration for LVM and MULTIPATH, but it not help during boot process.

Generally, lvm still affected too despite of filter, and gives me a IO error on every operation like lvdisplay and vgdisplay, but this is another question.

2 Answers 2

2

This is usually accomplished with LUN masking (usually on the array) or some combination of zoning and/or VSAN's on the switch (depending on vendor, topology, etc). Generally it's not a great idea to expose all of your LUN's to all of your hosts.

5
  • Unfortunately Oracle drop suport immediately after SUN acquiration to my ST2540 disk arrays, and it's impossible to buy licenses to security domains :( . It means I can't hide luns from servers. Jun 13, 2012 at 14:35
  • What about the FC switch itself? Do you have access to it and, if so, can you tell us which model it might be?
    – rnxrx
    Jun 13, 2012 at 14:55
  • It's kind of HP, but there I can manage only host-array, not host-ln permissions. I can't hide any lun in case I should represent at least one lun from array. Jun 15, 2012 at 5:47
  • HP doesn't make its own switches, and whatever switch it is will let you perform zoning if you can get admin access to it.
    – rnxrx
    Jun 15, 2012 at 6:22
  • Switch manufactured by Brocade. I can completely hide disk array from server by setting zones on switch. I can't hide some LUNs but present some other from same disk array. Aug 7, 2012 at 16:30
1

If you are seeing LUNs on a server that it doesn't need, you must adjust the LUN masking on the storage device. All HP storage devices that use LUNs allow for LUN masking. If you provide the model, we can probably look up a guide.

That said, the LUN masking is really done on the storage, not the switch. The switch manages which physical ports your server can see, not which LUNs get reported to its world wide name.

2
  • Unfortunately Oracle drop suport immediately after SUN acquiration to my ST2540 disk arrays, and it's impossible to buy licenses to security domains. Aug 7, 2012 at 16:33
  • If you can't find licenses on ebay or whatever, you'll need to replace the storage to fix the problem.
    – Basil
    Aug 8, 2012 at 17:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .