1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00
LVM2 mirror repository https://sourceware.org/lvm2/
Go to file
Jonathan Brassow d34d2068dd lvconvert: Don't require a 'force' option during RAID repair.
Previously, we were treating non-RAID to RAID up-converts as a "resync"
operation.  (The most common example being 'linear -> RAID1'.)  RAID to
RAID up-converts or rebuilds of specific RAID images are properly treated
as a "recover" operation.

Since we were treating some up-convert operations as "resync", it was
possible to have scenarios where data corruption or data loss were
possibilities if the RAID hadn't been able to sync completely before a
loss of the primary source devices.  In order to ensure that the user took
the proper precautions in such scenarios, we required a '--force' option
to be present.  Unfortuneately, the force option was rendered useless
because there was no way to distiguish the failure state of a potentially
destructive repair from a nominal one - making the '--force' option a
requirement for any RAID1 repair!

We now treat non-RAID to RAID up-converts properly as "recover" operations.
This eliminates the scenarios that can potentially cause data loss or
data corruption; and this eliminates the need for the '--force' requirement.
This patch removes the requirement to specify '--force' for RAID repairs.
2017-06-14 08:39:07 -05:00
autoconf autoconf: Fix py-compile permissions 2016-02-18 01:05:05 +00:00
conf lvcreate: raise default raid regionsize to 2MiB 2017-04-13 16:10:49 +02:00
coverity coverity: update models 2017-03-16 01:02:10 +01:00
daemons dmfilemapd: do not wait if file has been truncated 2017-06-13 19:46:41 +01:00
doc pre-release 2017-03-28 16:11:35 +01:00
include fsadm: support configurable full path 2017-04-12 21:34:08 +02:00
lib lvconvert: Don't require a 'force' option during RAID repair. 2017-06-14 08:39:07 -05:00
libdaemon lvmetad: fix segfault on i386 2017-03-13 13:37:07 -05:00
libdm libdm: allow truncated files in dm_stats_update_regions_from_fd() 2017-06-13 19:45:50 +01:00
liblvm cleanup: define really uses KB 2017-06-09 21:49:19 +02:00
man man lvmsystemid: change some wording 2017-05-23 10:50:41 -05:00
nix lockd: Clean up spec 2015-07-04 14:36:57 +02:00
old-tests doc: change fsf address 2016-01-21 12:11:37 +01:00
po doc: change fsf address 2016-01-21 12:11:37 +01:00
python python: move lvm_init 2016-05-16 14:36:55 -05:00
report-generators doc: change fsf address 2016-01-21 12:11:37 +01:00
reports [REPORT-GENERATORS] cut down stylsheet.css to what we actually use 2010-07-21 10:00:38 +00:00
scripts fsadm: avoid hidden --yes 2017-05-23 14:02:41 +02:00
spec spec: Enable notify-dbus in builds with dbus 2017-05-26 07:40:09 +02:00
test lvconvert: linear -> raid1 upconvert should cause "recover" not "resync" 2017-06-14 08:35:22 -05:00
tools indent: properly indent goto 2017-06-09 21:49:19 +02:00
udev makefiles: use configure vars 2017-02-14 10:24:56 +01:00
unit-tests doc: change fsf address 2016-01-21 12:11:37 +01:00
.gitignore lvmdbus: Add new daemon. 2016-02-17 23:53:35 +00:00
acinclude.m4 configure: just move new macro to right file 2016-12-13 22:49:59 +01:00
aclocal.m4 configure: just move new macro to right file 2016-12-13 22:49:59 +01:00
configure configure: update 2017-06-09 22:52:19 +02:00
configure.in configure: search for (a possibly prefixed) ar 2017-06-09 22:49:39 +02:00
COPYING doc: change fsf address 2016-01-21 12:11:37 +01: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 configure: search for (a possibly prefixed) ar 2017-06-09 22:49:39 +02:00
Makefile.in man: Revise internal man page generation process. 2017-03-14 00:47:46 +00:00
README git: Upstream repository moved to sourceware.org 2017-02-27 14:05:50 +00:00
VERSION post-release 2017-05-03 11:26:58 +01:00
VERSION_DM post-release 2017-05-03 11:26:58 +01:00
WHATS_NEW lvconvert: Don't require a 'force' option during RAID repair. 2017-06-14 08:39:07 -05:00
WHATS_NEW_DM libdm: allow truncated files in dm_stats_update_regions_from_fd() 2017-06-13 19:45:50 +01: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://sourceware.org/pub/lvm2/
  ftp://sources.redhat.com/pub/lvm2/

The source code is stored in git:
  https://sourceware.org/git/?p=lvm2.git
  git clone git://sourceware.org/git/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

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