1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00
lvm2/lib/activate
Jonathan Earl Brassow 38444f0f13 Fix issue preventing cluster mirror creation.
Mirrors used to be created by first creating a linear device and then adding
the other images plus the log.  Now mirrors are created by creating all the
images in one go and then adding the log separately.  The new way ran into
the condition that cluster mirrors cannot change the log type (in the case
of creation, from core -> disk) while the mirror is not active.  (It isn't
active because it is in the process of being created.)  The reason this
condition is in place is because a remote node may have the mirror active, and
we don't want to alter the log underneath it.

What we really needed was a way of checking if the mirror was active remotely
but not locally, and in that case do not allow a change of the log.  I've added
this check, and cluster mirrors can now be created again.
2011-06-22 21:31:21 +00:00
..
activate.c Fix issue preventing cluster mirror creation. 2011-06-22 21:31:21 +00:00
activate.h Fix issue preventing cluster mirror creation. 2011-06-22 21:31:21 +00:00
dev_manager.c Disable udev fallback by default and add activation/udev_fallback to lvm.conf. 2011-06-17 14:50:53 +00:00
dev_manager.h Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
fs.c Fix some unmatching sign comparation gcc warnings 2011-04-08 14:40:18 +00:00
fs.h Synchronize with udev for lv_info 2011-02-03 01:16:35 +00:00
targets.h Use UUIDs instead of names while processing event handlers. 2010-04-14 13:01:38 +00:00