search for: do_review

Displaying 14 results from an estimated 14 matches for "do_review".

2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...set /files$OVIRT_DEFAULTS/OVIRT_INIT $DRIVE +set /files$OVIRT_DEFAULTS/OVIRT_INIT $ROOTDRIVE set /files$OVIRT_DEFAULTS/OVIRT_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 @@ -267,15 +286,20 @@ EOF do_review() { - if [ -z "$DRIVE" ]; then - printf "\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"...
2009 May 21
1
[PATCH node] display descriptions for all disks
...82,7 @@ do_configure() { local name_and_size DRIVE=$(get_dev_name) || return 0 - get_selected_drive_size + get_drive_size $DRIVE SPACE printf "\n\nPlease configure storage partitions.\n\n" printf "* Enter partition sizes in MB.\n" @@ -256,8 +264,7 @@ do_review() The local disk will be repartitioned as follows: ================================================ - Physical Hard Disk: $DRIVE - Total storage available: $SPACE MB + Physical Hard Disk: $(get_drive_size $DRIVE) Boot partition size: $BOOT_SIZE MB...
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 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.
...ULTS/OVIRT_VOL_CONFIG_SIZE $CONFIG_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_SIZE $LOGGING_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_DATA_SIZE $DATA_SIZE EOF + + if [ -n $BOOTDRIVE ]; then + augtool <<EOF +set /files$OVIRT_DEFAULTS/OVIRT_BOOT_INIT $BOOTDRIVE +EOF + fi } do_review() @@ -356,20 +373,33 @@ perform_partitioning() partprobe -s $ROOTDRIVE MEM_SIZE_MB=$(echo "scale=0; $MEM_SIZE_MB / 1024;" | bc -l) + local boot_size_si=$(echo "scale=0; $BOOT_SIZE * (1024 * 1024) / (1000 * 1000)" | bc -l) log "Labeling Drive: $ROOTDRIVE&...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...set /files$OVIRT_DEFAULTS/OVIRT_INIT $DRIVE -set /files$OVIRT_DEFAULTS/OVIRT_VOL_BOOT_SIZE $BOOT_SIZE set /files$OVIRT_DEFAULTS/OVIRT_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 ))...
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...s$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_SIZE $LOGGING_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_DATA_SIZE $DATA_SIZE EOF - if [ -n $BOOTDRIVE ]; then + if [ -n "$BOOTDRIVE" ]; then augtool <<EOF set /files$OVIRT_DEFAULTS/OVIRT_BOOT_INIT $BOOTDRIVE 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...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...f --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 41177a4..2e523df 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -208,11 +208,9 @@ do_configure() printf " partition should use up the remaining space on the disk.\n\n" do_review - read -ep "Use these default values? (Y/n) " - - case $REPLY in - Y|y) return;; - esac + if ask_yes_or_no "Use these default values (y/n)?"; then + return + fi local space_left=$SPACE for part in boot swap root config logging data ; do @...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...with existing HostVG.\n" && return 0 - get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE + get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE echo $HOSTVGDRIVESPACE fi printf "\n\nPlease configure storage partitions.\n\n" @@ -482,8 +495,8 @@ do_review() The selected disk will be repartitioned as follows: ================================================ - Root Drive: $(get_drive_size $ROOTDRIVE) - HostVG Drive: $(get_drive_size $HOSTVGDRIVE) + Root Drive: $(get_drive_size "$ROOTDRIVE&quo...
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...+ select_a_drive DRIVE + debug "DRIVE=$DRIVE" + test -z "$DRIVE" && return 0 + + print_drive_size $DRIVE SPACE printf "\n\nPlease configure storage partitions.\n\n" printf "* Enter partition sizes in MB.\n" @@ -286,7 +355,7 @@ do_review() The local disk will be repartitioned as follows: ================================================ - Physical Hard Disk: $(get_drive_size $DRIVE) + Physical Hard Disk: $(print_drive_size $DRIVE) Boot partition size: $BOOT_SIZE MB Swap partition size: $...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes of storage, such as removeable media devices with no media present.
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-* ACK to all. Pushed.
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
..._ROOT_SIZE $ROOT_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_CONFIG_SIZE $CONFIG_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_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_S...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...uot; ]; then - partlist="boot swap root config logging data" + partlist="boot" # swap root config logging data" + local space_left=$BOOTDRIVESPACE else partlist="swap root config logging data" fi @@ -303,24 +315,25 @@ EOF do_review() { - if [ -z "$ROOTDRIVE" ]; then + if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then printf "\nNo Root storage device selected.\n" return fi - local data_size_display="$DATA_SIZE MB&quo...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...es$OVIRT_DEFAULTS/OVIRT_VOL_LOGGING_SIZE $LOGGING_SIZE set /files$OVIRT_DEFAULTS/OVIRT_VOL_DATA_SIZE $DATA_SIZE EOF - if [ -n $BOOTDRIVE ]; then + if [ -n "$BOOTDRIVE" ]; then augtool <<EOF set /files$OVIRT_DEFAULTS/OVIRT_BOOT_INIT $BOOTDRIVE 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 -...