search for: logging_size

Displaying 13 results from an estimated 13 matches for "logging_size".

2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...e] [root size] [logging size] [data size] +# ovirt-config-storage [swap size] [boot size] [root size] [logging size] [core dump size] [data size] # # All sizes are in megabytes # @@ -25,7 +25,8 @@ default_overcommit=0.5 default_boot_size=50 default_root_size=256 default_config_size=5 -default_logging_size=256 +default_logging_size=2048 +default_coredump_size=10240 # -1 indicates data partition should use remaining disk default_data_size=-1 @@ -33,6 +34,7 @@ boot_min_size=50 root_min_size=256 config_min_size=5 logging_min_size=5 +coredump_min_size=1024 data_min_size=5 swap_min_size=5 @@ -7...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...-storage @@ -85,30 +85,43 @@ check_partition_sizes() fi printf "\n" - get_drive_size $DRIVE SPACE - disk_size=$SPACE - need_size=$(echo "scale=0;" \ - "$SWAP_SIZE + $ROOT_SIZE * 2" \ - "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - - if [ $need_size -gt $disk_size ]; then - local gap_size=$(echo "scale=0; $need_size-$disk_size;" | bc -l) - printf "\n" - printf "=============================================================\n" - print...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...printf "\n" - get_drive_size $ROOTDRIVE ROOTDRIVESPACE - get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE - ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l) - HOSTVG_NEED_SIZE=$(echo "scale=0;" \ - "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - - if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then - drive_list="ROOT" - ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l) + if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then + get_drive_s...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...storage b/scripts/ovirt-config-storage index 8d59a6b..c91b0ea 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -172,7 +172,7 @@ check_partition_sizes() HOSTVG_NEED_SIZE=$(echo "scale=0;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then + if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then drive_list="ROOT" ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l)...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...iff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index af13935..77e00d0 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -22,14 +22,12 @@ fi default_overcommit=0.5 -default_boot_size=50 default_root_size=256 default_config_size=5 default_logging_size=2048 # -1 indicates data partition should use remaining disk default_data_size=-1 -boot_min_size=50 root_min_size=256 config_min_size=5 logging_min_size=5 @@ -90,7 +88,7 @@ check_partition_sizes() get_drive_size $DRIVE SPACE disk_size=$SPACE need_size=$(echo "scale=0;&quo...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...else get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE @@ -172,7 +172,7 @@ check_partition_sizes() HOSTVG_NEED_SIZE=$(echo "scale=0;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then + if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then drive_list="ROOT" ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l)...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...- /dev/null +++ b/scripts/storage.py @@ -0,0 +1,451 @@ +#!/usr/bin/python +from ovirtfunctions import * +import os +import time +import re +import subprocess +from subprocess import PIPE, STDOUT + + +default_overcommit=0.5 +default_boot_size=50 +default_root_size=256 +default_config_size=5 +default_logging_size=2048 +BOOTDRIVE = "" +RootBackup_end = "" +# -1 indicates data partition should use remaining disk +default_data_size=-1 + +mem_size_cmd = "awk '/MemTotal:/ { print $2 }' /proc/meminfo" +mem_size_mb = subprocess.Popen(mem_size_cmd, shell=True, stdout=PIPE, stde...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...ize "$ROOTDRIVE" ROOTDRIVESPACE + get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l) HOSTVG_NEED_SIZE=$(echo "scale=0;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) @@ -224,12 +236,13 @@ manual_input() while true; do read -rp "Enter disk device path: " manual_device if [ -z "$device" ]; then + echo "Aborting." return 1 fi - translate_mul...
2010 Feb 24
5
New Storage related patches
This set of patches introduces support for multipath devices for storage. Comments and suggestions are appreciated. Mike
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...G/Config /config ext3 defaults,noauto,noatime 0 0" >> /etc/fstab diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 513a240..e3bb57b 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -30,6 +30,8 @@ default_config_size=5 default_logging_size=2048 # -1 indicates data partition should use remaining disk default_data_size=-1 +default_swap2_size=0 +default_data2_size=0 boot_min_size=50 root_min_size=256 config_min_size=5 @@ -123,6 +125,10 @@ check_partition_sizes() if [ "$DATA_SIZE" = -1 ]; then min_data_size=5...
2009 Dec 08
1
[PATCH node] iscsi remote root basework This lays most of the groundwork for iscsi installation and configuration. At this time configuring iscsi is disabled due to multiple issues with dependent pieces.
...rage b/scripts/ovirt-config-storage index 57aaebd..f9a5b41 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -21,13 +21,13 @@ if is_booted_from_local_disk; then fi default_overcommit=0.5 - +default_boot_size=50 default_root_size=256 default_config_size=5 default_logging_size=2048 # -1 indicates data partition should use remaining disk default_data_size=-1 - +boot_min_size=50 root_min_size=256 config_min_size=5 logging_min_size=5 @@ -206,6 +206,11 @@ get_dev_name() do_configure() { local name_and_size + if [ "$OVIRT_ISCSI_ENABLED" == "y&quo...
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow. Mike
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated. These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated. Mike