search for: drive_list

Displaying 7 results from an estimated 7 matches for "drive_list".

Did you mean: driver_list
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...E 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_size $BOOTDRIVE BOOTDRIVESPACE + drive_list="BOOT" + BOOT_NEED_SIZE=$BOOT_SI...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...E 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) else - printf "Required Space : $need_size MB\n\n" + drive_list="ROOT HOSTVG" fi + for drive in $drive_list; do + drive_need_size=$...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...for dev in dev_list: + if dev_list.count(dev) > 1: + count = dev_list.count(dev) + while (count > 1): + dev_list.remove(dev) + count = count - 1 + + return dev_list + +def check_partition_sizes(): + # disk_size need_size + drive_list = [] + drive_space_dict = {} + min_data_size = OVIRT_VARS["DATA_SIZE"] + if DATA_SIZE == -1 : + min_data_size=5 + + if OVIRT_VARS["OVIRT_ISCSI_ENABLED"] == "y": + BOOTDRIVESPACE = get_drive_size(BOOTDRIVE) + drive_list.append("BOOT...
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
..."scale=0;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) @@ -141,6 +167,13 @@ check_partition_sizes() ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l) else drive_list="ROOT HOSTVG" + eval $(printf $HOSTVGDRIVE |awk '{ print "DRIVE="$1; }') + if [ "$ROOTDRIVE" = "$DRIVE" ]; then + HOSTVGDRIVESPACE=$(echo "scale=0; $HOSTVGDRIVESPACE - $ROOT_NEED_SIZE"| bc -l) +...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...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) else @@ -204,7 +204,7 @@ check_partition_sizes() # check if an existing HostVG exists on a device other than the target if [ "$OVIRT_ISCSI_ENABLED" != &qu...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...min_data_size="$DATA_SIZE" if [ "$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_NE...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...; ]; then mpath_device=$dev @@ -152,12 +164,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...