FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 01-20-2010, 03:12 PM
Chris Lumens
 
Default Multipath members should not be added to the ignored disk list.

> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index 3c81b65..4df31bc 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -886,8 +886,10 @@ class DeviceTree(object):
> if name in self._ignoredDisks:
> return True
>
> - if udev_device_is_disk(info) and not udev_device_is_md(info) and
> - not udev_device_is_dm(info):
> + if udev_device_is_disk(info) and
> + not udev_device_is_md(info) and
> + not udev_device_is_dm(info) and
> + not udev_device_is_multipath_member(info):
> if self.exclusiveDisks and name not in self.exclusiveDisks:
> self.addIgnoredDisk(name)
> return True

Making changes to isIgnored always makes me nervous, but this looks to
be correct and consistent with how we're already treating other
aggregate devices.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org