According to https://pve.proxmox.com/wiki/Storage_Replication#_supported_storage_types, currently only ZFS is supported. I'm aware that Storage replication requires a unique set of features for the storage ( like snapshots, send/receive remote, etc).
What is your roadmap for adding other...
For performance reasons, instead of mounting with discard option inside KVM, it's better running external fstrim command via qemu-guest-agent, on host cron event.
However, discard=on must be setup in KVM storage configuration at /etc/pve/qemu-server/VMid.conf
Default mode is sending mail to...
This is how I've done the snapshots, during a https://www.phoronix-test-suite.com/
root@melania:/var/eurodomenii/scripts# cat snapshot_bench.sh
Number=$(bash -c 'echo $RANDOM')
qm snapshot $1 "snap-$Number" > /dev/null 2>&1...
Usually, all the lvm snapshots for a VM are removed on VM deletion. But, during some benchmarks, I needed to create more than 100 snapshots for a VM. This time, all the snapshots remained intact, despite deletion of the VM ( this is valid for several VMs).
The error shows up at https://MyServerAddress.com:8007/#pbsServerAdministration:tasks, during KVM restore.
2020-09-23T00:39:06+03:00: GET /chunk
2020-09-23T00:39:06+03:00: download chunk "/ab/store_melania/.chunks/7b76/7b76c3f2a082015fbf28719166b4e470def1063339f653b9dfb5892b71917f03"...
The true High Availability with Proxmox VE could be achieved with network distributed storage, like Ceph. But, compared with local storage, there’s a performance penalty, even with 10G network.
A better balanced solution is https://pve.proxmox.com/wiki/Storage_Replication ( with a COW...
First working version:
# by EuroDomenii - MIT - 2020
# apt install jq
use POSIX qw(strftime);
my $dirname = dirname(__FILE__);
use Fcntl qw(:flock);
open my $file, ">", "$dirname/app.lock" or die $!;
root@rise1rbx:~# pvesm list
400 not enough arguments
pvesm list <storage> [OPTIONS]
root@rise1rbx:~# pvesm list pb
Volid Format Type Size VMID
pb:backup/ct/104/2020-07-16T14:40:58Z pbs-ct backup 902334049 104...
Further improvement of the program logic…
Since this program is supposed to run on cron every minute, I want to make sure that I loop through all VMs before starting another cycle, so there’s a need for a lock.
The use case is a production Proxmox server sending incremental backups via pbs to a remote datastore on another Proxmox backup server.
The other Proxmox backup server would act as a hot standby ( couldn’t be as synchronized as https://pve.proxmox.com/wiki/Storage_Replication, due to longer...
For virtual machines incremental is very fast ( based on QEMU dirty bitmaps, a matter of seconds) .
For LXC containers, it seems that there isn't any incremental implementation...
LVM- Thin storage, backup mode snapshot
1) initial backup
INFO: starting new backup job: vzdump 104 --node...