Thanks Yash, The Problem was resolved.
Cheers Debendro On Tue, Jul 19, 2011 at 8:18 AM, Yashpal Nagar <[email protected]> wrote: > On Mon, Jul 18, 2011 at 8:17 PM, Lukram Debendro > <[email protected]>wrote: > > > 1) What filter do I need in lvm.conf to allow sda and emcpower?, but > reject > > all the other sdb and up name. I have tried many different one, but can > not > > eliminate the sd? device names. > > > > > > Still getting the PV duplicate errors > > > > Found duplicate PV yyfFeZg8bUwYenONj1xXcnHkdf50U6kG: using /dev/sdv not > > /dev/emcpowera > > Found duplicate PV yyfFeZg8bUwYenONj1xXcnHkdf50U6kG: using /dev/sdh not > > /dev/sdv > > > > Hi Debendro, > > By default all block devices are accepted in LVM. If you want LVM to watch > out only for certain type of devices, you have to put an appropriate > filter. > > e.g to exclude CDROM you may put > > filter = [ "r|/dev/cdrom|" ] > > Given your requirement, you may try > > filter = [ "a/sda[1-9]$/" "a/emcpower.*/" "r/.*/" ] > > And don't forget to run vgscan -vv after making changes to lvm.conf, also > be > careful if running on production, keeping the backup of lvm.conf is must. > > Cheers! > Yash > _______________________________________________ > Ilugd mailing list > [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
