This is what I used as my filter and the duplicates are now gone...
filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "r|/dev/sd*|",
"a/.*/" ]

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
Sterling James
Sent: Friday, July 30, 2010 5:47 PM
To: [email protected]
Subject: Re: Strange zfcp problem on Redhat V5R2

>>>> On 7/30/2010 at 12:15 AM, Offer Baruch <[email protected]> wrote:

>> Well, I always build the volume group from the multipath devices but
>> sometimes I still see duplicates when I pvscan...
>> What is the solution? Is there a way to exclude the /dev/sdx from lvm?
>
>You would need to change the filter statement in /etc/lvm/lvm.conf to
exclude them.
>Mark Post

Would someone be so kind, and post an example of this for us that are
regex-challenged?

TIA

-----------------------------------------
Please consider the environment before printing this email and any
attachments.

This e-mail and any attachments are intended only for the individual or
company to which it is addressed and may contain information which is
privileged, confidential and prohibited from disclosure or unauthorized use
under applicable law.  If you are not the intended recipient of this e-mail,
you are hereby notified that any use, dissemination, or copying of this
e-mail or the information contained in this e-mail is strictly prohibited by
the sender.  If you have received this transmission in error, please return
the material received to the sender and delete all copies from your system.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email
to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to