On 3 May 2010 at 15:45, James Hammer wrote:

> On 05/03/10 15:30, James Hammer wrote:
> > On 05/03/10 13:39, Romeo Theriault wrote:
> >>
> >>
> >>     How can I resolve the "Found duplicate PV" warning/error?
> >>
> >>
> >> It looks like this link should be able to help you.
> >>
> >> http://kbase.redhat.com/faq/docs/DOC-2991
> >>
> >> Essentially you'll want to create a filter in your lvm.conf file so 
> >> it only scans your multipathed disks.
> >
> > Wonderful!  That worked for me.  Thank you!
> 
> Actually, I take that back.  The first time I ran pvdisplay after 
> re-creating the Physical Volume, it did not display the message.  The 
> second time it did.  So this is what I had done:
> 
> First I created this filter in lvm.conf:
> 
>    filter = [ "a|/dev/dm-*|", "a|/dev/sda*|", "a|/dev/sdb*|", 
> "a|/dev/sdc*|", "r|.*|" ]

I have this:
    filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" 
]

I don't know what you are trying to do with your filter.

> 
> Then, I ran:
> 
> # vgscan
> # pvscan
> 
> Then I rediscovered and logged into the iscsi target.  Following that I ran:
> 
> # pvcreate /dev/dm-18
> # pvdisplay
> 
>    (No warnings/errors.)
> 
> A little later I ran pvdisplay again and get this:
> 
>    Found duplicate PV 2DUtYyu6zYefofnTuoLSm3HicemTkVmj: using /dev/sdr 
> not /dev/sdq
> 
> Hmmm...Any more thoughts?
> 
> -- 
> James Hammer
> [email protected]
> 312-681-5052
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "open-iscsi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/open-iscsi?hl=en.
> 
> 


-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to