Help problem with RHEL4 LVM + EMC PowerPath : Found duplicatePV...

Robert von Bismarck robert.vonbismarck at smart-telecom.ch
Tue Oct 31 10:46:59 CST 2006


AFAIK, PERC volumes shows up as /dev/sda, /dev/sdb, etc, to the linux kernel, so it should ok for a single two-disk mirror.

You should edit the filter to add only the devices on which you will use LVM, rejecting the others.
I believe you may only add one filter line to the lvm.conf file so make sure your regex matches all your devices.
After editing the file to your liking, you must run vgscan to update the lvm cache.

If it does not do what you want, try vgscan -vvvv (very verbose output I'm afraid) to see where it locks.

Of course, never do tests on a production system :)

Cheers,

Robert

 

> -----Message d'origine-----
> De : linux-poweredge-bounces at dell.com 
> [mailto:linux-poweredge-bounces at dell.com] De la part de Florent Gilain
> Envoyé : mardi, 31. octobre 2006 17:33
> À : linux-poweredge at dell.com
> Objet : RE: Help problem with RHEL4 LVM + EMC PowerPath : 
> Found duplicatePV...
> 
>  hummm...
> 
> I suppose it's the same with our 2950 with 2 SAS HD into it in RAID 1
> configuration ?
> 
> After updating this file, should i run any command to restart 
> a service or
> inform Linux about that update ?
> Or should i just run again the system-config-lvm command ?
> 
> Florent
> 
> -----Message d'origine-----
> De : linux-poweredge-bounces at dell.com
> [mailto:linux-poweredge-bounces at dell.com] De la part de 
> Robert von Bismarck
> Envoyé : mardi 31 octobre 2006 17:18
> À : linux-poweredge at dell.com
> Objet : RE: Help problem with RHEL4 LVM + EMC PowerPath : Found
> duplicatePV...
> 
> Hello,
> 
> You have to create a filter in /etc/lvm/lvm.conf so that lvm 
> will ignore the
> devices not managed by PowerPath (/dev/sd..) We use this 
> filter with CX-300
> LUNs mounted by PowerPath on a 2850 with multiple switches/hbas,
> 
>     filter = [ "a/sda[1-9]$/" "a/emcpower.*/" "r/.*/" ]
> 
> This authorises lvm to scan /dev/sda1 to /dev/sda9 (PERC RAID1),
> /dev/emcpowerXX devices and rejects all other devices.
> This is regexp-based so you must adjust that filter line to 
> your usage.
> 
> Cheers,
> 
> Robert
> 
> 
> > Hi all,
> > 
> > Here is the situation :
> > 
> > I have 2 PE2950 (oracle RAC 10G cluster nodes called s-oracle1 and
> > s-oracle2) connected using HBA cards, to an EMC CX300 using 
> PowerPath 
> > software from EMC.
> > 
> > Now, i want to create a mount point on each node lets say
> > /emcspaceora1 (on
> > first server...) and /emcspaceora2 (on second server...).
> > So i ran "system-config-lvm" to get the GUI to create a new 
> VG group 
> > and add a new LV into it. All has worked ok on the first 
> server, but 
> > it got a nerror while doing the same thing on the second server..
> > 
> 
> [ snip ] 
> 
> > 
> > Any idea on how to correct that ?
> > 
> > Thanks
> > 
> > Florent
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 



More information about the Linux-PowerEdge mailing list