We help IT Professionals succeed at work.

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.
Comment
Watch Question

Distinguished Expert 2019

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

Author

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.
Distinguished Expert 2019

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

Author

Commented:
How do i enable that? I have enabled MPIO in Windows Server 2012 R2.
Distinguished Expert 2019

Commented:
Depends which HBA you have but it is set in the card's BIOS utility during POST.

Author

Commented:
HPAJ764A This is the HBA I have used. That I have not done in BIOS.
Distinguished Expert 2019

Commented:
That's FC, not SAS so multi-lun is enabled anyway.

Author

Commented:
What could be the issue? of drives no appearing on the Disk management.
Distinguished Expert 2019

Commented:

Author

Commented:
I have updated the driver, now I want to try another server. and will update.
Distinguished Expert 2019

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

Author

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.
Distinguished Expert 2019

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

Author

Commented:
Thank you, should i only use one LUN? so its dual path but one drive.
Distinguished Expert 2019
Commented:
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.

Author

Commented:
Thank you for all the help.