mars/test_suite/default-resize.conf

52 lines
1.8 KiB
Bash

#!/bin/bash
# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG
#
# Email: frank.liepold@1und1.de
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
## defaults for module resize
## size in G to add physically to data device (lvresize)
resize_size_to_add=3
## difference in G to resize_size_to_add which will be added via marsadm resize
## e.g. actual: phsyical size = marsadm size = 5 G
## new (with resize_size_to_add=2 and resize_diff_to_phsyical=1):
## physical size = 7 G, marsadm size = 6 G
resize_diff_to_phsyical=1
## time for which the amount of data to apply must be constant to declare
## the apply process as having stopped
resize_time_constant_apply=5
## time for which the amount of data to fetch must be constant to declare
## the fetch process as having stopped
resize_time_constant_fetch=10
## time for which the amount of data to sync must be constant
## to declare the sync process as inactive
resize_time_constant_sync=5
## maxtime to wait for apply to stop (after pause-apply)
resize_maxtime_apply=60
## maxtime to wait for fetch to stop (after pause-fetch)
resize_maxtime_fetch=300
## maxtime to wait for sync to stop
resize_maxtime_sync=60