search for: rootdrive

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

2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -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 == $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()...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...t diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 8d59a6b..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?"...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...f target storage 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...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...n_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_NEED_SIZE=$(echo "scale=0;" \ "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l) -...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...fi stop_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...
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.
...= "y" ]; then + printf "\n\nPlease select the disk 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=&...
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 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...uot;\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 ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l) HOSTVG_NEED_SIZE=$...
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
..."$DATA_SIZE2" = -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;&qu...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...return size + +if OVIRT_VARS.has_key("OVIRT_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" + + + +##########################...
2011 Aug 31
1
[PATCH node] fix install when VG exists on disk
...me_output) return @@ -372,7 +378,9 @@ class Storage: log("Removing old LVM partitions") wipe_volume_group("HostVG") + log("Wiping LVM on HOSTVGDRIVE") self.wipe_lvm_on_disk(self.HOSTVGDRIVE) + log("Wiping LVM on ROOTDRIVE") self.wipe_lvm_on_disk(self.ROOTDRIVE) self.boot_size_si = self.BOOT_SIZE * (1024 * 1024) / (1000 * 1000) if OVIRT_VARS.has_key("OVIRT_ISCSI_ENABLED") and OVIRT_VARS["OVIRT_ISCSI_ENABLED"] == "y": -- 1.7.4.4
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...oot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage must be configured prior to configuring the management interface.\n\n" - exit 99 +...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...oot diff --git a/scripts/ovirt-config-networking b/scripts/ovirt-config-networking index 4d412ac..810d0e0 100755 --- a/scripts/ovirt-config-networking +++ b/scripts/ovirt-config-networking @@ -24,10 +24,12 @@ CONFIGURED_NIC="" VLAN_ID="" VL_ROOT="" +if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then # if local storage is not configured, then exit the script -if ! is_local_storage_configured; then - printf "Local storage must be configured prior to configuring the management interface.\n\n" - exit 99 +...
2007 Oct 26
0
Wine release 0.9.48
...elf because of a release. msi: Include the null terminator when writing data to the stream. msi: Set media info strings to NULL after freeing them. cabinet: Fix two tests that return E_FAIL on win98. msi: Add missing newline to the adm_custom_action table. msi: Set the ROOTDRIVE property so the admin sequence won't choose its own. advpack: Restore the LProgramF string using the acquired Program Files string. user32: Fix a test that now passes in Windows. user32: Define WM_LBTRACKPOINT if it's not previously defined. msi: Define _WIN32_MSI to...