Displaying 3 results from an estimated 3 matches for "root1_end".
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...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 -s "mkpartfs primary ext2 ${root1_end}M ${root2_end}M"
+ # sleep to ensure filesystems are created before...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...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 -s "mkpartfs primary ext2 ${root1_end}M ${root2_end}M"
+ # sleep to ensure filesystems are created before...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...)" | 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 -s "mkpartfs primary ext2 ${root1_end}M ${root2_end}M"
+ let RootBackup_end=${ROOT_SIZE}*2
+ parted $DR...