From d468184a80205ed83e77cb1a5121cb75b2d758ea Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Mon, 14 Jan 2013 23:38:50 -0700 Subject: [PATCH] BackupPC_ovz: increase snapshot size Mail server writes nearly 2GB during the backup window, so the previous setting of 1GB for the snapshot partition is too small. Because the vecommon partition holds pretty much all the CTs, then the cumulative write requirements of al CT's on that node using vecommon must be taken into account when properly sizing the snapshot volume size. 25GB seems like a reasonable number for now. That is at the moment about 10% of the free space in the volume group. --- BackupPC_ovz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BackupPC_ovz b/BackupPC_ovz index 78dc267..06bf6a6 100755 --- a/BackupPC_ovz +++ b/BackupPC_ovz @@ -20,7 +20,7 @@ my @script_ext = qw(start stop mount umount); my @velist = (); my $pidfile = "/tmp/".basename($0).".pid"; my $vzsnap = 'vzsnap'; # Mount point and lv names. Mount is relative to /. -my $snapsize = '1g'; +my $snapsize = '25g'; my $hnlistFile = "/etc/backuppc/".basename($0).".hnlist"; my $velistFile = $ENV{HOME}."/log/".basename($0).".velist"; -- 2.39.2