1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-27 07:22:49 +03:00
lvm2/lib
Jonathan Earl Brassow 0d272a6964 Disallow toggling the cluster attribute of a volume group if there
are active mirrors or snapshots.

We don't have the mechanisms in place to change the device-mapper
tables for those targets that have behavioral differences between
cluster and single machine instances.  Allowing users to change
the attribute but not changing the target's behavior can lead to
data corruption.

The following bugs are fixed/avoided by this patch:
235123 - vgchange -c [ny] do not change target types when necessary
289331 - RFE: switching from cluster domain to local domain needs to deactivate volume somehow
289541 - when changing from local to cluster, volumes can not appear to be deactivated
2010-05-14 15:19:42 +00:00
..
activate Another one internal device layer fix... 2010-05-14 12:39:52 +00:00
cache Currently if clvmd is running and user issues vgscan, 2010-05-13 13:04:03 +00:00
commands Currently if clvmd is running and user issues vgscan, 2010-05-13 13:04:03 +00:00
config Don't ignore error if resuming any LV fails in resume_lvs. 2010-04-12 11:52:53 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device Suppress duplicate error messages about read failures and missing devices. 2010-05-05 22:37:52 +00:00
display Cleanup returns for void functions. 2009-12-11 13:16:37 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Skip also special lvm devices in scan (if ignore suspended is used). 2010-05-13 18:38:38 +00:00
format1 Install plugins to subdirs 2010-05-06 10:07:46 +00:00
format_pool Install plugins to subdirs 2010-05-06 10:07:46 +00:00
format_text Suppress duplicate error messages about read failures and missing devices. 2010-05-05 22:37:52 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
locking Add new --sysinit option for vgchange and lvchange. 2010-05-06 11:15:55 +00:00
log Suppress duplicate error messages about read failures and missing devices. 2010-05-05 22:37:52 +00:00
metadata Disallow toggling the cluster attribute of a volume group if there 2010-05-14 15:19:42 +00:00
mirror Install plugins to subdirs 2010-05-06 10:07:46 +00:00
misc Set appropriate udev flags for reserved LVs. 2010-04-23 14:16:32 +00:00
mm Better debug message for Un/Locked memory size. 2010-04-01 14:53:47 +00:00
report Use dm_report_field_int32 instead of dm_report_field_uint64 for printing '-1' 2010-02-15 20:27:33 +00:00
snapshot Install plugins to subdirs 2010-05-06 10:07:46 +00:00
striped Use macro outsize() with check for error return value. 2010-01-07 14:46:51 +00:00
unknown Fix the "const discarded" warnings introduced in the unknown segment patch. 2009-10-22 10:38:07 +00:00
uuid Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in INSTALL rules updates 2010-04-09 21:42:48 +00:00