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

Re: [dm-devel] Re: blacklisted paths?



Ray Stell <stellr cns vt edu> wrote:
> On Tue, Sep 20, 2005 at 08:01:53AM -0400, Ray Stell wrote:
> > devnode_blacklist {
> >         devnode "hd*"
> >         devnode "fd*"
> >         devnode "ram*"
> >         devnode "md*"
> > }
> 
> I removed the * chars from this block it mapped all the paths.  

Good to see that they are all mapped now. You may want to switch to using
"^" to match beginning of line and also use the multiple match / single
line regular expression.

Here is an example of what I am running. I believe it is close to the
/etc/multipath.conf example file.

devnode_blacklist {
        devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
        devnode "^hd[a-z][0-9]*"
        devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
}

-andmike
--
Michael Anderson
andmike us ibm com


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