And delete the lvm cache before the scan, if you haven't already. -- Dave
On May 3, 8:33 pm, dave <[email protected]> wrote: > IIRC, LVM was wonky when I tried to fix something similar to this. > Assuming you only want the partitions on sda, sdb, sdc and the > multipath devices, try: > > filter = [ "a|/dev/dm-*|", "a|/dev/sda[0-9]|", "a|/dev/sdb[0-9]|", "a|/ > dev/sdc[0-9]|", "r|.*|" ] > > -- > Dave > > On May 3, 2:45 pm, James Hammer <[email protected]> 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|.*|" ] > > > 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 > > athttp://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 > athttp://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.
