search for: mkpartf

Displaying 13 results from an estimated 13 matches for "mkpartf".

Did you mean: mkpart
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...ipts/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 $DRIVE -s "mkpartfs primary ext2 ${boot_size_si}M ${root1_end}M" + parted $DRIVE...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...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 $DRIVE -s "mkpartfs primary ext2 ${boot_size_si}M ${root1_end}M" - parted $DRIVE...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...if [ $ROOTDRIVE != $HOSTVGDRIVE ]; then + log "Labeling Drive: $HOSTVGDRIVE" + parted $HOSTVGDRIVE -s "mklabel ${LABEL_TYPE}" + fi log "Creating Root and RootBackup Partitions" let RootBackup_end=${ROOT_SIZE}*2 - parted $DRIVE -s "mkpartfs primary ext2 0M ${ROOT_SIZE}M" - parted $DRIVE -s "mkpartfs primary ext2 ${ROOT_SIZE}M ${RootBackup_end}M" + parted $ROOTDRIVE -s "mkpartfs primary ext2 0M ${ROOT_SIZE}M" + parted $ROOTDRIVE -s "mkpartfs primary ext2 ${ROOT_SIZE}M ${RootBackup_end}M"...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...ipts/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 $DRIVE -s "mkpartfs primary ext2 ${boot_size_si}M ${root1_end}M" + parted $DRIVE...
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.
...OTDRIVE" ]; 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}" + parted $BOOTDRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" + fi if [ $ROOTDRIVE != $HOSTVGDRIVE ]; then log "Labeling Drive: $HOSTVGDRIVE" parted $HOSTVGDRIVE -s "mklabel ${LABEL_TYPE}" fi log "Creating Root and RootBackup Partitions" let RootBack...
2009 Dec 21
26
Questions on qcow, qcow2 versus LVM
I''ve been using lvm under centos to create the backing store for domUs and although the performance seems acceptable it has some shortcomings. The biggest of which is the LVM bug which prevents me from removing an lv (it says it is still mounted and it definitely isnt). I thought this was just a centos bug but it appears to be evident in debian and ubuntu too and I really can''t
2012 Jan 06
6
USB install annoyances
I tried to boot from my 6.0 USB key, no joy. Updated it to 6.2. Still no joy: it gets started, I do the disk layout, it formats the drives, and then fails, saying that it can't find "image# 1". Over in the log, I see a lot of it not finding any drive at all, yet all the h/d drives and sda2, which is what the USB key is, and where the linux partition is, are mounted. Guys, any idea
2010 May 10
1
[PATCH node] RESEND: fix iscsi installation problems
...e 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 partboot="${BOOTDRIVE}p1" fi @@ -817,11 +8...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
..._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_TYPE}" + parted "$BOOTDRIVE" -s...
2010 Apr 09
0
[PATCH node] fix iscsi installation problems
...e 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 partboot="${BOOTDRIVE}p1" fi @@ -794,11 +7...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...old boot sector" 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}" parted $BOOTDRIVE -s "mkpartfs primary ext2 0M ${boot_size_si}M" + # sleep to ensure filesystems are created before continuing + sleep 10 + mke2fs ${BOOTDRIVE}1 -L Boot + tune2fs -c 0 -i 0 ${BOOTDRIVE}1 + log "Completed!" + return fi + + log "Starting partiti...
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 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...quot;) + wipe_partitions(BOOTDRIVE) + reread_partitions(BOOTDRIVE) + log("Creating boot partition") + os.system("parted \"%s\" -s \"mklabel %s\"") % (BOOTDRIVE, LABEL_TYPE) + os.system("parted \"%s\" -s \"mkpartfs primary ext2 0M %sM") % (BOOTDRIVE, boot_size_si) + reread_partitions(BOOTDRIVE) + partboot= BOOTDRIVE + "1" + if not os.path.exists(partboot): + partboot = BOOTDRIVE + "p1" + # sleep to ensure filesystems are created before continuin...