[SOLVED] Can LXC's have LVM?

voarsh

Active Member
Nov 20, 2020
218
20
38
28
Basically, I have two mount points on my LXC and the size of the data exceeds 1 disk, so I'd like to spread it over two disks of equal size.
I'm not sure if this is possible, is it?

The only option I can think of is ZFS (I haven't touched that at all, and can be pricey), or changing to a VM and adding 1 disk or more to a VM and making a LVM and using that to spread the data over more than one disk)
Is RAID 0 an option as well?
 
Without using raid or anything, aka if you just wish more space, you can add as many "free space" to your lvm volume as you want.
"Free space" can be a whole disk, a partition, basically everything with free space.

If you have multiple disks of "same size", you will get more benefit of making an raid0/1/5/10 whatever you wish.

Just stay away from raid 5, it has same popularity as nazis today... Everyone wants to get rid of it xD

You can do it all with zfs, depends on the amount of disks you have, or with mdadm.
Both is easy and there are 500000000 guids in google.
If you installed already proxmox on the drive, that you want to use, you can still convert it to raid 1. For everything else you need to reinstall proxmox.

Cheers