search for: label_type

Displaying 15 results from an estimated 15 matches for "label_type".

Did you mean: label_tmp
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...quot; - # FIXME: save a backup copy, just in case? - log "Wiping old boot sector" - dd if=/dev/zero of=$ROOTDRIVE bs=1024K count=1 - reread_partitions $ROOTDRIVE - partprobe -s $ROOTDRIVE - log "Labeling Drive: $ROOTDRIVE" - parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}" + if [ "$OVIRT_ROOT_INSTALL" == "y" ]; then + log "Starting partitioning of $ROOTDRIVE" + log "Partitioning drive: $ROOTDRIVE" + # FIXME: save a backup copy, just in case? + log "Wiping old boot sector" + dd...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...quot; - # FIXME: save a backup copy, just in case? - log "Wiping old boot sector" - dd if=/dev/zero of=$ROOTDRIVE bs=1024K count=1 - reread_partitions $ROOTDRIVE - partprobe -s $ROOTDRIVE - log "Labeling Drive: $ROOTDRIVE" - parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}" + if [ "$OVIRT_ROOT_INSTALL" == "y" ]; then + log "Starting partitioning of $ROOTDRIVE" + log "Partitioning drive: $ROOTDRIVE" + # FIXME: save a backup copy, just in case? + log "Wiping old boot sector" + dd...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ev/zero of=$BOOTDRIVE bs=1024K count=1 - reread_partitions $BOOTDRIVE - partprobe -s $BOOTDRIVE + reread_partitions "$BOOTDRIVE" + partprobe -s "$BOOTDRIVE" log "Creating boot partition" - parted $BOOTDRIVE -s "mklabel ${LABEL_TYPE}" - parted $BOOTDRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" - reread_partitions $BOOTDRIVE - partboot=$BOOTDRIVE1 - if [ ! -e $partboot ]; then - partboot=${BOOTDRIVE}p1 + parted "$BOOTDRIVE" -s "mklabel ${LABEL_TY...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...$DRIVE - partprobe -s $DRIVE + dd if=/dev/zero of=$ROOTDRIVE bs=1024K count=1 + blockdev --rereadpt $ROOTDRIVE + partprobe -s $ROOTDRIVE MEM_SIZE_MB=$(echo "scale=0; $MEM_SIZE_MB / 1024;" | bc -l) - log "Labeling Drive" - parted $DRIVE -s "mklabel ${LABEL_TYPE}" + log "Labeling Drive: $ROOTDRIVE" + parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}" + if [ $ROOTDRIVE != $HOSTVGDRIVE ]; then + log "Labeling Drive: $HOSTVGDRIVE" + parted $HOSTVGDRIVE -s "mklabel ${LABEL_TYPE}" + fi log &q...
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...;print" + udevadm settle 2> /dev/null || udevsettle + reread_partitions "$drv" + + # sync GPT to the legacy MBR partitions + if [ "${OVIRT_INSTALL_ROOT}" = "y" -a ${hostvgpart} -gt 1 ]; then + if [ "gpt" = "$LABEL_TYPE" ]; then + log "Running gptsync to create legacy mbr" + gptsync "$ROOTDRIVE" + fi + fi - # sync GPT to the legacy MBR partitions - if [ "${OVIRT_INSTALL_ROOT}" = "y" ]; then - if [ "gpt&...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...- 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" - parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}" - if [ -n "$BOOTDRIVE" ]; then + + if [ "$OVIRT_ISCSI_ENABLED" == "y" ]; then + log "Partitioning drive: $BOOTDRIVE" + log "Wiping old boot sector" dd if=/dev/zero of=$BOOTDRIVE bs=1024K count=1 blockdev...
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.
...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" parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}" + if [ -n "$BOOTDRIVE" ]; then + dd if=/dev/zero of=$BOOTDRIVE bs=1024K count=1 + blockdev --rereadpt $BOOTDRIVE + partprobe -s $BOOTDRIVE + log "Creating boot partition" + parted $BOOTDRIVE -s "mklabel ${LABEL_TYPE}" +...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...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_lvm_on_disk(dev): + unmount_logging + part_delim="p" + if "/dev/sd" in dev: + part_delim="" + vg_cmd = &quo...
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...the variable name to set diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index 9b37035..df36752 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -642,7 +642,7 @@ perform_partitioning() parted "$BOOTDRIVE" -s "mklabel ${LABEL_TYPE}" parted "$BOOTDRIVE" -s "mkpartfs primary ext2 0M ${boot_size_si}M" reread_partitions "$BOOTDRIVE" - partboot="$BOOTDRIVE1" + partboot="${BOOTDRIVE}1" if [ ! -e "$partboot" ]; then...
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 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...rm -rf $tmpdir log "done." diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index eed126c..af13935 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -340,12 +340,23 @@ perform_partitioning() parted $DRIVE -s "mklabel ${LABEL_TYPE}" log "Creating boot partition" parted $DRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" + log "Creating Root and RootBackup Partitions" + let root1_end=${boot_size_si}+${ROOT_SIZE} + let root2_end=${root1_end}+${ROOT_SIZE} + parted $DRIV...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...the variable name to set diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index ce9707c..c94c79d 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -624,7 +624,7 @@ perform_partitioning() parted "$BOOTDRIVE" -s "mklabel ${LABEL_TYPE}" parted "$BOOTDRIVE" -s "mkpartfs primary ext2 0M ${boot_size_si}M" reread_partitions "$BOOTDRIVE" - partboot="$BOOTDRIVE1" + partboot="${BOOTDRIVE}1" if [ ! -e "$partboot" ]; then...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...rm -rf $tmpdir log "done." diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage index c448aee..06a5363 100755 --- a/scripts/ovirt-config-storage +++ b/scripts/ovirt-config-storage @@ -531,12 +531,23 @@ perform_partitioning() parted $DRIVE -s "mklabel ${LABEL_TYPE}" log "Creating boot partition" parted $DRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" + log "Creating Root and RootBackup Partitions" + let root1_end=${boot_size_si}+${ROOT_SIZE} + let root2_end=${root1_end}+${ROOT_SIZE} + parted $DRIV...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...form_partitioning() partprobe -s $DRIVE 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" parted $DRIVE -s "mklabel ${LABEL_TYPE}" - log "Creating boot partition" - parted $DRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" log "Creating Root and RootBackup Partitions" - let root1_end=${boot_size_si}+${ROOT_SIZE} - let root2_end=${root1_end}+${ROOT_SIZE} - parted $DRIV...
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated. These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated. Mike