Volume group has insufficient free space

Joshua2504

Member
Feb 19, 2015
12
0
21
Hello,

I'm running Proxmox 3.3 on SP-64 from OVH.

2x 240 GB SSD RAID 1 /data/ssd
2x 2 TB SATA RAID 1 /data/hdd

I have mounted the OVH Backup space via BFS in /mnt/pve/backup-1

If I try to backup an OpenVZ Container on the HDD:

Code:
[COLOR=#000000][FONT=tahoma]INFO: starting new backup job: vzdump 375901 --remove 0 --mode snapshot --compress lzo --storage backup-1 --node pve-2[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Starting Backup of VM 375901 (openvz)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: CTID 375901 exist mounted running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status = running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: backup mode: snapshot[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: bandwidth limit: 80000 KB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: ionice priority: 7[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: creating lvm snapshot of /dev/mapper/hdd-hdd ('/dev/hdd/vzsnap-pve-2-0')[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO:   Volume group "hdd" has insufficient free space (0 extents): 256 required.[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]ERROR: Backup of VM 375901 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-pve-2-0 /dev/hdd/hdd' failed: exit code 5[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Backup job finished with errors[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: job errors[/FONT][/COLOR]

If I try to backup an OpenVZ Contrainer on the SSD:

Code:
[COLOR=#000000][FONT=tahoma]INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --compress lzo --storage backup-1 --node pve-2[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Starting Backup of VM 100 (openvz)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: CTID 100 exist mounted running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status = running[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: backup mode: snapshot[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: bandwidth limit: 80000 KB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: ionice priority: 7[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: creating lvm snapshot of /dev/mapper/pve-ssd ('/dev/pve/vzsnap-pve-2-0')[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO:   Volume group "pve" has insufficient free space (0 extents): 256 required.[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]ERROR: Backup of VM 100 failed - command 'lvcreate --size 1024M --snapshot --name vzsnap-pve-2-0 /dev/pve/ssd' failed: exit code 5[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Backup job finished with errors[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]TASK ERROR: job errors[/FONT][/COLOR]

If I backup an KVM to the Backup Space I don't get any errors and it works fine.

I have tried to find something.

Code:
root@pve-2:~# vgdisplay  --- Volume group ---
  VG Name               hdd
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               1.82 TiB
  PE Size               4.00 MiB
  Total PE              476799
  Alloc PE / Size       476799 / 1.82 TiB
[B]  Free  PE / Size       0 / 0   [/B]
  VG UUID               fyg0ci-bDoH-jqfS-cFmV-D3hu-7DZ3-Hf1jXR
   
  --- Volume group ---
  VG Name               pve
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               1
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               205.29 GiB
  PE Size               4.00 MiB
  Total PE              52554
  Alloc PE / Size       52554 / 205.29 GiB
[B]  Free  PE / Size       0 / 0   [/B]
  VG UUID               cmTgwV-ZWGF-tb6y-LMyD-3ZTR-x4cl-pBDyDi

Code:
root@pve-2:~# vgs  VG   #PV #LV #SN Attr   VSize   VFree
  hdd    1   1   0 wz--n-   1.82t    0 
  pve    1   1   0 wz--n- 205.29g    0 
root@pve-2:~#

There is no free PE Size :( I'm a noob in partition-things and I really need help with this! I never had the problem before and I hope that someone can provide me a easy solution without reinstalling the whole machine...

thanks,
Joshua
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,520
906
163
...

There is no free PE Size :( I'm a noob in partition-things and I really need help with this! I never had the problem before and I hope that someone can provide me a easy solution without reinstalling the whole machine...

thanks,
Joshua

You can teach yourself about LVM by reading here:

http://tldp.org/HOWTO/LVM-HOWTO/
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,520
906
163
no, it will suspend. test it!
 

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 your own in 60 seconds.

Buy now!