Thin Provisioning non-bare-metal

MK.Persia

Member
Oct 15, 2016
3
0
21
38
Hi,
(sorry for my bad English)
I'm going to install proxmox on a dedicated server and because of some limitation bare-metal installation isn't an option :(. The question is how can I enable thin provisioning when I install using Debian? Is it OK to just create dev/pve/data as thinLVM and magically everything works?
I ask this because I should mount thinLVM dev/pve/data in /var/lib/vz and it's something that bare-metal installation doesn't.
Any ideas?

Thanks!:)
 
You can create and use any thin pool you want, and you can create a thin-provisioned LV on it and mount that on /var/lib/vz. If you want, you can follow the PVE naming scheme, but you don't have to. It is advisable though if you want to run a cluster and have other nodes which are installed with the iso installer. You need to name the /var/lib/vz directory storage "local", because it is used as default in some places.

Beware of overprovisioning, especially when defining multiple storage on a single thin pool (it's easier to lose track of used space this way).