Re: [PATCH 3/6] Create multipath.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-01-20 at 19:03 -0500, Peter Jones wrote:
> Revamp this since multipath is now writing our rules for us.
> 
> Use device.serial/device.vendor/device.model where appropriate, and
> don't give the device a braindead mode.  Also change /when/ we write the
> files out.
> ---
>  storage/__init__.py         |   11 +
>  storage/devicelibs/mpath.py |  517 +++----------------------------------------
>  storage/devices.py          |   10 +-
>  storage/devicetree.py       |   27 ++-
>  4 files changed, 65 insertions(+), 500 deletions(-)
>
> diff --git a/storage/devicetree.py b/storage/devicetree.py
> index 4356ca5..5fa68f6 100644
> --- a/storage/devicetree.py
> +++ b/storage/devicetree.py
> @@ -1912,10 +1919,24 @@ class DeviceTree(object):
>  
>          # Having found all the disks, we can now find all the multipaths built
>          # upon them.
> -        for mp in self.__multipaths.values():
> +        whitelist = []
> +        mpaths = self.__multipaths.values()
> +        mpaths.sort(key=lambda d: d.name)
> +        for mp in mpaths:
>              log.info("adding mpath device %s" % mp.name)
>              mp.setup()
> +            whitelist.append(mp.name)
> +            for p in mp.parents:
> +                self.addIgnoredDisk(p)

I thought it was decided today that mpath member disks should not be
ignored, since that's the case for biosraid member disks.


Dave

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux