advice needed regarding initial storage allocation

Rudy Gevaert

Member
Jul 5, 2020
5
1
8
41
Hello,

I've just started using proxmox myself for a project (after promoting it for more than 10 years to friends :)) and need some advice on how to "partition" are disks.

The server has 2 SSD disks and 6 SATA disks and comes with a raid controller.

I've put the 2SSD disks in RAID1 (sda) and the 6 sata disks in RAID5 with 1 hot-spare (sdb).

The installer nicely made the pve volume group on sda3. And also created a lvm-thin logical volume.

For the VG on sdb I thought I would split it up in 2 logical volumes (one normal lvm and one lvm-thin). Each with a moderate size and grow as I need to go.

Now it seems I got some things wrong. I can't add the second LVM volume:

Bash:
root@pve1:/etc/pve# pvesm add lvm local-lvm-sata --vgname sata-normal --content images,rootdir
  Command failed with status code 5.
command '/sbin/vgscan --ignorelockingfailure --mknodes' failed: exit code 5

The way forward seems I need to make two partions ons sdb and give each partition a dedicated VG. I don't want to do that as this won't let me easily grow them.

Am I correct that what I'm trying to do won't work. And if so, should I still even bother about using the normal LVM?

Another option I could do is just mount my regular logical volume as a directory and store images in it.

Thanks in advance,

Rudy
 
Last edited:
Hi,

You can use LVM and LVM-Thin on one disk. But may I ask why?

Am I correct that what I'm trying to do won't work. And if so, should I still even bother about using the normal LVM?
The pros for LVM are more speed with large sequential write and capable to run multi clients (hosts).
The speed pro is only on the paper but in real-world scenario you will not really notice the different.

please send the output of
Code:
lvs
 

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!