From 12a2f39529461bf6d9cee3d347d6ddb4d5d2989b Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Wed, 26 Oct 2011 11:29:31 +0200 Subject: Fix the 2nd grow command, add space Ticket #1758 --- etc/inc/upgrade_config.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/inc/upgrade_config.inc b/etc/inc/upgrade_config.inc index f5b1a17..7e6f79e 100644 --- a/etc/inc/upgrade_config.inc +++ b/etc/inc/upgrade_config.inc @@ -2059,9 +2059,9 @@ function upgrade_054_to_055() { /* we now have the rrd with the new fields, adjust the size now. */ /* RRA 2 is 60 minutes, RRA 3 is 720 minutes */ mwexec("/bin/sync"); - mwexec("$rrdtool resize {$rrddbpath}/{$database} 2 GROW 1000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); + mwexec("$rrdtool resize {$rrddbpath}/{$database} 2 GROW 2000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); mwexec("/bin/sync"); - mwexec("$rrdtool resize {$rrddbpath}/{$database} 3 GROW 2000;/bin/mv resize.rrd {$rrddbpath}/{$database}2>&1"); + mwexec("$rrdtool resize {$rrddbpath}/{$database} 3 GROW 2000;/bin/mv resize.rrd {$rrddbpath}/{$database} 2>&1"); unset($rrdold); unset($rrdnew); unset($rrdxmlarray); -- cgit v1.1