Pre replication checks

Rares

Well-Known Member
Feb 28, 2017
79
13
48
Dear Proxmox team,

I managed to break ZFS replication two times now because of insufficient disk space on target machine. The only way I could recover was to delete the replica on the target and reboot the PX node.

Do you think it would be an idea before starting the replication to check for disk space on the target node? The process knows the size of the replication snapshot so it could check for that + some extra space.

OR

in case of error, is there a way to stop the replication safely so that the zfs_receiver will not hang the target node?

Rergards,

Rares
 
Hi,
Do you think it would be an idea before starting the replication to check for disk space on the target node? The process knows the size of the replication snapshot so it could check for that + some extra space.
No this is a very expensive operation and would take a couple of secs.

Monitoring the disk space is a mandatory job and you should know that there is no space left.
Also, ZFS get very slow after 70% usage so avoid to fill it up over 70% and you will never get problems with this.
 

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 yours easily in our online shop.

Buy now!