From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q3CCXAJM006990 for ; Thu, 12 Apr 2012 08:33:10 -0400 Received: from nelson.canoo.com (gate0.canoo.com [195.141.68.118]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q3CCX9gD005656 for ; Thu, 12 Apr 2012 08:33:09 -0400 Received: from localhost (localhost [127.0.0.1]) by nelson.canoo.com (Postfix) with ESMTP id E6B9F6FC093 for ; Thu, 12 Apr 2012 14:33:08 +0200 (CEST) Received: from nelson.canoo.com ([127.0.0.1]) by localhost (nelson.canoo.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 863AaysdGjfQ for ; Thu, 12 Apr 2012 14:33:08 +0200 (CEST) Received: from nelson.canoo.com (nelson.canoo.com [192.168.0.9]) by nelson.canoo.com (Postfix) with ESMTP id 1D4246FC031 for ; Thu, 12 Apr 2012 14:33:08 +0200 (CEST) Date: Thu, 12 Apr 2012 14:33:08 +0200 (CEST) From: Erik Schwalbe Message-ID: <292484434.360232.1334233988047.JavaMail.root@nelson.canoo.com> In-Reply-To: <20120412120139.GP9163@barkeeper1-xen.linbit> MIME-Version: 1.0 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 Ok, I will try a: update-initramfs -u -k all Hope this helps. Thank you for the hint. Regards, Erik ----- Original Message ----- From: "Lars Ellenberg" To: linux-lvm@redhat.com Sent: Thursday, 12 April, 2012 2:01:39 PM Subject: Re: [linux-lvm] Hide volume group during startup On Thu, Apr 12, 2012 at 01:41:31PM +0200, Erik Schwalbe wrote: > Hi, > > filter was: > > filter = [ "r|/dev/data/kvm_disk0|" ] > > path: > /dev/data/kvm_disk0 -> ../mapper/data-kvm_disk0 > > The device name is stable, but what other way of control activation are possible?? Forgot to update the initramfs/initrd, and the VGs are activated from there already, even before pivoting to the real root? Run update-initramfs or mkinitrd /boot/initramfs-`uname -r`.img `uname -r` or something like that. > > Regards, > Erik > > ----- Original Message ----- > From: "Bryn M. Reeves" > To: "LVM general discussion and development" > Cc: "Erik Schwalbe" > Sent: Thursday, 12 April, 2012 1:11:44 PM > Subject: Re: [linux-lvm] Hide volume group during startup > > 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. -- : Lars Ellenberg : LINBIT | Your Way to High Availability : DRBD/HA support and consulting http://www.linbit.com _______________________________________________ linux-lvm mailing list linux-lvm@redhat.com https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/