Skip to main content

📦 Storage

By default Ludus uses the Directory storage type on top of an ext4 filesystem with qcow2 as the disk format as it is the simplest and most compatible combination of options with all types of setups.

Proxmox Storage Types

Storage TypeDisk FormatSnapshotsRevert to any SnapshotTPM SnapshotsSharedComplexity
Directoryqcow2❌ (WIP)😊
LVM-thinraw🙂
ZFSraw😐
Cephfsraw🤯

For single node Ludus deployments, LVM-thin + raw is probably the best way to configure your storage disks if you are comfortable configuring the disks after install. If you want to use "striped" (RAID0) for LVM-thin you must set it up using the CLI, not in the Proxmox webUI.

For clustered Ludus deployments, Ceph + raw is best, but requires at least three nodes, a dedicated high speed (10Gb/s+) network, and 1GB of RAM for every 1TB of used storage.

Adding Storage after Install

For Proxmox storage to work with Ludus it requires the following permissions:

PathUser/Group/API TokenRolePropagate
/storage/<new storage name>@ludus_usersPVEDatastoreAdmintrue

Adding a group permission

Add permission dialog

This allows all ludus users to use the new storage.

Additionally, you can modify the Ludus configuration file at /opt/ludus/config.yml to use your new storage. Specifically, modify these values:

proxmox_vm_storage_pool: <new storage name>
proxmox_vm_storage_format: <new storage disk format (qcow2|raw)>
proxmox_iso_storage_pool: local # Only change this if your new storage supports ISO files

Active the config by restarting the Ludus services with systemctl restart ludus ludus-admin