You can use all 3 if you want to, 10TB each and see which one you like best.What should I use for this 30TB RAID? LVM-Thin, LVM, or Directory?
Thank you for this answer!use LVM Thin with a slice for Directory storage usage on a side.
can you rephrase this ^? What is both? And what exactly do you mean by "directory"?Is there anything against using the entire 30TB RAID as a directory for both?
Hello,
I have a Proxmox server with a 64GB SSD for the Proxmox system and a 30TB HDD hardware RAID for all virtual machines, containers, ISO images, etc.
What should I use for this 30TB RAID? LVM-Thin, LVM, or Directory?
I would like to use these 30TB for just about everything. Since the 64GB SSD and the 30TB raid remain pretty much the only disks on the server, I would use them for ISO images, VMs, containers and maybe even more.What is the use case for the 30TB Raid Drive ?
Understandable but what i actually mean is what is going to use most of the storage. For example. This is how i would set it up for me. You situation might be different.I would like to use these 30TB for just about everything. Since the 64GB SSD and the 30TB raid remain pretty much the only disks on the server, I would use them for ISO images, VMs, containers and maybe even more.
Don't store your backups on the same disks you store the data you want to backup.15TB - VMs, CT's
15TB - Backup Drive for VM's & CT's
Thats always problematic. But for that reason you got redundant PSU, HW raid with BBU or in case of a homeserver with consumer hardware at least a UPS.Unexpected power cuts and unexpected reboots completely destroy lvm-thin pools.
Directory storage adds overhead because of the additional filesystem you don't need to store virtual disks when a block storage like LVM-Thin is an option. A directory storage also won't allow you to use snapshots unless you switch from raw to qcow2 and with that you get additional overhead again because of the Copy-on-Write of that qcow2.Since the 64GB SSD and the 30TB raid remain pretty much the only disks on the server, I would use them for ISO images, VMs, containers and maybe even more.
Thank you for this detailed response! I think I'll go with that. Although it's a home server, I have a redundant power supply system, a hardware RAID with a BBU, and a UPS, which is why LVM-Thin would be suitable for me.Use the whole 30TB for LVM-Thin. You can then directly store your virtual disks as block devices (thin volumes), you get thin-provisioning and snapshot support for those. And if you also want to store files on that thin pool you could manually create an additional thin volume via CLI on top of that thin pool, format it with the filesystem of your choicem mount it via fstab and then add an directory storage pointing to that mountpoint.
That way you get both, a 30TB block storage for storing your VMs/LXCs as well as a 30TB directory storage for your files.
Wild alternative- remove the raid volume and map the disks direct to the os. then use zfs- one striped mirror pool for vm disk use, and the rest as a raidz2 for filestore.What should I use for this 30TB RAID? LVM-Thin, LVM, or Directory?
Baby stepsWild alternative
you wouldnt. lvm thin is not supported for multi initiator environments. If you want to use lvm thin you can only have ONE host connected to the storage.Technically how would you create a lvm and lvm thin on the same disk?
You mean "can only have ONE host connected to - one volume - of the storage, so still couple of connections same time."If you want to use lvm thin you can only have ONE host connected to the storage.
Hello
Technically how would you create a lvm and lvm thin on the same disk? Do you need to create silice the disk in 2 parts ? Do you need to say, this part is 15to and this one is 15to? Which cli commands are usefull here?
#lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <1.27t 20.75 1.80
root pve -wi-ao---- 542.51g
swap pve -wi-ao---- 8.00g
vm-100-disk-0 pve Vwi-aotz-- 96.00g data 4.10
vm-105-disk-0 pve Vwi-a-tz-- 4.00m data 14.06
vm-105-disk-1 pve Vwi-a-tz-- 100.00g data 31.98
vm-105-disk-2 pve Vwi-a-tz-- 4.00m data 1.56