Add local storage when using lvmthin

uFx

Member
Jun 19, 2015
13
0
21
We are using a local backup for all our Proxmox nodes and with a hook script we scp the backup to an external backupserver. Now we have one node which uses lvmthin as storage for the VM images. To make a local backup we need a local backup storage because we can't backup to a lvmthin storage.

We tried to manually add a volume which we could mount:

Code:
lvcreate -L 300G -n localbackups pve

But this doesn't work:
Code:
Volume group "pve" has insufficient free space (4053 extents): 76800 required.

Is it possible to add a volume for our local backups? There is enough space available on the lvmthin volume:

Code:
Usage: 47.39% (1.19 TiB of 2.50 TiB)
 
We are using a local backup for all our Proxmox nodes and with a hook script we scp the backup to an external backupserver. Now we have one node which uses lvmthin as storage for the VM images. To make a local backup we need a local backup storage because we can't backup to a lvmthin storage.

We tried to manually add a volume which we could mount:

Code:
lvcreate -L 300G -n localbackups pve

But this doesn't work:
Code:
Volume group "pve" has insufficient free space (4053 extents): 76800 required.

Is it possible to add a volume for our local backups? There is enough space available on the lvmthin volume:

Code:
Usage: 47.39% (1.19 TiB of 2.50 TiB)
Hi, as you can see from the error most of the extends of your VG are already reserved for other LVs. So in order to create a new LV you will have to add a disk to the VG to extend its capacity or you will have to shrink the lvmthin LV which is not recommended as you can easily loose your data if you make a mistake.
 
  • Like
Reactions: uFx
Thanks! Then we'll add a new disk and won't shrink the lvm-thin volume.
 

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!