Volume group “pve” has insufficient free space (solved) Reviewed by AL on . I wanted to backup my CT when I got this error message: INFO: Starting Backup of VM 100 (openvz) INFO: CTID 100 exist mounted running INFO: status = running INF I wanted to backup my CT when I got this error message: INFO: Starting Backup of VM 100 (openvz) INFO: CTID 100 exist mounted running INFO: status = running INF Rating: 0
You Are Here: Home » Tiny Post » Volume group “pve” has insufficient free space (solved)

Volume group “pve” has insufficient free space (solved)

I wanted to backup my CT when I got this error message:
INFO: Starting Backup of VM 100 (openvz)
INFO: CTID 100 exist mounted running
INFO: status = running
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap-proxmox-0')
INFO: Volume group "pve" has insufficient free space (0 extents): 256 required.
ERROR: Backup of VM 100 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-proxmox-0 /dev/pve/data' failed: exit code 5

I am running the following version of proxmox

By reading the error message it says that there isn’t enough free space on the LVM group, let’s check available free space with the “vgdisplay” command

This is the procedure (or at least it worked for me):

Use at your own risk !!!

You need first to stop all your VM/CT and unmount the volume like this:

Checking the file system before we proceed

Resizing the file system, in my case I chose to set it to 195

Now we are going to reduce the size of a logical volume

We check everything again

Now we can test the backup if it works

Hope this did help you solving your problem, let us know if it does and post your “pveversion -v” to let others know it.

Thank you.

doge_icon

About The Author

Network and system engineer

Number of Entries : 66
  • Aalex Gabi

    Thank you. You saved me of a lot of work. I got the same ‘pveversion -v’ as you. Everything seems to be working fine. Can you explain a little more what each command does? It was a little bit confusing for me.

    • http://terraltech.com AL

      I am glad that this post helped you out!
      for command details and explanation : (“man” is your friend)
      e2fsck – check a Linux ext2/ext3/ext4 file system
      pveversion – Print version information for Proxmox VE packages
      vgdisplay – display attributes of volume groups
      resize2fs – ext2/ext3/ext4 file system resizer
      lvreduce – reduce the size of a logical volume
      vzdump – backup utility for virtual machine

Scroll to top