Displaying 5 results from an estimated 5 matches for "appvg".
2010 Jul 21
0
[PATCH] RFC: Advanced Storage Configuration
This patch introduces the concept of an "Advanced Storage Configuration", specifically for automated installs (although it could be hooked into manual install), while preserving the original style of specifying LVs. It accomplishes the following:
* Add an optional AppVG
* Offer new optional LVs - Data2,Swap2 - as part of the new AppVG
* Allows the specification of multiple disks, per VG
The new syntax for ovirt_init, which includes the original one, is:
virt_init=HOSTVGDISK1[,HOSTVGDISK2...][;APPVGDISK1[,APPVGDISK2...]]
where DISK=[usb|scsi[:serial#]|/dev...
2011 May 25
1
Hook script to preserve one partition untouched during install
This hook script tries to address the fact that a RHEV-H installation
will format all the storage devices available in the machine in order to
create HostVG and AppVG with all the available space. It may be the case
that RHEV-H needs to respect and co-exist with a proposed partitioning
scheme, not getting all the storage space for HostVG and AppVG volume
groups.
The proposed solution adds the required logic as a hook script to
ovirt-config-boot service that is...
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
...else
+ mkswap -L "SWAP" /dev/HostVG/Swap
+ echo "/dev/HostVG/Swap swap swap defaults 0 0" >> /etc/fstab
+ fi
fi
if [ "$CONFIG_SIZE" -gt 0 ]; then
log "Creating config partition"
@@ -769,8 +773,12 @@ create_appvg()
if [ "$SWAP2_SIZE" -gt 0 ]; then
log "Creating swap2 partition"
lvcreate --name Swap2 --size ${SWAP2_SIZE}M /dev/AppVG
- mkswap -L "SWAP2" /dev/AppVG/Swap2
- echo "/dev/AppVG/Swap2 swap swap defaults 0 0" >> /etc/f...
2011 Jul 29
0
[PATCH node] fix dracut plugin wildcard handling
...e)"
elif getarg ovirt_init; then
- storage_init=$(getarg ovirt_init)
+ storage_init="$(sed -r 's/^.*ovirt_init=([^ ]*) .*$/\1/' /proc/cmdline)"
else
return 0
fi
@@ -49,13 +49,13 @@ fi
# would partition sda and sdb as part of HostVG and
# sdc and sdd as part of AppVG
# Since we only care which disks are being used, change to a single list
-storage_init=$(echo $storage_init | sed 's/;/,/')
+storage_init="$(echo "$storage_init" | sed 's/;/,/')"
oldIFS=$IFS
lvm pvscan 2>/dev/null
IFS=","
-for dev in $storage_i...
2011 Jul 29
0
[PATCH node] Add debugging info to dracut plugin
...l; then
storage_init="$(sed -r 's/^.*ovirt_init=([^ ]*) .*$/\1/' /proc/cmdline)"
+ info "Found ovirt_init: $storage_init"
else
+ info "storage_init or ovirt_init arguments not found"
return 0
fi
@@ -50,6 +55,7 @@ fi
# sdc and sdd as part of AppVG
# Since we only care which disks are being used, change to a single list
storage_init="$(echo "$storage_init" | sed 's/;/,/')"
+info "Replaced all ';' with ',' : $storage_init"
oldIFS=$IFS
@@ -57,14 +63,17 @@ lvm pvscan 2>/dev/null
IFS=...