[linux-lvm] auto_activation_volume_list in lvm.conf not honored

Zdenek Kabelac zkabelac at redhat.com
Fri Nov 25 08:48:38 UTC 2016

Dne 24.11.2016 v 15:02 Stefan Bauer napsal(a):
> Hi Peter,
> now all make sense. On this ubuntu machine upstartd with udev is taking care of vgchange.
> After some digging, /lib/udev/rules.d/85-lvm2.rules shows, that vgchange is only executed with -a y
> We will test this on weekend but I'm certain now, that this was the problem.
> We wanted to keep things simple and do not use clvmd. We have master/slave setup without concurrent write/read.


Wondering what are you trying to do when you say  'not use clvmd'.

If you are working with 'shared' storage and manipulating  same VG from 
multiple nodes (i.e. activation) - it's not so easy to go without really good 
locking manager.

If you don't like clvmd - maybe you could take a look at lvmlockd & sanlock.

But you should be aware there are NOT many people who are able to ensure 
correct locking of lvm2 commands -  it's really not just 'master/slave'.
There are big number of error cases which do not proper locking around
the whole cluster.



More information about the linux-lvm mailing list