Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server (RHEL 5.5, 2.6.18-92.1.6.el5) connected to two SANs by multiple paths. But the server's only seeing one path at a time. The only exceptions are the controllers from my HP EVA SAN, as you can see below (which indicates correct zoning). Sometimes when I reboot the server, everything will switch to the other path, but it has never (that I know of) switched while the server is up and running.
[root@cobra ~]# lsscsi
[0:0:0:1] disk NETAPP LUN 7320 /dev/sda
[0:0:0:2] disk NETAPP LUN 7320 /dev/sdb
[0:0:2:0] storage HP HSV210 5000 -
[0:0:2:6] disk HP HSV210 5000 /dev/sdc
[0:0:2:7] disk HP HSV210 5000 /dev/sdd
[0:0:2:8] disk HP HSV210 5000 /dev/sde
[0:0:2:9] disk HP HSV210 5000 /dev/sdf
[0:0:3:0] storage HP HSV210 5000 -
[1:0:2:0] storage HP HSV210 6220 -
[1:0:3:0] storage HP HSV210 6220 -
[root@cobra ~]#
I have triple-checked the zoning and masking/presentation, and everything looks correct. I'm working this through a paid support contract, too, but they're proving useless. Any ideas?
My multipath configuration is below, but I think the root problem is at a lower level. I should be seeing more devices on my HBA's. There aren't currently multiple paths for multipathd to multipath.
The following is the multipath.conf that I'm using. It's the one recommended by NetApp and the one that I'm using on most of my other servers (and working fine there).
Please put configs / code output in code tags. (See my sig.)
Has the multipath.conf you posted above ever worked on the borked host? IOW, were you seeing the correct number of paths at any point, and then things stopped working?
Also, is a Brocade switch connecting host to SAN? (If so, have you run diagnostics there?) How difficult would it be to temporarily "open things up" for zoning?
Given all the details you have supplied, and depending on the answers to the above, this sounds like it could be a physical issue.
This server has never (to my knowledge) seen multiple paths. It's been running for a while (a few months) with single paths, and I'm trying to get multipath set up for the first time.
I have tried different cables, different SFP's, and different ports on the switch (yes - Brocade). I wouldn't rule out a hardware issue completely, but it's weird that both paths work just fine - I just have to reboot to switch from one path to the other. I've tried to open up the zoning as much as possible, but based on the fact that I can get both paths to work without changing any zoning/masking/presentation, I don't know what else to check in that area. I haven't run diagnostics there yet, but if you think it's worthwhile, I can follow that lead.
Given that multipath(8) is 1) not seeing more than one path; 2) not reporting any errors, I think it would be a good idea to see what you can learn from the switch. I don't have my Brocade documentation handy, but I believe you can view logs and other info using "supportsave" (or some such).
Wish I had a better lead for you. I will say that I've bumped into some rather vexing issues with Brocade switches, where (even after replacing SFPs and fibre cables) the entire unit had to be replaced to resolve the problem. In that case, though, the symptoms were manifesting themselves in obvious ways. There were Brocade switch events in the logs, and the ports would go offline and then mysteriously come back online.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.