[SOLVED] store my VM in local-lvm

cazz

Member
Jul 18, 2021
65
2
13
46
Sweden
Not sure what to do so I have to ask here :)
I have create a new server that run proxmox
Proxmox is store on a Hardware RAID 5 and I going to store my VM on same RAID.
When I now create a VM and when is time to tell where to store I only get local to pick.
Problem is that local only have 100 GB and local-lvm have 1.2 TB.

So I need to do something and I guess you can't store VM in local-lvm??
Then I need to rezise local-lvm and make local bigger but how and is that the best idea?
 
dir: local
path /var/lib/vz
content iso,vztmpl,backup

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images


pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 pve lvm2 a-- <1.23t <16.00g


vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 3 0 wz--n- <1.23t <16.00g


lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- <1.09t 0.00 0.18
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
 
based on the output from your storage.conf file - "local" can only be used for ISO, backups and container templates.
The local-lvm is where you should be allowed to store VM storage (images) and container root filesystems.

If local-lvm is not showing up as available storage for VM creation, try to restart helper daemons:
systemctl restart pvestatd pveproxy pvedaemon

What you described in the opening post is the the exact opposite of what should be happening for the operation you mentioned.


Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: cazz

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!