search for: hostvgdrivespac

Displaying 8 results from an estimated 8 matches for "hostvgdrivespac".

Did you mean: hostvgdrivespace
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...-storage b/scripts/ovirt-config-storage index f9a5b41..2ffcaa4 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -85,17 +85,23 @@ check_partition_sizes() fi 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="...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...ot;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 * 2"| bc -l) HOSTVG_NEED_SIZE=$(echo "scale=0;" \ "$SWAP_S...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...intf " Total storage size to be used: $need_size MB\n" - printf "\n" - printf "You need an addition $gap_size MB of storage.\n" - printf "\n" - return 1 + 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="...
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...intf "\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 + HOSTVGDRIVESPACE=$(echo "scale=0;" \ + "$HOSTVGDRIVESPACE + $DRIVESPACE" |...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...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;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) - if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then + if [ "$ROOTDRIVE" == &q...
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 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...+ BOOTDRIVESPACE = get_drive_size(BOOTDRIVE) + drive_list.append("BOOT") + drive_space_dict["BOOTDRIVESPACE"] = BOOTDRIVESPACE + drive_space_dict["BOOT_NEED_SIZE"] = BOOT_SIZE + else: + ROOTDRIVESPACE = get_drive_size(ROOTDRIVE) + HOSTVGDRIVESPACE = get_drive_size(HOSTVGDRIVE) + ROOT_NEED_SIZE=ROOT_SIZE * 2 + HOSTVG_NEED_SIZE=SWAP_SIZE + CONFIG_SIZE + LOGGING_SIZE + min_data_size + drive_space_dict["ROOTDRIVESPACE"] = ROOTDRIVESPACE + drive_space_dict["ROOT_NEED_SIZE"] = ROOT_NEED_SIZE +...
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.
...eturn 0 + get_drive_size $BOOTDRIVE BOOTDRIVESPACE + fi printf "\n\nPlease select the disk to use for the Root.\n\n" ROOTDRIVE=$(get_dev_name) || return 0 get_drive_size $ROOTDRIVE ROOTDRIVESPACE @@ -230,7 +235,12 @@ do_configure() fi local space_left=$HOSTVGDRIVESPACE - for part in swap root config logging data ; do + if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then + partlist="boot swap root config logging data" + else + partlist="swap root config logging data" + fi + for part in $partlist ; do...