]> oss.titaniummirror.com Git - ovzbpc.git/commitdiff
BackupPC_ovz: increase snapshot size
authorR. Steve McKown <rsmckown@gmail.com>
Tue, 15 Jan 2013 06:38:50 +0000 (23:38 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 15 Jan 2013 06:38:50 +0000 (23:38 -0700)
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

index 78dc267698471fdd166b4fa81c48b92dc6d7ecd5..06bf6a6999b5045efe0374f588063523d9c00363 100755 (executable)
@@ -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";