Displaying 9 results from an estimated 9 matches for "do_confirm".
Did you mean:
__confirm
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.
...VE}1 -L Boot
+ tune2fs -c 0 -i 0 ${BOOTDRIVE}1
+ fi
+ mke2fs ${ROOTDRIVE}1 -L Root
+ mke2fs ${ROOTDRIVE}2 -L RootBackup
tune2fs -c 0 -i 0 ${ROOTDRIVE}1
tune2fs -c 0 -i 0 ${ROOTDRIVE}2
log "Creating LVM partition"
@@ -468,6 +498,7 @@ perform_partitioning()
do_confirm()
{
+
if [ -z "$ROOTDRIVE" ]; then
printf "\nNo storage device selected.\n"
return
@@ -502,6 +533,101 @@ do_confirm()
done
}
+do_iscsi_target()
+{
+while true; do
+ OPTIONS="\"Target IP\" \"Target Port\"" #\"C...
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.
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...ext2 0M ${boot_size_si}M"
reread_partitions "$BOOTDRIVE"
- partboot="$BOOTDRIVE1"
+ partboot="${BOOTDRIVE}1"
if [ ! -e "$partboot" ]; then
partboot="${BOOTDRIVE}p1"
fi
@@ -817,11 +817,26 @@ do_confirm()
else
return
fi
+ # store networking config since it was created before storage was established for iscsi targets
+ if [ "$OVIRT_ISCSI_NETWORKING" == "y" ]; then
+ ovirt_store_config \
+ /etc/sysconfig/network-scrip...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...vgpart}
if [ ! -e "$partpv" ]; then
# e.g. /dev/cciss/c0d0p2
- partpv=${DRIVE}p3
+ partpv=${HOSTVGDRIVE}p${hostvgpart}
fi
log "Creating physical volume"
if [ ! -e "$partpv" ]; then
@@ -432,7 +468,7 @@ perform_partitioning()
do_confirm()
{
- if [ -z "$DRIVE" ]; then
+ if [ -z "$ROOTDRIVE" ]; then
printf "\nNo storage device selected.\n"
return
fi
@@ -499,8 +535,10 @@ DATA_SIZE=${OVIRT_VOL_DATA_SIZE:-$default_data_size}
if [ -n "$OVIRT_INIT" ]; then
# if...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...ext2 0M ${boot_size_si}M"
reread_partitions "$BOOTDRIVE"
- partboot="$BOOTDRIVE1"
+ partboot="${BOOTDRIVE}1"
if [ ! -e "$partboot" ]; then
partboot="${BOOTDRIVE}p1"
fi
@@ -794,11 +794,26 @@ do_confirm()
else
return
fi
+ # store networking config since it was created before storage was established for iscsi targets
+ if [ "$OVIRT_ISCSI_NETWORKING" == "y" ]; then
+ ovirt_store_config \
+ /etc/sysconfig/network-scrip...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...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
@@ -474,19 +472,15 @@ do_confirm()
"$wb$sp$w" \
"$w8" \
"$w8"
- printf "\n\tContinue? (Y/n) "
- read -e
- case $REPLY in
- Y|y)
- if check_partition_sizes; then
- perform_partitioning
-...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...sleep 10
- if [ -n "$BOOTDRIVE" ]; then
- mke2fs ${BOOTDRIVE}1 -L Boot
- tune2fs -c 0 -i 0 ${BOOTDRIVE}1
- fi
mke2fs ${ROOTDRIVE}1 -L Root
mke2fs ${ROOTDRIVE}2 -L RootBackup
tune2fs -c 0 -i 0 ${ROOTDRIVE}1
@@ -499,7 +533,7 @@ perform_partitioning()
do_confirm()
{
- if [ -z "$ROOTDRIVE" ]; then
+ if [[ -z "$ROOTDRIVE" && "$OVIRT_ISCSI_ENABLED" != "y" ]]; then
printf "\nNo storage device selected.\n"
return
fi
@@ -694,7 +728,7 @@ if [ "$1" == "AUTO&quo...
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
..."$drv"
+ reread_partitions "$drv"
+ log "Labeling Drive: $drv"
+ parted "$drv" -s "mklabel ${LABEL_TYPE}"
+ fi
+ done
create_hostvg
+ [ -n ${APPVGDRIVE} ] && create_appvg
+ stop_log
}
do_confirm()
@@ -900,6 +1035,19 @@ fi
done
}
+cross_check_host_app()
+{
+for hdrv in $HOSTVGDRIVE; do
+ for adrv in $APPVGDRIVE; do
+ if [ "${hdrv}" = "${adrv}" ]; then
+ # Skip disk partitioning, AppVGs overlaps with HostVGs
+ return 1
+ fi
+...