Backup Issue think its lvm PE?

sahostking

Renowned Member
Hi

Getting this error when backing up:
INFO: Volume group "pve" has insufficient free space (4095 extents): 20000 required.

Have a VM of 800GB that can't seem to backup. Is it due to PE size?

This is my current setup:

root@vz-cpt-1:~# vgdisplay
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 292
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 5.45 TiB
PE Size 4.00 MiB
Total PE 1429763
Alloc PE / Size 1425668 / 5.44 TiB
Free PE / Size 4095 / 16.00 GiB
VG UUID CqWVYc-G8Qp-9sEa-fnat-fNz2-6zrf-xb7SZw

root@vz-cpt-1:~# pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size 5.45 TiB / not usable 1.98 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 1429763
Free PE 4095
Allocated PE 1425668
PV UUID tIjDZg-tXeB-6I2M-Vzn5-HYGF-hj1W-gNvbjI

Also if I lvreduce will it break proxmox?
What is the best way to do this? Anyone come across this yet?
 
Diy you set the 'size' parameter somehow (maybe in /etc/vzdump.conf)? If so, remove it and try again.
 
I only added it earlier today in hopes it would fix this error.

I get these errors now which is new after removing it:

Read error at byte 0, while reading 4096 bytes: Input/output error

Seems to only happen with very large VMs over 100GB or so. Anything smaller seems to backup just fine as per below:

INFO: starting new backup job: vzdump 108 --remove 0 --mode snapshot --compress lzo --storage nfs-storage --node vz-cpt-1
INFO: Starting Backup of VM 108 (openvz)
INFO: CTID 108 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-vz-cpt-1-0')
INFO: Logical volume "vzsnap-vz-cpt-1-0" created
INFO: creating archive '/mnt/pve/nfs-storage/dump/vzdump-openvz-108-2015_12_23-18_01_29.tar.lzo'
INFO: Total bytes written: 943441920 (900MiB, 50MiB/s)
INFO: archive file size: 420MB
INFO: Finished Backup of VM 108 (00:00:27)
INFO: Backup job finished successfully
TASK OK


Anything larger than 100GB gets this which is only happening to 2 of our VMs as the rest are all small:


Are you sure you want to remove VM 101? This will permanently erase all VM data.
INFO: starting new backup job: vzdump 104 --remove 0 --mode snapshot --compress lzo --storage nfs-storage --node vz-cpt-1
INFO: Starting Backup of VM 104 (openvz)
INFO: CTID 104 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-vz-cpt-1-0')
INFO: Logical volume "vzsnap-vz-cpt-1-0" created
INFO: creating archive '/mnt/pve/nfs-storage/dump/vzdump-openvz-104-2015_12_23-10_35_21.tar.lzo'
INFO: tar: ./home/sexy4me/public_html/Angelica hearts first time.mp4: File shrank by 12246201 bytes; padding with zeros
INFO: tar: ./home/sexy4me/public_html/wp-activate.php: Read error at byte 0, while reading 5035 bytes: Input/output error
INFO: tar: ./home/sexy4me/public_html/All Stars 2.mp4: Read error at byte 0, while reading 2048 bytes: Input/output error
INFO: tar: ./home/sexy4me/public_html/wp-config-sample.php: Read error at byte 0, while reading 2764 bytes: Input/output error
INFO: tar: ./home/sexy4me/public_html/Princess Diaries.mp4: Read error at byte 0, while reading 6144 bytes: Input/output error
INFO: tar: ./home/sexy4me/public_html/A_LIST_02_Title_01_01.mp4: Read error at byte 0, while reading 2560 bytes: Input/output error
 
Figured this out by the way. Seems when we installed Proxmox we did not give it enough space for Snapshots. We busy fixing that using a new server for testing first but so far seems to be the issue.