Displaying 7 results from an estimated 7 matches for "remaining_mb".
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
..."
- if [ "$DATA_SIZE" = -1 ]; then
+ if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
+ local data_size_display="$DATA_SIZE MB"
+ if [ "$DATA_SIZE" = -1 ]; then
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
- local remaining_mb=$(( $ROOTDRIVESPACE - $SWAP_SIZE \
- - $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
- else
- local remaining_mb=$(( $HOSTVGDRIVESPACE - $SWAP_SIZE - $CONFIG_SIZE - $LOGGING_SIZE ))
+ if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ local r...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...intf "\nNo storage device selected.\n"
+ if [ -z "$ROOTDRIVE" ]; then
+ printf "\nNo Root storage device selected.\n"
return
fi
local data_size_display="$DATA_SIZE MB"
if [ "$DATA_SIZE" = -1 ]; then
- local remaining_mb=$(( $SPACE - $SWAP_SIZE \
- - $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
+
+ if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ local remaining_mb=$(( $ROOTDRIVESPACE - $SWAP_SIZE \
+ - $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
+ else
+...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...EOF
@@ -478,7 +496,7 @@ do_review()
local data_size_display="$DATA_SIZE MB"
if [ "$DATA_SIZE" = -1 ]; then
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then
local remaining_mb=$(( $ROOTDRIVESPACE - $SWAP_SIZE \
- $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
test $remaining_mb -lt 0 && is_negative=1
@@ -557,7 +575,7 @@ check_existing_hostvg()
# - remove LVM volumes and groups
wipe_lvm_on_disk()
{
- local dev=${1-...
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
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...VIRT_VOL_SWAP_SIZE $SWAP_SIZE
set /files$OVIRT_DEFAULTS/OVIRT_VOL_ROOT_SIZE $ROOT_SIZE
set /files$OVIRT_DEFAULTS/OVIRT_VOL_CONFIG_SIZE $CONFIG_SIZE
@@ -277,7 +274,7 @@ do_review()
local data_size_display="$DATA_SIZE MB"
if [ "$DATA_SIZE" = -1 ]; then
- local remaining_mb=$(( $SPACE - $BOOT_SIZE - $SWAP_SIZE \
+ local remaining_mb=$(( $SPACE - $SWAP_SIZE \
- $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
data_size_display="$remaining_mb MB"
fi
@@ -287,7 +284,6 @@ do_review()
The local disk will be repartitioned as f...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
..._SIZE $LOGGING_SIZE
+set /files$OVIRT_DEFAULTS/OVIRT_VOL_COREDUMP_SIZE $COREDUMP_SIZE
set /files$OVIRT_DEFAULTS/OVIRT_VOL_DATA_SIZE $DATA_SIZE
EOF
}
@@ -248,7 +251,7 @@ do_review()
local data_size_display="$DATA_SIZE MB"
if [ "$DATA_SIZE" = -1 ]; then
local remaining_mb=$(( $SPACE - $BOOT_SIZE - $SWAP_SIZE \
- - $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
+ - $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE - $COREDUMP_SIZE ))
data_size_display="$remaining_mb MB"
fi
@@ -263,6 +266,7 @@ The local disk will b...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...EOF
@@ -478,7 +478,7 @@ do_review()
local data_size_display="$DATA_SIZE MB"
if [ "$DATA_SIZE" = -1 ]; then
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then
local remaining_mb=$(( $ROOTDRIVESPACE - $SWAP_SIZE \
- $ROOT_SIZE * 2 - $CONFIG_SIZE - $LOGGING_SIZE ))
test $remaining_mb -lt 0 && is_negative=1
@@ -529,7 +529,7 @@ check_existing_hostvg()
grep "HostVG" | awk '{print $1}' )"...