Shared SAS LVM Storage + LVM Configuration

lmonasterio

New Member
Nov 3, 2021
21
1
3
39
Hi!
Im setting up a SAS Shared Storage with multipath. Im using LVM, but a question arise. i can create the PV directly on "/dev/mapper/multipathX" or i can make a partition using fdisk and the create the PV on "/dev/mapper/multipath-partitionX", so: is there any difference? Wich option is better? I did both and they are working as shared storage, but perhaps i should choose one over the other.
Hope i am clear explaining the situation.
Thanks for your time,
Leandro
 
Your question is really not PVE specific, but more of a general storage management. IMHO either way is fine and has its benefits. Some may feel strongly about a specific choice.
Here is a Redhat take https://www.redhat.com/sysadmin/lvm-vs-partitioning - they think both are acceptable, as do I.
Partition may give you a bit more flexibility, i.e. two PVs on same multipath device. Only you can decide if you need it. I prefer less layers unless I have a good reason otherwise... If you plan to create a single partition that takes entire disk , then why complicate things?


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: lmonasterio
Your question is really not PVE specific, but more of a general storage management. IMHO either way is fine and has its benefits. Some may feel strongly about a specific choice.
Here is a Redhat take https://www.redhat.com/sysadmin/lvm-vs-partitioning - they think both are acceptable, as do I.
Partition may give you a bit more flexibility, i.e. two PVs on same multipath device. Only you can decide if you need it. I prefer less layers unless I have a good reason otherwise... If you plan to create a single partition that takes entire disk , then why complicate things?


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Thanks @bbgeek17 !!! I just mentioned you on another post, sorry for that...
Yes, im planning to use the entire disk, so probably the best choice is not create a partition with fdisk
 

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!