Proxmox and MSA SAS

popoche28

New Member
Sep 6, 2023
8
0
1
Hi everybody,

Do you know if it's possible to connect PVE to an HP MSA storage with SAS? I found some tips for iSCSI connexion, but not for SAS.

Thanks in advance.

Regards,
 
Thanks for your answers ^^ Now is it possible to give me links to add the drivers I need to add and how to configure SAS to my PVE instance?
 
Thanks for your answers ^^ Now is it possible to give me links to add the drivers I need to add and how to configure SAS to my PVE instance?
It's Linux so everything works out of the box or you have a really hard time to get it working. In this case the former is true, so plug & play. If you want to use Multipathing, you need to install ... just look at this.
 
Thanks @LnxBil but in your link I didn't find how to connect my SAS attachement to my PVE. I know the MSA is working fine because when I install VMWare immediatly the attachement are found.
 
Yes, it was only for multipath access if necessary.


So, how do you determine that it is not working? It's plug & play.
Because I don't see any other disks on my PVE
 

Attachments

  • erreur pve.PNG
    erreur pve.PNG
    47.7 KB · Views: 47
On my vSphere I see MegaRAID 12GSAS/PCIe Secure SAS39xx with lsi_mr3 driver
Thats the key. since this is a raid controller and not an HBA, you'd need to "map" the luns presented by your MSA to the host. map is in quotes because in order to do that, you'd need to make them a single disk raid volume. you can do so from the bios or using megacli.

This is less than ideal for many reasons. consider replacing it with an HBA (host bus adapter.)
 
  • Like
Reactions: cfgmgr
Hello, you told that's pretty much plug and play. But not for me, I think. Could you explain it to me shortly?
Its a three step process:
1. create and map LUNs on your controller. if you need help with this step, its in your MSA user manual.
2. This part depends on whether you have dual connections to the controller- install multipath-tools and multipath-tools-boot. configure according to the documentation.
3. define the storage in pve, as described here: https://pve.proxmox.com/wiki/Storage. you'd follow the steps for iscsi or SAS (local), depending on your controller type. file system is LVM THICK (not thin). Make sure to specify the multipath device name, not the "sd" device.

If you have specific questions feel free to ask.
 
Its a three step process:
1. create and map LUNs on your controller. if you need help with this step, its in your MSA user manual.
2. This part depends on whether you have dual connections to the controller- install multipath-tools and multipath-tools-boot. configure according to the documentation.
3. define the storage in pve, as described here: https://pve.proxmox.com/wiki/Storage. you'd follow the steps for iscsi or SAS (local), depending on your controller type. file system is LVM THICK (not thin). Make sure to specify the multipath device name, not the "sd" device.

If you have specific questions feel free to ask.
1. I've done it
2. I've installed multipath-tools and multipath-tools-boot and lsscsi shows such state:

Code:
[1:0:0:0]    enclosu HPE      MSA 2050 SAS     V270  -
[1:0:0:1]    disk    HPE      MSA 2050 SAS     V270  /dev/sdd
[1:0:1:0]    enclosu HPE      MSA 2050 SAS     V270  -
[1:0:1:1]    disk    HPE      MSA 2050 SAS     V270  /dev/sde

3. I don't know what to do now. It's SAS not iSCSI, how to use it as block device? Proxmox shows 2 block devices but can't create volume group (no disks unused).

1721111510156.png
 
Last edited:
3. I don't know what to do now. It's SAS not iSCSI, how to use it as block device? Proxmox shows 2 block devices but can't create volume group (no disks unused).
If you have configured multipath, please post the output of (in CODE tags):

Code:
multipath -ll

Normally, you would get a device there on which you can create your physical group and then the volume group with this physical volume
 
Proxmox shows 2 block devices but can't create volume group (no disks unused).
Its worth noting that to get full useful performance from this storage you really want TWO luns, since a lun can only have one active controller at a time. This obviously assumes you have two controllers.

ok, I got it. It was easy.
So you're good to go? the rest of the instructions is pretty much the same as for any other local attached storage.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!