search for: boot_size

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

Did you mean: root_size
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...ion switches it to active e2label $candidate_dev RootUpdate diff --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 $DRI...
2009 May 21
1
[PATCH node] display descriptions for all disks
...eval $space_var=$size + fi } check_partition_sizes() @@ -69,7 +73,7 @@ check_partition_sizes() fi printf "\n" - get_selected_drive_size + get_drive_size $DRIVE SPACE disk_size=$SPACE need_size=$(echo "scale=0;" \ "$BOOT_SIZE + $SWAP_SIZE + $ROOT_SIZE * 2" \ @@ -160,6 +164,10 @@ get_dev_name() esac # There are two or more; make the user choose. + # display description for each disk + for d in $devices; do + get_drive_size $d >&2 + done local choices="$devices Abort"...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...c fields in this order -# ovirt-config-storage [swap size] [boot size] [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_s...
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.
...log "done." } diff --git a/scripts/ovirt-config-storage 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...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...12 @@ check_partition_sizes() printf "\n" if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then - get_drive_size $BOOTDRIVE BOOTDRIVESPACE + get_drive_size "$BOOTDRIVE" BOOTDRIVESPACE drive_list="BOOT" BOOT_NEED_SIZE=$BOOT_SIZE else - get_drive_size $ROOTDRIVE ROOTDRIVESPACE - get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE + get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE + get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...ve_list="ROOT" - ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l) + if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then + get_drive_size $BOOTDRIVE BOOTDRIVESPACE + drive_list="BOOT" + BOOT_NEED_SIZE=$BOOT_SIZE else - drive_list="ROOT HOSTVG" + 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;" \ +...
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
..."Removing old LVM partitions") wipe_volume_group("HostVG") + log("Wiping LVM on HOSTVGDRIVE") self.wipe_lvm_on_disk(self.HOSTVGDRIVE) + log("Wiping LVM on ROOTDRIVE") self.wipe_lvm_on_disk(self.ROOTDRIVE) self.boot_size_si = self.BOOT_SIZE * (1024 * 1024) / (1000 * 1000) if OVIRT_VARS.has_key("OVIRT_ISCSI_ENABLED") and OVIRT_VARS["OVIRT_ISCSI_ENABLED"] == "y": -- 1.7.4.4
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...;$DATA_SIZE" = -1 ]; then min_data_size=5 fi @@ -164,7 +164,7 @@ check_partition_sizes() if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then get_drive_size "$BOOTDRIVE" BOOTDRIVESPACE drive_list="BOOT" - BOOT_NEED_SIZE=$BOOT_SIZE + BOOT_NEED_SIZE="$BOOT_SIZE" else get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE @@ -172,7 +172,7 @@ check_partition_sizes() HOSTVG_NEED_SIZE=$(echo "scale=0;" \...
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...s in MB.\n" @@ -286,7 +355,7 @@ do_review() The local disk will be repartitioned as follows: ================================================ - Physical Hard Disk: $(get_drive_size $DRIVE) + Physical Hard Disk: $(print_drive_size $DRIVE) Boot partition size: $BOOT_SIZE MB Swap partition size: $SWAP_SIZE MB Installation partition size: $ROOT_SIZE * 2 MB @@ -519,7 +588,7 @@ DATA_SIZE=${OVIRT_VOL_DATA_SIZE:-$default_data_size} if [ -n "$OVIRT_INIT" ]; then # if present, use the drive selected with 'ovirt_init' boot parameter...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes of storage, such as removeable media devices with no media present.
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...b/scripts/storage.py new file mode 100644 index 0000000..a2a83a5 --- /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...
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
...local min_data2_size="$DATA2_SIZE" + if [ "$DATA_SIZE2" = -1 ]; then + min_data_size=5 + fi printf "\n" if [ "$OVIRT_ISCSI_ENABLED" = "y" ]; then @@ -131,7 +137,27 @@ check_partition_sizes() BOOT_NEED_SIZE="$BOOT_SIZE" else get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE - get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE + for drv in $HOSTVGDRIVE; do + get_drive_size "$drv" DRIVESPACE + if [ -n "${HOSTVGDRIVESPACE}" ]; then +...