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.
Hi
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.
Regards
Zdenek
_______________________________________________
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/