MSA 2040 connecting to Server directly

MSA 2040 SAN + HBA card+Windows 2012 R2 Server. Drives do not appear in Disk Management. The SAN Storage is connected directly to server port A1 and B1 to HBA card, SFP+ all active, I can see initiators but when i create drives they do not appear on the server. Might be missing something here.
LVL 1
skywalker7Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

andyalderSaggar maker's framemakerCommented:
Have you mapped the LUN to the host? see "Changing a volume’s explicit mappings" in https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c05075467#N1018F for example.
skywalker7Author Commented:
Yes I have mapped, I have followed this to create a volume and map it as LUN 1 but still I cannot see it on Disk Management. Rebooted both MSA and server. Let me know if you want any other info.
andyalderSaggar maker's framemakerCommented:
If it is SAS host connect you have to enable milti-LUN under the  OS/driver as SAS HBAs only scan for LUN0 by default.
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

skywalker7Author Commented:
How do i enable that? I have enabled MPIO in Windows Server 2012 R2.
andyalderSaggar maker's framemakerCommented:
Depends which HBA you have but it is set in the card's BIOS utility during POST.
skywalker7Author Commented:
HPAJ764A This is the HBA I have used. That I have not done in BIOS.
andyalderSaggar maker's framemakerCommented:
That's FC, not SAS so multi-lun is enabled anyway.
skywalker7Author Commented:
What could be the issue? of drives no appearing on the Disk management.
andyalderSaggar maker's framemakerCommented:
skywalker7Author Commented:
I have updated the driver, now I want to try another server. and will update.
andyalderSaggar maker's framemakerCommented:
Some of these HBAs no longer do FC/AL (which is what is used for direct attaching) and only work in switched fabric. You can verify that easily enough in BIOS as you can set the order it tries to initiate (loop first or fabric first). However that's very unlikely as you can see the WWN of the server on the MSA.

What do you see in MPIO? , presumably it is dual attached so MPIO is needed to stop you seeing the virtual disk twice.
skywalker7Author Commented:
I set up another server and now i can see the drives, but I see 2, I thought the MPIO will take care of the second mapping. I map them with Controller A and Controller B, and i see 2 drives in disk management. thanks for all the help.
andyalderSaggar maker's framemakerCommented:
MPIO should sort out the dual paths but it's not automatic, you have to configure it in control panel.
mpclaim -v will list out the MPIO config.

If you made a 2nd LUN for the 2nd host you may be seeing both LUNs on one host.
skywalker7Author Commented:
Thank you, should i only use one LUN? so its dual path but one drive.
andyalderSaggar maker's framemakerCommented:
A single logical drive should just have one LUN, it uses ALUA so the LUN can appear an any controller. See http://www.pearsonitcertification.com/articles/article.aspx?p=2819032 if you want a long read.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
skywalker7Author Commented:
Thank you for all the help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Storage

From novice to tech pro — start learning today.