Displaying 8 results from an estimated 8 matches for "get_multipath_devices".
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ice_sys" ]; then
- eval $device_var=$(basename $(dirname $device_sys))
+ eval $device_var=$(basename $(dirname "$device_sys"))
return
fi
eval $device_var=1
@@ -49,23 +49,23 @@ get_sd_name() {
# gets the dependent block devices for multipath devices
get_multipath_devices() {
- local mpath_device=mpath-$(basename $1)
- local deplist_var=$2
+ local mpath_device=mpath-$(basename "$1")
+ local deplist_var="$2"
local deplist=""
#get dependencies for multipath device
- local deps=$(dmsetup deps -u $mpath_device \
+...
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow.
Mike
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 Mar 23
1
[PATCH node] Filter out /dev/dm-* devices from device list
...a/scripts/ovirt-config-storage b/scripts/ovirt-config-storage
index 34e84e5..e4b6c98 100755
--- a/scripts/ovirt-config-storage
+++ b/scripts/ovirt-config-storage
@@ -307,14 +307,15 @@ get_dev_name()
devices="$devices /dev/mapper/$dev"
local sd_devs=""
get_multipath_devices $dev sd_devs
- devs_to_remove="${devs_to_remove} ${sd_devs}"
+ local dm_dev=$(multipath -ll $dev | grep $dev | sed -r 's/^.*(dm-[0-9]+ ).*$/\1/')
+ devs_to_remove="${devs_to_remove} ${sd_devs} $dm_dev"
done
# Remove /dev/sd* devices that a...
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.
2010 May 13
0
[PATCH] Replace the HAL calls with udev/systool calls.
...$1
# Return 1 if no HostVG found or only found on $1
@@ -537,10 +508,12 @@ check_existing_hostvg()
printf "\n"
printf "There appears to already be an installation on another device:\n"
for device in $devices; do
+ local uuid
+
get_multipath_devices ${device%p[0-9]} sd_dev
sd_dev=$(echo "$sd_dev" | awk '{print $1}')
- udi=$(hal-find-by-property --key block.device --string /dev/${sd_dev})
- printf "\t$device ($(basename "$udi"))\n"
+ get_uuid $sd_dev uuid
+...
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure
that all multipath devices are excluded in the list of available
drives.
Only drives with an identified bus are included in the list now.
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated.
These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated.
Mike