[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Hide volume group during startup


filter was:

filter = [ "r|/dev/data/kvm_disk0|" ]

/dev/data/kvm_disk0 -> ../mapper/data-kvm_disk0

The device name is stable, but what other way of control activation are possible??


----- Original Message -----
From: "Bryn M. Reeves" <bmr redhat com>
To: "LVM general discussion and development" <linux-lvm redhat com>
Cc: "Erik Schwalbe" <erik schwalbe canoo com>
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).


linux-lvm mailing list
linux-lvm redhat com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]