Other LV's than LVthinPool in a VG

elhannio

Member
Jun 23, 2022
2
0
6
Hi forums,
This is my first post. Greetings!

I have an application where I have a 22TB local RAID. I want to split it like this:
namepurposesize
data-streamingcaching large amounts of streaming data > is Disk-Images20TB
data-extraadmin usage as a directory for extra's like iso and general toolage > is Peripheral Data2TB

I explicitely don't want to use a LVM-THIN for "data-streaming".
So I created a VG in the Web-Interface, but then the options in the Web-Interface for the volumes inside this VG stop. I can only create a thin-pool.
Also https://pve.proxmox.com/wiki/Logical_Volume_Manager_(LVM) mentions no other option.

So I tried to manually set-up two LV's like with that, which would give me a linear LV (no thin provisioning):
Code:
lvcreate --size 2T --name data-extra --type linear disk-e
lvcreate --size 20T --name data-streaming --type linear disk-e

But Proxmox doesn't support that support - it won't give me two storages in the web-interface. Only shows that the VG disk-e is 100% full. ;)

So I guess I will partition the disk traditionally and then make just a VG on those two generated partitions of the disk?
Or is there a way to make this happen with LVM?

Thanks for your help.
 
Last edited:
Did you try to add storages via "Datacenter -> Storage -> Add" and pointing that to your manually created LVs?
If you just want to store files on those LVs you could manually partition+format+mount them and then add a new directory type storage pointing to that mountpoint.
 
Yes I want to store only files. But I heard somewhere that using LVM (block-data) is better performance-wise than Directory (filesystem-based).
But as I described in the table I indeed want to use that small part of the disk as file-storage and the big part for disk-images.
(Actually I didn't mention it in the table - I updated it above)

And I just did it in the end, like you mentioned: partition it using fdisk and then one VG (big one) and one Directory (small one) and it works.

But I haven't tried out your advice with the "Datacenter > Storage > Add". Will try that tomorrow.
I just found out, that the Datacenter View has another Tab related to Storage :rolleyes:
 
Last edited: