logo       

Re: Re: blacklisted paths?: msg#00053

linux.kernel.device-mapper.devel

Subject: Re: Re: blacklisted paths?

Ray Stell <stellr@xxxxxxxxxx> 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@xxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise