Displaying 20 results from an estimated 21 matches for "root_size".
2010 Apr 05
1
RESEND: [PATCH node 1/3] enables ability for a common shared root
..."$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then
drive_list="ROOT"
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l)
else
@@ -204,7 +204,7 @@ check_partition_sizes()
# check if an existing HostVG exists on a device other than the target
if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
devices="$(pvs -o pv_name,vg_name --noheading...
2009 Nov 04
1
[PATCH node] add ability to select separate disks for Root and HostVG in o-c-storage
...100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -85,30 +85,43 @@ check_partition_sizes()
fi
printf "\n"
- get_drive_size $DRIVE SPACE
- disk_size=$SPACE
- need_size=$(echo "scale=0;" \
- "$SWAP_SIZE + $ROOT_SIZE * 2" \
- "+ $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
-
- if [ $need_size -gt $disk_size ]; then
- local gap_size=$(echo "scale=0; $need_size-$disk_size;" | bc -l)
- printf "\n"
- printf "=============...
2009 Oct 22
0
[PATCH node] merge Root and /boot partitions
...ive
e2label $candidate_dev RootUpdate
diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index af13935..77e00d0 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -22,14 +22,12 @@ fi
default_overcommit=0.5
-default_boot_size=50
default_root_size=256
default_config_size=5
default_logging_size=2048
# -1 indicates data partition should use remaining disk
default_data_size=-1
-boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
@@ -90,7 +88,7 @@ check_partition_sizes()
get_drive_size $DRIVE SPACE
disk_siz...
2010 Apr 01
2
[PATCH node 1/3] Enables ability to have a common shared root
...s=1024K count=1
+ blockdev --rereadpt $ROOTDRIVE
+ partprobe -s $ROOTDRIVE
+ log "Labeling Drive: $ROOTDRIVE"
+ parted $ROOTDRIVE -s "mklabel ${LABEL_TYPE}"
+ log "Creating Root and RootBackup Partitions"
+ let RootBackup_end=${ROOT_SIZE}*2
+ parted $ROOTDRIVE -s "mkpart primary ext2 0M ${ROOT_SIZE}M"
+ parted $ROOTDRIVE -s "mkpart primary ext2 ${ROOT_SIZE}M ${RootBackup_end}M"
+ # sleep to ensure filesystems are created before continuing
+ sleep 10
+ mke2fs ${ROOTDRIVE}1 -L Ro...
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
...@ 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 continuing
+ sleep 10
+...
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.
...ot;
}
diff --git a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index 57aaebd..f9a5b41 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -21,13 +21,13 @@ if is_booted_from_local_disk; then
fi
default_overcommit=0.5
-
+default_boot_size=50
default_root_size=256
default_config_size=5
default_logging_size=2048
# -1 indicates data partition should use remaining disk
default_data_size=-1
-
+boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
@@ -206,6 +206,11 @@ get_dev_name()
do_configure()
{
local name_and_size
+ if...
2009 May 20
2
[PATCH node] Adds support for a core dump partition to the node.
...-# ovirt-config-storage [swap size] [boot size] [root size] [logging size] [data size]
+# ovirt-config-storage [swap size] [boot size] [root size] [logging size] [core dump size] [data size]
#
# All sizes are in megabytes
#
@@ -25,7 +25,8 @@ default_overcommit=0.5
default_boot_size=50
default_root_size=256
default_config_size=5
-default_logging_size=256
+default_logging_size=2048
+default_coredump_size=10240
# -1 indicates data partition should use remaining disk
default_data_size=-1
@@ -33,6 +34,7 @@ boot_min_size=50
root_min_size=256
config_min_size=5
logging_min_size=5
+coredump_min_si...
2009 Sep 30
0
[PATCH node] RESEND: split root file systems out of HostVG onto separate partitions
...@ 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 continuing
+ sleep 10
+...
2009 Dec 10
0
[PATCH node] Enables stateless iscsi remote boot
...a4 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -85,17 +85,23 @@ check_partition_sizes()
fi
printf "\n"
- get_drive_size $ROOTDRIVE ROOTDRIVESPACE
- get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE
- ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l)
- HOSTVG_NEED_SIZE=$(echo "scale=0;" \
- "$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
-
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
- drive_list="ROOT"
- ROOT_NEED_SIZE=$(echo "scale=...
2009 May 21
1
[PATCH node] display descriptions for all disks
...fi
}
check_partition_sizes()
@@ -69,7 +73,7 @@ check_partition_sizes()
fi
printf "\n"
- get_selected_drive_size
+ get_drive_size $DRIVE SPACE
disk_size=$SPACE
need_size=$(echo "scale=0;" \
"$BOOT_SIZE + $SWAP_SIZE + $ROOT_SIZE * 2" \
@@ -160,6 +164,10 @@ get_dev_name()
esac
# There are two or more; make the user choose.
+ # display description for each disk
+ for d in $devices; do
+ get_drive_size $d >&2
+ done
local choices="$devices Abort"
select device in $ch...
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
..."$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
- if [ $ROOTDRIVE == $HOSTVGDRIVE ]; then
+ if [ "$ROOTDRIVE" == "$HOSTVGDRIVE" ]; then
drive_list="ROOT"
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG_NEED_SIZE"| bc -l)
else
@@ -204,7 +204,7 @@ check_partition_sizes()
# check if an existing HostVG exists on a device other than the target
if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
devices="$(pvs -o pv_name,vg_name --noheading...
2010 Mar 17
1
[PATCH][node REPOST] Improve performance of multipath translations
...$BOOT_SIZE
else
- get_drive_size $ROOTDRIVE ROOTDRIVESPACE
- get_drive_size $HOSTVGDRIVE HOSTVGDRIVESPACE
+ get_drive_size "$ROOTDRIVE" ROOTDRIVESPACE
+ get_drive_size "$HOSTVGDRIVE" HOSTVGDRIVESPACE
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l)
HOSTVG_NEED_SIZE=$(echo "scale=0;" \
"$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
@@ -224,12 +236,13 @@ manual_input()
while true; do
read -rp "Enter disk device path: " manual_...
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
2006 Jul 27
3
Ocfs-users Digest, Vol 37, Issue 2
...nor_version: <INVALID VALUE> 0
major_version: <INVALID VALUE> 2
signature: OracleCFS
mount_point: /ora02
serial_num: 0
device_size: 26843529216
start_off: 0
bitmap_off: 56320
publ_off: 23552
vote_off: 39936
root_bitmap_off: 0
data_start_off: 1368064
root_bitmap_size: 0
root_off: 2416640
root_size: 0
cluster_size: 131072
num_nodes: 32
num_clusters: 204785
dir_node_size: 0
file_node_size: 0
internal_off: 1368064
node_cfg_off: 4096
node_cfg_size: 17408
new_cfg_off: 21504
prot_bits: -rwxr-xr-x
uid: 5550 (oracle)
gid: 5550 (dba)
excl_mount: OCFS_INVALID_NODE_NUM
ERROR: Volume header bad. Exiting...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...new file mode 100644
index 0000000..a2a83a5
--- /dev/null
+++ b/scripts/storage.py
@@ -0,0 +1,451 @@
+#!/usr/bin/python
+from ovirtfunctions import *
+import os
+import time
+import re
+import subprocess
+from subprocess import PIPE, STDOUT
+
+
+default_overcommit=0.5
+default_boot_size=50
+default_root_size=256
+default_config_size=5
+default_logging_size=2048
+BOOTDRIVE = ""
+RootBackup_end = ""
+# -1 indicates data partition should use remaining disk
+default_data_size=-1
+
+mem_size_cmd = "awk '/MemTotal:/ { print $2 }' /proc/meminfo"
+mem_size_mb = subprocess....
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
...ESPACE + $DRIVESPACE" | bc -l)
+ else
+ APPVGDRIVESPACE=$DRIVESPACE
+ fi
+ done
+ APPVG_NEED_SIZE=$(echo "scale=0; $SWAP2_SIZE + $min_data2_size" | bc -l)
+ fi
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2"| bc -l)
HOSTVG_NEED_SIZE=$(echo "scale=0;" \
"$SWAP_SIZE + $CONFIG_SIZE + $LOGGING_SIZE + $min_data_size" | bc -l)
@@ -141,6 +167,13 @@ check_partition_sizes()
ROOT_NEED_SIZE=$(echo "scale=0; $ROOT_SIZE * 2 + $HOSTVG...
2012 Apr 14
2
running xcp (or xenserver) from usb driver or SD card
Hi,
Do you think it''s possible to run Xenserver/XCP or xen from an usb drive or
memory card like it''s possible for vmware please ? Is it recommended ? Are
there any performance issue :-) ? I would like to dedicate all of the
local storage to hosting VMs only.
Looking at xen/xenserver/xcp doc, i was wondering why there''s so few
tutorial on installing them on usb
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...follows:
================================================
- Physical Hard Disk: $(get_drive_size $DRIVE)
+ Physical Hard Disk: $(print_drive_size $DRIVE)
Boot partition size: $BOOT_SIZE MB
Swap partition size: $SWAP_SIZE MB
Installation partition size: $ROOT_SIZE * 2 MB
@@ -519,7 +588,7 @@ DATA_SIZE=${OVIRT_VOL_DATA_SIZE:-$default_data_size}
if [ -n "$OVIRT_INIT" ]; then
# if present, use the drive selected with 'ovirt_init' boot parameter
DRIVE=$OVIRT_INIT
- get_drive_size $DRIVE SPACE
+ print_drive_size $DRIVE SPACE
fi...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes
of storage, such as removeable media devices with no media present.
2004 Mar 10
9
Lock contention issue with ocfs
I am still having this weird problem with nodes hanging while I'm
running OCFS. I'm using OCFS 1.0.9-12 and RHAS 2.1
I've been working on tracking it down and here's what I've got so far:
1. I create a file from node 0. This succeeds; I can /bin/cat the
file, append, edit, or whatever.
2. From node 1, I do an operation that accesses the DirNode (e.g.
/bin/ls)
3. Node 0