From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4F86B870.5090301@redhat.com> Date: Thu, 12 Apr 2012 12:11:44 +0100 From: "Bryn M. Reeves" MIME-Version: 1.0 References: <1968283131.298650.1334138699493.JavaMail.root@nelson.canoo.com> In-Reply-To: <1968283131.298650.1334138699493.JavaMail.root@nelson.canoo.com> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Hide volume group during startup Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" To: LVM general discussion and development Cc: Erik Schwalbe On 04/11/2012 11:04 AM, Erik Schwalbe wrote: > The iscsiinitiator created a new volume group (kvm_disk0) on the > blockdevice and new virtual disks (vm-203-disk-1). > > Our problem is, that the iscsitarget host found not only the VG "data" > during system startup but also the other VG (kvm_disk0) and activate it. > So DRBD can't get exclusive access to the LV kvm_disk0. > > We try to filter in lvm.conf, but after startup, the VG kvm_disk0 is > allways activated. Please post the filter you are using as well as the full path name of the disk you are attempting to filter (a complete recursive listing of /dev as generated by lvmdump or run by hand would be useful. You can use a service like pastebin for this - please don't send large attachments to the list). There are other ways to control activation if for some reason filtering will not work (e.g. the device name is not stable). Regards, Bryn.