search for: hostvgpart

Displaying 7 results from an estimated 7 matches for "hostvgpart".

2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
...[ $ROOTDRIVE == $HOSTVGDRIVE ]; then - parted $HOSTVGDRIVE -s "mkpart primary ext2 ${RootBackup_end}M -1" + if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then + parted "$HOSTVGDRIVE" -s "mkpart primary ext2 ${RootBackup_end}M -1" hostvgpart="3" else - parted $HOSTVGDRIVE -s "mkpart primary ext2 0M -1" + parted "$HOSTVGDRIVE" -s "mkpart primary ext2 0M -1" hostvgpart="1" fi log "Toggling LVM on" - parted $HOSTVGDRIVE -s "set $hostv...
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...k tools." @@ -569,48 +627,52 @@ reread_partitions() create_hostvg() { - log "Creating LVM partition" - - if [ "$ROOTDRIVE" = "$HOSTVGDRIVE" ]; then - parted "$HOSTVGDRIVE" -s "mkpart primary ext2 ${RootBackup_end}M -1" - hostvgpart="3" - elif [ "$BOOTDRIVE" = "$HOSTVGDRIVE" ]; then - parted "$HOSTVGDRIVE" -s "mkpart primary ext2 ${boot_size_si} -1" - hostvgpart="2" - # FIXME : set for gtpsync/parted compat for now - ROOTDRIVE=$BOOTDRIVE...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ne2fs -c 0 -i 0 "${partrootbackup}" log "Creating LVM partition" - if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then + if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then parted $HOSTVGDRIVE -s "mkpart primary ext2 ${RootBackup_end}M -1" hostvgpart="3" else - parted $HOSTVGDRIVE -s "mkpart primary ext2 0M -1" + parted "$HOSTVGDRIVE" -s "mkpart primary ext2 0M -1" hostvgpart="1" fi log "Toggling LVM on" - parted $HOSTVGDRIVE -s "set $hostv...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...+ tune2fs -c 0 -i 0 ${ROOTDRIVE}2 log "Creating LVM partition" - parted $DRIVE -s "mkpart primary ext2 ${RootBackup_end}M -1" + + if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then + parted $HOSTVGDRIVE -s "mkpart primary ext2 ${RootBackup_end}M -1" + hostvgpart="3" + else + parted $HOSTVGDRIVE -s "mkpart primary ext2 0M -1" + hostvgpart="1" + fi log "Toggling LVM on" - parted $DRIVE -s "set 3 lvm on" - parted $DRIVE -s "print" + parted $HOSTVGDRIVE -s "set $...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...ion") + global ROOTDRIVE + global HOSTVGDRIVE + global BOOTDRIVE + global RootBackup_end + if ROOTDRIVE == HOSTVGDRIVE: + parted_cmd = "parted %s -s \"mkpart primary ext2 %sM -1\"" % (HOSTVGDRIVE, RootBackup_end) + os.system(parted_cmd) + hostvgpart="3" + elif BOOTDRIVE == HOSTVGDRIVE: + parted_cmd = "parted %s -s \"mkpart primary ext2 %s -1\"" % (HOSTVGDRIVE, boot_size_si) + os.system(parted_cmd) + hostvgpart="2" + ROOTDRIVE = BOOTDRIVE + else: + os.system("...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...gptsync $ROOTDRIVE + if [ "$OVIRT_ROOT_INSTALL" == "y" ]; then + if [ "gpt" == "$LABEL_TYPE" ]; then + log "Running gptsync to create legacy mbr" + gptsync $ROOTDRIVE + fi fi partpv=${HOSTVGDRIVE}${hostvgpart} -- 1.6.6.1
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