From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Berra Subject: Re: [linux-lvm] duplicate PV error with 2.6.1 and lvm2 Message-ID: <20040130170639.GC13019@percy.comedia.it> References: <401A8C6C.3040108@grayskies.net> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <401A8C6C.3040108@grayskies.net> Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: Date: Fri Jan 30 12:08:02 2004 List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com On Fri, Jan 30, 2004 at 11:55:08AM -0500, David Powers wrote: >I am attempting to create a simple volume on a soft raid 1 device >(/dev/md1) on a gentoo linux box running 2.6.1. The pvcreate seems to >go fine but when I then attempt to create the volume group I get an odd >error about duplicate PV's. It seems as if the code is sometimes >treating the device as a single device and sometimes seeing the >underlying disks. Any help would be appreciated. > either modify /etc/lvm/lvm.conf in order to ignore the devices that are part of your md array or look at the patch i posted to this list under the subject: "[patch] lvm2 and md component devices" L. -- Luca Berra -- bluca@comedia.it Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \