Displaying 10 results from an estimated 10 matches for "rootdrivespace".
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...t;
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 * 2"| bc -l)
HOSTVG_NEED_SIZE=$(echo "sca...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
..._log
exit $rc
diff --git a/scripts/ovirt-config-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 =...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...torage device: $disk_size MB\n"
- printf " 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 =...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...rc=0
if [ -n "$devices" ]; then
printf "\n"
@@ -357,11 +357,27 @@ do_configure()
printf "\n\nPlease select the disk to use for the Root.\n\n"
ROOTDRIVE=$(get_dev_name) || return 0
get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE
+ if ask_yes_or_no "Will Root be shared with other nodes ([Y]es/[N]o)?"; then
+ OVIRT_SHARED_ROOT="y"
+ if ask_yes_or_no "Partition and install Root?"; then
+ OVIRT_ROOT_INSTALL="y"
+ else
+...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...f [ "$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;" \
"$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
- if [ $ROOTDRIVE =...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...a6b..aec3447 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -357,6 +357,22 @@ do_configure()
printf "\n\nPlease select the disk to use for the Root.\n\n"
ROOTDRIVE=$(get_dev_name) || return 0
get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE
+ if ask_yes_or_no "Will Root be shared with other nodes ([Y]es/[N]o)?"; then
+ OVIRT_SHARED_ROOT="y"
+ if ask_yes_or_no "Partition and install Root?"; then
+ OVIRT_ROOT_INSTALL="y"
+ else
+...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...VIRT_INIT"):
+ # if present, use the drive selected with 'ovirt_init' boot parameter
+ # setting these the same until kernel cmdline argument implemented
+ DRIVE=translate_multipath_device(OVIRT_VARS["OVIRT_INIT"])
+ ROOTDRIVE = DRIVE
+ HOSTVGDRIVE = DRIVE
+ ROOTDRIVESPACE = get_drive_size(ROOTDRIVE)
+
+# if the node is Fedora then use GPT, otherwise use MBR
+if os.path.isfile("/etc/fedora-release"):
+ LABEL_TYPE="gpt"
+else:
+ LABEL_TYPE="msdos"
+
+
+
+##################################################################
+
+def wipe_...
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
...E2" = -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
+ HOSTVGDRIVESPACE=$(echo "scale=0;" \
+...
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.
...isk to use for the Boot partition.\n\n"
+ BOOTDRIVE=$(get_dev_name) || return 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=...