Adding LVM-thin storage

mn124700

Member
Feb 22, 2020
28
0
6
55
I'm new to Proxmox and am trying to provision a blank SSD disk as LVM-thin storage for VMs. I think I have figured out what to do, but would like to double-check before actually doing it. Here is what I think I need to do. (The entire SSD has been partitioned as /dev/sda1 with GPT)

pvcreate /dev/sda1 vgcreate satassd /dev/sda1 lvcreate --type thin-pool -L 100G -n data satassd lvextend -l +100%FREE satassd/data

Following this, I would add the disk using the web interface. Is this correct?
Thanks,
Eric
 
Why don't you just try it? ;)
I'm not an lvm-thin expert but this looks pretty much like the stuff I typed when creating a thin pool last time. As soon as the GUI offers you satassd/data everything went smoothly.
 
  • Like
Reactions: mn124700