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
Dave Wysochanski a9d8bf269a Allow 'all' and 'unmanaged' values for --vgmetadatacopies.
Allowing an 'all' and 'unmanaged' value is more intuitive, and
provides a simple way for users to get back to original LVM behavior
of metadata written to all PVs in the volume group.

If the user requests "--vgmetadatacopies unmanaged", this instructs
LVM not to manage the ignore bits to achieve a specific number of
metadata copies in the volume group.  The user is free to use
"pvchange --metadataignore" to control the mdas on a per-PV basis.
If the user requests "--vgmetadatacopies all", this instructs LVM
to do 2 things: 1) clear all ignore bits, and 2) set the "unmanaged"
policy going forward.

Internally, we use the special MAX_UINT32 value to indicate 'all'.
This 'just' works since it's the largest value possible for the
field and so all 'ignore' bits on all mdas in the VG will get
cleared inside _vg_metadata_balance().  However, after we've
called the _vg_metadata_balance function, we check for the special
'all' value, and if set, we write the "unmanaged" value into the
metadata.  As such, the 'all' value is never written to disk.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2010-06-28 20:40:01 +00:00
autoconf extended configure with --enable-profiling for compiling code with gcov info 2008-06-27 15:35:09 +00:00
daemons Add error checking for calls to sprintf - it can fail for more 2010-06-21 16:07:06 +00:00
doc Fix lvm2cmd example in documentation. 2010-06-16 13:03:48 +00:00
include Update cflow file generation - support build dir and use $(top_srcdir) 2010-03-29 14:11:17 +00:00
lib Allow 'all' and 'unmanaged' values for --vgmetadatacopies. 2010-06-28 20:40:01 +00:00
libdm Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
liblvm Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
man Add --vgmetadatacopies to vgsplit man page and command. 2010-06-28 20:39:24 +00:00
old-tests Move regex printing code from test to main tree (may use in debug messages). 2010-04-22 17:42:38 +00:00
po INSTALL rules updates 2010-04-09 21:42:48 +00:00
scripts Fix clvmd init script status 2010-06-23 16:24:13 +00:00
test Ensure --metadatacopies parameter gets interpreted based on command. 2010-06-28 20:39:39 +00:00
tools Allow 'all' and 'unmanaged' values for --vgmetadatacopies. 2010-06-28 20:40:01 +00:00
udev Fix udev rules to handle spurious events properly. 2010-06-23 17:00:32 +00:00
configure Fix wrong usage of exec_prefix from previous patch introducing LVM_PATH define 2010-06-07 14:31:59 +00:00
configure.in Fix wrong usage of exec_prefix from previous patch introducing LVM_PATH define 2010-06-07 14:31:59 +00:00
COPYING Outline docs 2001-12-31 16:12:40 +00: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 Generate liblvm2app and libdevmapper exported symbols from header files. 2010-06-25 18:17:38 +00:00
Makefile.in Update Copyright date for resently modifed files 2010-05-24 09:04:27 +00:00
README quick review of docs 2008-11-04 17:49:22 +00:00
VERSION post-release 2010-06-23 19:35:11 +00:00
VERSION_DM post-release 2010-06-23 19:35:11 +00:00
WHATS_NEW Fix for bz608048 from Taka... 2010-06-28 14:19:41 +00:00
WHATS_NEW_DM post-release 2010-06-23 19:35:11 +00:00

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

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://sources.redhat.com/pub/lvm2/

To access the CVS tree use:
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 login
  CVS password: cvs
  cvs -d :pserver:cvs@sources.redhat.com:/cvs/lvm2 co LVM2

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

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

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