Displaying 3 results from an estimated 3 matches for "gap_size".
Did you mean:
  map_size
  
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...ize $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"
-        printf "The target storage device is too small for the desired sizes:\n"
-        printf " S...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...E + $SWAP_SIZE + $ROOT_SIZE * 2" \
-                     "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
+                     "+ $CONFIG_SIZE + $LOGGING_SIZE + $COREDUMP_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)
@@ -186,7 +188,7 @@ do_configure()
     printf "  partition should use up the remaining space on the disk.\n\n"
 
     local space_left=$SPACE
-    for part in boot swap root config logging data ; do
+    for part in boot swap ro...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...("HOSTVG")
+
+    for drive in drive_list:
+        drive_need_size = drive_space_dict["drive" + "NEED_SIZE"]
+        drive_disk_size= drive_space_dict["drive" + "DRIVESPACE"]
+        
+        if drive_need_size > drive_disk_size:
+            gap_size = drive_need_size - drive_disk_size
+            log("\n")
+            log("=============================================================\n")
+            log("The target storage device is too small for the desired sizes:\n")
+            log(" Disk Target: $driv...