Displaying 8 results from an estimated 8 matches for "sd_devs".
Did you mean:
d_devs
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ot;$dev" =~ p[0-9]+\$ ]]; then
devices="$devices /dev/cciss/dev"
fi
done
@@ -306,7 +306,7 @@ get_dev_name()
for dev in $(dmsetup ls --target=multipath | awk '{print $1}'); do
devices="$devices /dev/mapper/$dev"
local sd_devs=""
- get_multipath_devices $dev sd_devs
+ get_multipath_devices "$dev" sd_devs
devs_to_remove="${devs_to_remove} ${sd_devs}"
done
@@ -352,7 +352,7 @@ do_configure()
printf "\n\nPlease select the disk to use for the Boot partit...
2010 Mar 23
1
[PATCH node] Filter out /dev/dm-* devices from device list
...+), 2 deletions(-)
diff --git 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"...
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.
HAL has been deprecated, and this patch removes all HAL specific calls
from the configuration scripts.
HAL is still present in the Python scripts, but will be removed in a
different patch.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
ChangeLog | 3 +
configure.ac | 2 -
ovirt-node.spec.in | 1 -
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.
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 Dec 08
1
sd() for numeric row entries
How might one calculate standard deviation, row-wise, for the numeric values in a data frame such as this one
V1 V2 V3 V4 V5
1 rs11089130 0.4565 0.4574 0.4569 0.4572
2 rs738829 0.6548 0.6519 0.6448 0.6549
3 rs915674 0.7503 0.7500 0.7517 0.7502
and place the standard deviation in a 6th column called “std_dev”?
Regards,
Jim
[[alternative HTML version deleted]]
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...target=multipath | cut -f1"
+ multipath_list = subprocess.Popen(multipath_list_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ multipath_list_output = multipath_list.stdout.read()
+
+ for d in multipath_list_output:
+ devices="/dev/mapper/%s %s" % (d, devices)
+ sd_devs=""
+ get_multipath_deps(d, sd_devs)
+
+ dm_dev_cmd = "multipath -ll \"%s\" | grep \"%s\" | sed -r 's/^.*(dm-[0-9]+ ).*$/\1/' )" % (d, d)
+ dm_dev = subprocess.Popen(dm_dev_cmd, shell=True, stdout=PIPE, stderr=STDOUT)
+ dm_d...