1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Zdenek Kabelac 80b2de9e6a mirror: fix leg splitting
Enhance lv_info with lv_info_with_name_check.
This 'variant' not only check existance if UUID in DM table
but also compares its  DM name  whether it's matching expected LV name.
Otherwise activation may 'skip' activation with rename in case the
DM UUID already exists, just device is different name.

This change make fairly easier manipulation with i.e. detached mirror
leg which ATM is using same UUID - just the LV name have been changed.

Used code was not able to run 'activation' (and do a rename) and just
skipped the call. So the code used to do a workaround and 'tried'
to deactivate such LV firts - this however work only in non-clvmd case,
as cluster was not having the lock for deactivated LV.

With this extended lv_info code will run 'activation' and will
synchronize the name to match expected LV name.

Patch extends _lv_info() with new paramter 'with_name_check',
which is later translated into 'name_check' argument for
_info_run() which in case of name mismatch evaluates the
check as if device does not exists.

Such call is only used in one place _lv_activate() which then
let activation run.  All other invocation of _info() calls
are left intact.

TODO: fix mirror table manipulation (and raid)....
2019-10-31 15:31:30 +01:00
autoconf autoconf: Fix py-compile permissions 2016-02-18 01:05:05 +00:00
base configure: avoid repeative inclusion of configure.h 2018-12-21 19:19:50 +01:00
conf build: make generate 2019-10-23 09:51:07 +02:00
coverity coverity: model few more functions 2017-06-27 12:17:16 +02:00
daemons lvmdbusd: Debug msg. improvements. 2019-10-30 10:38:40 -05:00
device_mapper dm: fix compilation of dmsetup 2019-10-22 13:39:45 +02:00
doc Merge branch 'master' into 2018-05-11-fork-libdm 2018-06-01 13:04:12 +01:00
include configure: check for prlimit 2019-08-26 17:24:37 +02:00
lib mirror: fix leg splitting 2019-10-31 15:31:30 +01:00
libdaemon cov: check for socket_path being set 2019-08-09 12:57:07 +02:00
libdm cov: Fix memory leak 2019-10-23 09:51:55 +02:00
man man lvmvdo: Correct spellings 2019-10-30 10:38:40 -05:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
po doc: change fsf address 2016-01-21 12:11:37 +01:00
scripts systemd: put back DefaultDependencies=no for lvmpolld socket unit 2019-04-11 12:18:02 +02:00
spec spec: Fix lvm2-activation-generator man page handling 2019-10-04 16:29:38 +02:00
test lvmdbustest.py: Use local data instead of fetching 2019-10-30 10:38:40 -05:00
tools lvmlockd: fix cachevol locking 2019-10-25 14:08:59 -05:00
udev udev: remove unsupported OPTIONS+="event_timeout" rule 2019-08-13 15:18:30 +02:00
.gitignore gitignore: update 2019-03-20 14:35:09 +01:00
acinclude.m4 [build] uncomment 'serial 3' in an m4 file. 2018-04-30 09:44:27 +01:00
aclocal.m4 liblvm: remove lvmapi 2018-06-08 09:38:05 +01:00
configure configure: continue build if prlimit is missing 2019-08-26 17:34:45 +02:00
configure.ac configure: continue build if prlimit is missing 2019-08-26 17:34:45 +02:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01:00
COPYING.BSD Add BSD 2-Clause License 2018-07-27 17:09:46 +02:00
COPYING.LIB Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
INSTALL quick review of docs 2008-11-04 17:49:22 +00:00
make.tmpl.in make: support comments in exported symbols 2019-08-09 12:57:07 +02:00
Makefile.in makefiles: correcting login of makefile 2018-12-17 10:55:20 +01:00
README pre-release 2018-10-10 11:26:53 +02:00
TESTING docs: Add TESTING file 2017-12-14 16:45:47 +01:00
VERSION post-release 2019-10-23 09:51:55 +02:00
VERSION_DM post-release 2019-10-23 09:51:55 +02:00
WHATS_NEW Experimental VDO lvmdbusd support 2019-10-30 10:55:06 -05:00
WHATS_NEW_DM post-release 2019-10-23 09:51:55 +02:00

This tree contains the LVM2 and device-mapper tools and libraries.

This is development branch, for stable 2.02 release see 2018-06-01-stable
branch.

For more information about LVM2 read the changelog in the WHATS_NEW file.
Installation instructions are in INSTALL.

There is no warranty - see COPYING and COPYING.LIB.

Tarballs are available from:
  ftp://sourceware.org/pub/lvm2/
  ftp://sources.redhat.com/pub/lvm2/
  https://github.com/lvmteam/lvm2/releases

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/lvm2.git
mirrored to:
  https://github.com/lvmteam/lvm2
  git clone https://github.com/lvmteam/lvm2.git
  git clone git@github.com:lvmteam/lvm2.git

Mailing list for general discussion related to LVM2:
  linux-lvm@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/linux-lvm

Mailing lists for LVM2 development, patches and commits:
  lvm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/lvm-devel

  lvm2-commits@lists.fedorahosted.org (Read-only archive of commits)
  Subscribe from https://fedorahosted.org/mailman/listinfo/lvm2-commits

Mailing list for device-mapper development, including kernel patches
and multipath-tools:
  dm-devel@redhat.com
  Subscribe from https://www.redhat.com/mailman/listinfo/dm-devel

Website:
  https://sourceware.org/lvm2/

Report upstream bugs at:
  https://bugzilla.redhat.com/enter_bug.cgi?product=LVM%20and%20device-mapper
or open issues at:
  https://github.com/lvmteam/lvm2/issues

The source code repository used until 7th June 2012 is accessible here:
  http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/?cvsroot=lvm2.