search for: byid_list

Displaying 7 results from an estimated 7 matches for "byid_list".

Did you mean: bio_list
2010 Feb 04
3
[PATCH] Make configure_from_network function check if network is up, before touching it
This patch adds a safety verification to configure_from_network function, where network configuration will not be performed if it is already up and running, preventing lost of communication for connections already established. Signed-off-by: Ricardo Marin Matinata <matinata at br.ibm.com> --- scripts/ovirt-early | 9 ++++++--- scripts/ovirt-functions | 7 +++++++ 2 files changed,
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.
...ceed until either device is removed from the system\n" printf "or until the HostVG volume group is removed.\n" @@ -260,40 +232,19 @@ manual_input() # Sample output: /dev/sda get_dev_name() { - local udi_list=$(hal-find-by-capability --capability storage) local byid_list=$(find /dev/disk/by-id -mindepth 1 -not -name '*-part*' 2>/dev/null) - if test -z "$udi_list" -a -z "$byid_list"; then - warn "ERROR: no usable storage devices detected" - return 1 - fi + local devices="" - local d devic...
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 Mar 31
1
[PATCH node] Handle space in storage wwid
..._dev in + case "$block_dev" in *' '*) # we use space as separator warn "block device name '$block_dev' contains space; skipping"; @@ -288,7 +288,7 @@ get_dev_name() done d="" for d in $byid_list; do - devices="$devices `readlink -f $d`"; + devices="$devices $(readlink -f "$d")"; done # FIXME: workaround for detecting virtio block devices @@ -296,7 +296,7 @@ get_dev_name() # FIXME: workaround for detecting cciss devices for d...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...print the +# selected name, then return 0. +# Sample output: /dev/sda +def get_dev_name(): + devices="" + # list separator + for d in os.listdir("/sys/block/"): + if re.match("^[hsv]+d", d): + devices="/dev/%s %s" % (d,devices) + byid_list_cmd = "find /dev/disk/by-id -mindepth 1 -not -name '*-part*' 2>/dev/null" + byid_list = subprocess.Popen(byid_list_cmd, shell=True, stdout=PIPE, stderr=STDOUT) + byid_list_output = byid_list.stdout.read() + for d in byid_list_output.split(): + d = os.readlink(d)...