We are running a Proxmox VE 2.2 on a three node cluster. For VM we use KVM on RAW files. For now we are using Stop backup mode but on a specific VM the backup is taking too long (20 minutes of downtime) because of the size of the disk : 50Gb.
I would like to use Snapshot feature, I have enough space on my root partition to hold the backup in a different location than /var/lib/vz. But I am wondering how the snapshot is working, because it also takes around 20minutes to make it but the VM is still running. So if a file is created just after the beginning of the snapshot, is it going to be placed into the snapshot ?
I see on VZDUMP documentation that Snapshot feature us LVM snapshot to backup a VM. But my VolumeGroup don't have any space left to created LVM partitions to hold the backup. And when I take a look at the backup process I can see this line:
So an LVM partition is really created but I can't anderstand where.
here is my storage config:
Do you have an idea ?
Thank you
I would like to use Snapshot feature, I have enough space on my root partition to hold the backup in a different location than /var/lib/vz. But I am wondering how the snapshot is working, because it also takes around 20minutes to make it but the VM is still running. So if a file is created just after the beginning of the snapshot, is it going to be placed into the snapshot ?
I see on VZDUMP documentation that Snapshot feature us LVM snapshot to backup a VM. But my VolumeGroup don't have any space left to created LVM partitions to hold the backup. And when I take a look at the backup process I can see this line:
Code:
[COLOR=#000000][FONT=tahoma]INFO: Logical volume "vzsnap-****-0" created[/FONT][/COLOR]
So an LVM partition is really created but I can't anderstand where.
here is my storage config:
Code:
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content images,iso,vztmpl,rootdir
maxfiles 0
dir: backup_VM
path /backup/
content backup
maxfiles 5
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve-root 234G 80G 142G 36% /
tmpfs 3.9G 0 3.9G 0% /lib/init/rw
udev 3.9G 264K 3.9G 1% /dev
tmpfs 3.9G 44M 3.9G 2% /dev/shm
/dev/sda1 495M 35M 436M 8% /boot
/dev/fuse 30M 32K 30M 1% /etc/pve
/dev/mapper/pve-data 296G 38G 258G 13% /var/lib/vz
lvscan
ACTIVE '/dev/pve/swap' [7.00 GiB] inherit
ACTIVE '/dev/pve/root' [237.25 GiB] inherit
ACTIVE '/dev/pve/data' [300.00 GiB] inherit
pvscan
PV /dev/sda2 VG pve lvm2 [557.25 GiB / 13.00 GiB free]
Total: 1 [557.25 GiB] / in use: 1 [557.25 GiB] / in no VG: 0 [0 ]
Do you have an idea ?
Thank you