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

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
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. –  Igor Velkov Jun 13 '12 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 '12 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. –  Igor Velkov Jun 15 '12 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 '12 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. –  Igor Velkov Aug 7 '12 at 16:30
add comment

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.

share|improve this answer
    
Unfortunately Oracle drop suport immediately after SUN acquiration to my ST2540 disk arrays, and it's impossible to buy licenses to security domains. –  Igor Velkov Aug 7 '12 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 '12 at 17:14
add comment

Your Answer

 
discard

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.