046945
%global device_mapper_version 1.02.163
b3061e
b3061e
%global enable_cache 1
b3061e
%global enable_cluster 1
b3061e
%global enable_cmirror 1
d48887
%global enable_lvmdbusd 1
b3061e
%global enable_lvmlockd 1
b3061e
%global enable_lvmpolld 1
b3061e
%global enable_thin 1
a73000
%global enable_dmfilemapd 1
e18384
%global enable_testsuite 1
046945
%global enable_vdo 1
046945
%global enable_writecache 1
b3061e
b3061e
%global system_release_version 23
b3061e
%global systemd_version 189-3
b3061e
%global dracut_version 002-18
b3061e
%global util_linux_version 2.24
b3061e
%global bash_version 4.0
b3061e
%global corosync_version 1.99.9-1
b3061e
%global resource_agents_version 3.9.5-12
d82669
%global dlm_version 4.0.6-1
b3061e
%global libselinux_version 1.30.19-4
a73000
%global persistent_data_version 0.7.0-0.1.rc6
152ed8
%global sanlock_version 3.3.0-2
b3061e
b3061e
%global enable_lockd_sanlock %{enable_lvmlockd}
b3061e
%global enable_lockd_dlm %{enable_lvmlockd}
ebc16a
77e0a1
%if 0%{?rhel} && 0%{?rhel} <= 8
77e0a1
  %ifnarch i686 x86_64 ppc64le s390x
b3061e
    %global enable_cluster 0
b3061e
    %global enable_cmirror 0
77e0a1
    %global enable_lockd_dlm 0
77e0a1
  %endif
77e0a1
77e0a1
  %ifnarch x86_64 ppc64 aarch64
77e0a1
    %global enable_lockd_sanlock 0
Milan Broz 465b41
  %endif
870a38
%endif
8c0d53
fa0285
%if %{enable_cluster}
046945
  %global configure_cluster --with-cluster=internal
d48972
  %if %{enable_cmirror}
b3061e
    %global configure_cmirror --enable-cmirrord
d48972
  %endif
fa0285
%else
046945
    %global configure_cluster --with-cluster=internal
d2a259
%endif
d2a259
467f2f
# Do not reset Release to 1 unless both lvm2 and device-mapper
7d670a
# versions are increased together.
7d670a
467f2f
Summary: Userland logical volume management tools
cvsdist bf559c
Name: lvm2
77e0a1
%if 0%{?rhel}
77e0a1
Epoch: %{rhel}
77e0a1
%endif
046945
Version: 2.03.05
d50e80
Release: 4%{?dist}
b477cc
License: GPLv2
0948a0
URL: http://sourceware.org/lvm2
d9a02c
#Source0: ftp://sourceware.org/pub/lvm2/releases/LVM2.%%{version}.tgz
ee1bf2
Source0: ftp://sourceware.org/pub/lvm2/releases/LVM2.%{version}.tgz
605309
Patch0: lvm2-set-default-preferred_names.patch
046945
Patch1: lvm2-2_03_06-md-component-detection-for-differing-PV-and-device-size.patch
046945
Patch2: lvm2-2_03_06-pvscan-fix-PV-online-when-device-has-a-different-size.patch
046945
Patch3: lvm2-2_03_06-lvconvert-allow-stripes-stripesize-in-mirror-conversions.patch
d50e80
# Bug 1745597 - LVM DBus API doesn't work with Python 3.8:
6313ba
Patch4: lvm2-2_03_06-Fix-converting-dbus.UInt-types-to-string.patch
d50e80
# Bug 1749857 - 11-dm-lvm.rules:40 Invalid value:
d50e80
Patch5: lvm2-2_03_06-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch
651786
2c1f6c
BuildRequires: gcc
2c1f6c
%if %{enable_testsuite}
2c1f6c
BuildRequires: gcc-c++
2c1f6c
%endif
d48972
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
39f07e
BuildRequires: libblkid-devel >= %{util_linux_version}
f15230
BuildRequires: ncurses-devel
046945
BuildRequires: compat-readline5-devel
d9a02c
BuildRequires: libaio-devel
fa0285
%if %{enable_cluster}
776753
BuildRequires: corosynclib-devel >= %{corosync_version}
0cb590
%endif
ebc16a
%if %{enable_cluster} || %{enable_lockd_dlm}
883949
BuildRequires: dlm-devel >= %{dlm_version}
fa0285
%endif
ea66b2
BuildRequires: module-init-tools
776753
BuildRequires: pkgconfig
c515b1
BuildRequires: systemd-devel
4f75fb
BuildRequires: systemd-units
046945
%if %{enable_lvmdbusd}
704f3c
BuildRequires: python3-devel
b5fe25
BuildRequires: python3-setuptools
d48887
BuildRequires: python3-dbus
d48887
BuildRequires: python3-pyudev
d48887
%endif
9f79d7
%if %{enable_thin} || %{enable_cache}
9f79d7
BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
9f79d7
%endif
ebc16a
%if %{enable_lockd_sanlock}
0cb590
BuildRequires: sanlock-devel >= %{sanlock_version}
0cb590
%endif
77e0a1
Requires: %{name}-libs = %{?epoch}:%{version}-%{release}
8a2ddf
%if 0%{?fedora}
cd3323
Requires: system-release >= %{system_release_version}
8a2ddf
%endif
d48972
Requires: bash >= %{bash_version}
d48972
Requires(post): systemd-units >= %{systemd_version}, systemd-sysv
d48972
Requires(preun): systemd-units >= %{systemd_version}
d48972
Requires(postun): systemd-units >= %{systemd_version}
4f75fb
Requires: module-init-tools
9f79d7
%if %{enable_thin} || %{enable_cache}
e4104a
Requires: device-mapper-persistent-data >= %{persistent_data_version}
e4104a
%endif
cvsdist 902334
cvsdist bf559c
%description
cvsdist 0a8255
LVM2 includes all of the support for handling read/write operations on
cvsdist 0a8255
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
c15e7b
multiple devices (MD), see mdadm(8) or even loop devices, see
cvsdist 0a8255
losetup(8)), creating volume groups (kind of virtual disks) from one
cvsdist 0a8255
or more physical volumes and creating one or more logical volumes
cvsdist 0a8255
(kind of logical partitions) in volume groups.
cvsdist bf559c
cvsdist bf559c
%prep
ee1bf2
%setup -q -n LVM2.%{version}
f8e882
%patch0 -p1 -b .preferred_names
046945
%patch1 -p1 -b .md_component_detection_diff_PV_and_dev_size
046945
%patch2 -p1 -b .fix_PV_activation_diff_PV_and_dev_size
046945
%patch3 -p1 -b .allow_mirror_conversion_with_stripes
6313ba
%patch4 -p1 -b .fix_converting_dbus.UInt_types_to_string
d50e80
%patch5 -p1 -b .udev_remove_unsupported_OPTIONS_event_timeout_rule
7dc535
cvsdist bf559c
%build
b3061e
%global _default_pid_dir /run
b3061e
%global _default_dm_run_dir /run
b3061e
%global _default_run_dir /run/lvm
b3061e
%global _default_locking_dir /run/lock/lvm
d550f9
b3061e
%global _udevdir %{_prefix}/lib/udev/rules.d
d48972
b3061e
%global configure_udev --with-udevdir=%{_udevdir} --enable-udev_sync
c7e201
0a1e72
%if %{enable_cache}
b3061e
%global configure_cache --with-cache=internal
0a1e72
%endif
0a1e72
d550f9
%if %{enable_thin}
b3061e
%global configure_thin --with-thin=internal
d550f9
%endif
c98ffb
ebc16a
%if %{enable_lockd_dlm}
d82669
%global configure_lockd_dlm --enable-lvmlockd-dlm
ebc16a
%endif
ebc16a
%if %{enable_lockd_sanlock}
a73000
%global configure_lockd_sanlock --enable-lvmlockd-sanlock
0cb590
%endif
0cb590
374970
%if %{enable_lvmpolld}
b3061e
%global configure_lvmpolld --enable-lvmpolld
374970
%endif
374970
d48887
%if %{enable_lvmdbusd}
ef2f5a
%global configure_lvmdbusd --enable-dbus-service --enable-notify-dbus
0a1e72
%endif
0a1e72
a73000
%if %{enable_dmfilemapd}
a73000
%global configure_dmfilemapd --enable-dmfilemapd
a73000
%endif
a73000
046945
%if %{enable_vdo}
046945
%global configure_vdo --with-vdo=internal --with-vdo-format=%{_bindir}/vdoformat
046945
%endif
046945
046945
%if %{enable_writecache}
046945
%global configure_writecache --with-writecache=internal
046945
%endif
046945
046945
# NOTE: Using CFLAGS and LDFLAGS would override the fedora default flags, thus
046945
# using paths here...
046945
export CPATH="%{_includedir}/readline5"
046945
export LIBRARY_PATH="%{_libdir}/readline5"
046945
046945
%configure --with-default-dm-run-dir=%{_default_dm_run_dir} --with-default-run-dir=%{_default_run_dir} --with-default-pid-dir=%{_default_pid_dir} --with-default-locking-dir=%{_default_locking_dir} --with-usrlibdir=%{_libdir} --enable-fsadm --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-cmdlib --enable-dmeventd --enable-blkid_wiping %{?configure_cluster} %{?configure_cmirror} %{?configure_udev} %{?configure_thin} %{?configure_cache} %{?configure_lvmpolld} %{?configure_lockd_dlm} %{?configure_lockd_sanlock} %{?configure_lvmdbusd} %{?configure_dmfilemapd} %{?configure_writecache} %{?configure_vdo} --disable-silent-rules
d48887
9e49dd
make %{?_smp_mflags}
cvsdist bf559c
cvsdist bf559c
%install
cvsdist 902334
make install DESTDIR=$RPM_BUILD_ROOT
40366a
make install_system_dirs DESTDIR=$RPM_BUILD_ROOT
4f75fb
make install_systemd_units DESTDIR=$RPM_BUILD_ROOT
785220
make install_systemd_generators DESTDIR=$RPM_BUILD_ROOT
9682ee
make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT
e18384
%if %{enable_testsuite}
e18384
make -C test install DESTDIR=$RPM_BUILD_ROOT
e18384
%endif
77fa81
8d2584
%post
d48972
%systemd_post blk-availability.service lvm2-monitor.service
eae0c8
if [ "$1" = "1" ] ; then
3637b4
	# FIXME: what to do with this? We do not want to start it in a container/chroot
eae0c8
	# enable and start lvm2-monitor.service on completely new installation only, not on upgrades
eae0c8
	systemctl enable lvm2-monitor.service
59cb2a
	systemctl start lvm2-monitor.service >/dev/null 2>&1 || :
eae0c8
fi
8d2584
374970
%if %{enable_lvmpolld}
374970
%systemd_post lvm2-lvmpolld.socket
eae0c8
# lvm2-lvmpolld socket is always enabled and started and ready to serve if lvmpolld is used
eae0c8
# replace direct systemctl calls with systemd rpm macro once this is provided in the macro:
eae0c8
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=57ab2eabb8f92fad5239c7d4492e9c6e23ee0678
eae0c8
systemctl enable lvm2-lvmpolld.socket
59cb2a
systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || :
374970
%endif
374970
8d2584
%preun
d48972
%systemd_preun blk-availability.service lvm2-monitor.service
4f75fb
374970
%if %{enable_lvmpolld}
374970
%systemd_preun lvm2-lvmpolld.service lvm2-lvmpolld.socket
374970
%endif
374970
4f75fb
%postun
0a1e72
%systemd_postun lvm2-monitor.service
4f75fb
374970
%if %{enable_lvmpolld}
374970
%systemd_postun_with_restart lvm2-lvmpolld.service
374970
%endif
374970
4f75fb
%triggerun -- %{name} < 2.02.86-2
4f75fb
%{_bindir}/systemd-sysv-convert --save lvm2-monitor >/dev/null 2>&1 || :
4f75fb
/bin/systemctl --no-reload enable lvm2-monitor.service > /dev/null 2>&1 || :
4f75fb
/sbin/chkconfig --del lvm2-monitor > /dev/null 2>&1 || :
4f75fb
/bin/systemctl try-restart lvm2-monitor.service > /dev/null 2>&1 || :
8d2584
cvsdist bf559c
%files
7f8f4a
%{!?_licensedir:%global license %%doc}
7f8f4a
%license COPYING COPYING.LIB
7f8f4a
%doc README VERSION WHATS_NEW
a68f37
%doc doc/lvm_fault_handling.txt
39f07e
0a1e72
# Main binaries
39f07e
%defattr(555,root,root,-)
ac0f4e
%{_sbindir}/fsadm
39f07e
%{_sbindir}/lvm
704f3c
%{_sbindir}/lvmconfig
39f07e
%{_sbindir}/lvmdump
374970
%if %{enable_lvmpolld}
374970
%{_sbindir}/lvmpolld
374970
%endif
39f07e
39f07e
# Other files
39f07e
%defattr(444,root,root,-)
1cc7da
%{_sbindir}/lvchange
1cc7da
%{_sbindir}/lvconvert
1cc7da
%{_sbindir}/lvcreate
1cc7da
%{_sbindir}/lvdisplay
1cc7da
%{_sbindir}/lvextend
1cc7da
%{_sbindir}/lvmdiskscan
1cc7da
%{_sbindir}/lvmsadc
1cc7da
%{_sbindir}/lvmsar
1cc7da
%{_sbindir}/lvreduce
1cc7da
%{_sbindir}/lvremove
1cc7da
%{_sbindir}/lvrename
1cc7da
%{_sbindir}/lvresize
1cc7da
%{_sbindir}/lvs
1cc7da
%{_sbindir}/lvscan
1cc7da
%{_sbindir}/pvchange
9f1790
%{_sbindir}/pvck
1cc7da
%{_sbindir}/pvcreate
1cc7da
%{_sbindir}/pvdisplay
1cc7da
%{_sbindir}/pvmove
1cc7da
%{_sbindir}/pvremove
1cc7da
%{_sbindir}/pvresize
1cc7da
%{_sbindir}/pvs
1cc7da
%{_sbindir}/pvscan
1cc7da
%{_sbindir}/vgcfgbackup
1cc7da
%{_sbindir}/vgcfgrestore
1cc7da
%{_sbindir}/vgchange
1cc7da
%{_sbindir}/vgck
1cc7da
%{_sbindir}/vgconvert
1cc7da
%{_sbindir}/vgcreate
1cc7da
%{_sbindir}/vgdisplay
1cc7da
%{_sbindir}/vgexport
1cc7da
%{_sbindir}/vgextend
1cc7da
%{_sbindir}/vgimport
4dde59
%{_sbindir}/vgimportclone
1cc7da
%{_sbindir}/vgmerge
1cc7da
%{_sbindir}/vgmknodes
1cc7da
%{_sbindir}/vgreduce
1cc7da
%{_sbindir}/vgremove
1cc7da
%{_sbindir}/vgrename
1cc7da
%{_sbindir}/vgs
1cc7da
%{_sbindir}/vgscan
1cc7da
%{_sbindir}/vgsplit
1cc7da
%{_mandir}/man5/lvm.conf.5.gz
892512
%{_mandir}/man7/lvmcache.7.gz
e7063f
%{_mandir}/man7/lvmraid.7.gz
551f63
%{_mandir}/man7/lvmreport.7.gz
0a1e72
%{_mandir}/man7/lvmthin.7.gz
046945
%{_mandir}/man7/lvmvdo.7.gz
d65504
%{_mandir}/man7/lvmsystemid.7.gz
ac0f4e
%{_mandir}/man8/fsadm.8.gz
1cc7da
%{_mandir}/man8/lvchange.8.gz
1cc7da
%{_mandir}/man8/lvconvert.8.gz
1cc7da
%{_mandir}/man8/lvcreate.8.gz
1cc7da
%{_mandir}/man8/lvdisplay.8.gz
1cc7da
%{_mandir}/man8/lvextend.8.gz
1cc7da
%{_mandir}/man8/lvm.8.gz
0a1e72
%{_mandir}/man8/lvm2-activation-generator.8.gz
704f3c
%{_mandir}/man8/lvm-config.8.gz
704f3c
%{_mandir}/man8/lvmconfig.8.gz
0a1e72
%{_mandir}/man8/lvm-dumpconfig.8.gz
1cc7da
%{_mandir}/man8/lvmdiskscan.8.gz
1cc7da
%{_mandir}/man8/lvmdump.8.gz
f81b7f
%{_mandir}/man8/lvm-fullreport.8.gz
41cfdf
%{_mandir}/man8/lvmsadc.8.gz
41cfdf
%{_mandir}/man8/lvmsar.8.gz
1cc7da
%{_mandir}/man8/lvreduce.8.gz
1cc7da
%{_mandir}/man8/lvremove.8.gz
1cc7da
%{_mandir}/man8/lvrename.8.gz
1cc7da
%{_mandir}/man8/lvresize.8.gz
1cc7da
%{_mandir}/man8/lvs.8.gz
1cc7da
%{_mandir}/man8/lvscan.8.gz
1cc7da
%{_mandir}/man8/pvchange.8.gz
9f1790
%{_mandir}/man8/pvck.8.gz
1cc7da
%{_mandir}/man8/pvcreate.8.gz
1cc7da
%{_mandir}/man8/pvdisplay.8.gz
1cc7da
%{_mandir}/man8/pvmove.8.gz
1cc7da
%{_mandir}/man8/pvremove.8.gz
1cc7da
%{_mandir}/man8/pvresize.8.gz
1cc7da
%{_mandir}/man8/pvs.8.gz
1cc7da
%{_mandir}/man8/pvscan.8.gz
1cc7da
%{_mandir}/man8/vgcfgbackup.8.gz
1cc7da
%{_mandir}/man8/vgcfgrestore.8.gz
1cc7da
%{_mandir}/man8/vgchange.8.gz
1cc7da
%{_mandir}/man8/vgck.8.gz
1cc7da
%{_mandir}/man8/vgconvert.8.gz
1cc7da
%{_mandir}/man8/vgcreate.8.gz
1cc7da
%{_mandir}/man8/vgdisplay.8.gz
1cc7da
%{_mandir}/man8/vgexport.8.gz
1cc7da
%{_mandir}/man8/vgextend.8.gz
1cc7da
%{_mandir}/man8/vgimport.8.gz
9e49dd
%{_mandir}/man8/vgimportclone.8.gz
1cc7da
%{_mandir}/man8/vgmerge.8.gz
1cc7da
%{_mandir}/man8/vgmknodes.8.gz
1cc7da
%{_mandir}/man8/vgreduce.8.gz
1cc7da
%{_mandir}/man8/vgremove.8.gz
1cc7da
%{_mandir}/man8/vgrename.8.gz
1cc7da
%{_mandir}/man8/vgs.8.gz
1cc7da
%{_mandir}/man8/vgscan.8.gz
1cc7da
%{_mandir}/man8/vgsplit.8.gz
b874f5
%{_udevdir}/11-dm-lvm.rules
b77e7d
%{_udevdir}/69-dm-lvm-metad.rules
374970
%if %{enable_lvmpolld}
374970
%{_mandir}/man8/lvmpolld.8.gz
eae0c8
%{_mandir}/man8/lvm-lvpoll.8.gz
374970
%endif
16c802
%dir %{_sysconfdir}/lvm
16c802
%ghost %{_sysconfdir}/lvm/cache/.cache
39f07e
%attr(644, -, -) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvm.conf
d65504
%attr(644, -, -) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lvm/lvmlocal.conf
bc8ebe
%dir %{_sysconfdir}/lvm/profile
892512
%{_sysconfdir}/lvm/profile/command_profile_template.profile
892512
%{_sysconfdir}/lvm/profile/metadata_profile_template.profile
892512
%{_sysconfdir}/lvm/profile/thin-generic.profile
b53ea4
%{_sysconfdir}/lvm/profile/thin-performance.profile
e9b695
%{_sysconfdir}/lvm/profile/cache-mq.profile
e9b695
%{_sysconfdir}/lvm/profile/cache-smq.profile
f81b7f
%{_sysconfdir}/lvm/profile/lvmdbusd.profile
046945
%if %{enable_vdo}
046945
%{_sysconfdir}/lvm/profile/vdo-small.profile
046945
%endif
16c802
%dir %{_sysconfdir}/lvm/backup
16c802
%dir %{_sysconfdir}/lvm/cache
16c802
%dir %{_sysconfdir}/lvm/archive
cbcefd
%dir %{_default_locking_dir}
cbcefd
%dir %{_default_run_dir}
d25832
%{_tmpfilesdir}/%{name}.conf
d48972
%{_unitdir}/blk-availability.service
4f75fb
%{_unitdir}/lvm2-monitor.service
8c6d94
%{_unitdir}/lvm2-pvscan@.service
046945
%attr(555, -, -) %{_prefix}/lib/systemd/system-generators/lvm2-activation-generator
374970
%if %{enable_lvmpolld}
374970
%{_unitdir}/lvm2-lvmpolld.socket
374970
%{_unitdir}/lvm2-lvmpolld.service
374970
%endif
cvsdist bf559c
3d707b
##############################################################################
72c4e0
# Library and Development subpackages
72c4e0
##############################################################################
72c4e0
%package devel
72c4e0
Summary: Development libraries and headers
72c4e0
License: LGPLv2
77e0a1
Requires: %{name} = %{?epoch}:%{version}-%{release}
77e0a1
Requires: device-mapper-devel = %{?epoch}:%{device_mapper_version}-%{release}
77e0a1
Requires: device-mapper-event-devel = %{?epoch}:%{device_mapper_version}-%{release}
72c4e0
Requires: pkgconfig
72c4e0
72c4e0
%description devel
72c4e0
This package contains files needed to develop applications that use
72c4e0
the lvm2 libraries.
72c4e0
72c4e0
%files devel
39f07e
%defattr(444,root,root,-)
f8e882
%{_libdir}/liblvm2cmd.so
0a1e72
%{_libdir}/libdevmapper-event-lvm2.so
72c4e0
%{_includedir}/lvm2cmd.h
72c4e0
72c4e0
%package libs
bf91df
Summary: Shared libraries for lvm2
72c4e0
License: LGPLv2
77e0a1
Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
72c4e0
72c4e0
%description libs
72c4e0
This package contains shared lvm2 libraries for applications.
72c4e0
b44498
%ldconfig_scriptlets libs
72c4e0
72c4e0
%files libs
7f8f4a
%{!?_licensedir:%global license %%doc}
7f8f4a
%license COPYING.LIB
82eacf
%defattr(555,root,root,-)
39f07e
%{_libdir}/liblvm2cmd.so.*
39f07e
%{_libdir}/libdevmapper-event-lvm2.so.*
bf91df
%dir %{_libdir}/device-mapper
bf91df
%{_libdir}/device-mapper/libdevmapper-event-lvm2mirror.so
bf91df
%{_libdir}/device-mapper/libdevmapper-event-lvm2snapshot.so
a76d6f
%{_libdir}/device-mapper/libdevmapper-event-lvm2raid.so
8d2584
%{_libdir}/libdevmapper-event-lvm2mirror.so
8d2584
%{_libdir}/libdevmapper-event-lvm2snapshot.so
a76d6f
%{_libdir}/libdevmapper-event-lvm2raid.so
72c4e0
39bedd
%if %{enable_thin}
39bedd
%{_libdir}/libdevmapper-event-lvm2thin.so
39bedd
%{_libdir}/device-mapper/libdevmapper-event-lvm2thin.so
39bedd
%endif
39bedd
dede4c
%{_libdir}/libdevmapper-event-lvm2vdo.so
dede4c
%{_libdir}/device-mapper/libdevmapper-event-lvm2vdo.so
dede4c
0cb590
##############################################################################
0cb590
# LVM locking daemon
0cb590
##############################################################################
ebc16a
%if %{enable_lockd_dlm} || %{enable_lockd_sanlock}
0cb590
%package lockd
0cb590
Summary: LVM locking daemon
77e0a1
Requires: lvm2 = %{?epoch}:%{version}-%{release}
25f0e5
%if %{enable_lockd_sanlock}
0cb590
Requires: sanlock-lib >= %{sanlock_version}
25f0e5
%endif
083040
%if %{enable_lockd_dlm}
77e0a1
Requires: dlm-lib >= %{dlm_version}
083040
%endif
0cb590
Requires(post): systemd-units >= %{systemd_version}
0cb590
Requires(preun): systemd-units >= %{systemd_version}
0cb590
Requires(postun): systemd-units >= %{systemd_version}
0cb590
0cb590
%description lockd
0cb590
0cb590
LVM commands use lvmlockd to coordinate access to shared storage.
0cb590
0cb590
%post lockd
046945
%systemd_post lvmlockd.service lvmlocks.service
0cb590
0cb590
%preun lockd
046945
%systemd_preun lvmlockd.service lvmlocks.service
0cb590
0cb590
%postun lockd
046945
%systemd_postun lvmlockd.service lvmlocks.service
0cb590
0cb590
%files lockd
0cb590
%defattr(444,root,root,-)
0cb590
%%attr(555, -, -) %{_sbindir}/lvmlockd
0cb590
%%attr(555, -, -) %{_sbindir}/lvmlockctl
0cb590
%{_mandir}/man8/lvmlockd.8.gz
e92381
%{_mandir}/man8/lvmlockctl.8.gz
046945
%{_unitdir}/lvmlockd.service
046945
%{_unitdir}/lvmlocks.service
892512
fa0285
%endif
fa0285
892512
###############################################################################
605309
# Cluster mirror subpackage
892512
# The 'clvm' OCF script to manage cmirrord instance is part of resource-agents.
892512
###############################################################################
fa0285
%if %{enable_cluster}
d2a259
%if %{enable_cmirror}
fa0285
605309
%package -n cmirror
605309
Summary: Daemon for device-mapper-based clustered mirrors
605309
Requires: corosync >= %{corosync_version}
77e0a1
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
892512
Requires: resource-agents >= %{resource_agents_version}
605309
605309
%description -n cmirror
605309
Daemon providing device-mapper-based mirrors in a shared-storage cluster.
605309
605309
%files -n cmirror
39f07e
%defattr(555,root,root,-)
39f07e
%{_sbindir}/cmirrord
39f07e
%attr(444, -, -) %{_mandir}/man8/cmirrord.8.gz
605309
892512
##############################################################################
892512
# Cmirror-standalone subpackage
892512
##############################################################################
892512
%package -n cmirror-standalone
046945
Summary: Additional files to support device-mapper-based clustered mirrors in standalone mode
892512
License: GPLv2
77e0a1
Requires: cmirror >= %{?epoch}:%{version}-%{release}
892512
892512
%description -n cmirror-standalone
892512
892512
Additional files needed to run daemon for device-mapper-based clustered
892512
mirrors in standalone mode as a service without cluster resource manager
892512
involvement (e.g. pacemaker).
892512
892512
%post -n cmirror-standalone
892512
%systemd_post lvm2-cmirrord.service
892512
892512
%preun -n cmirror-standalone
892512
%systemd_preun lvm2-cmirrord.service
892512
892512
%postun -n cmirror-standalone
892512
%systemd_postun lvm2-cmirrord.service
892512
892512
%files -n cmirror-standalone
892512
%defattr(444,root,root,-)
892512
%{_unitdir}/lvm2-cmirrord.service
892512
fa0285
%endif
d2a259
%endif
fa0285
605309
##############################################################################
d48887
# LVM D-Bus daemon
d48887
##############################################################################
d48887
%if %{enable_lvmdbusd}
d48887
d48887
%package dbusd
d48887
Summary: LVM2 D-Bus daemon
d48887
License: GPLv2
046945
BuildArch: noarch
77e0a1
Requires: lvm2 >= %{?epoch}:%{version}-%{release}
d48887
Requires: dbus
d48887
Requires: python3-dbus
d48887
Requires: python3-pyudev
a728d7
Requires: python3-gobject-base
d48887
Requires(post): systemd-units >= %{systemd_version}
d48887
Requires(preun): systemd-units >= %{systemd_version}
d48887
Requires(postun): systemd-units >= %{systemd_version}
d48887
d48887
%description dbusd
d48887
d48887
Daemon for access to LVM2 functionality through a D-Bus interface.
d48887
d48887
%post dbusd
d48887
%systemd_post lvm2-lvmdbusd.service
d48887
d48887
%preun dbusd
d48887
%systemd_preun lvm2-lvmdbusd.service
d48887
d48887
%postun dbusd
d48887
%systemd_postun lvm2-lvmdbusd.service
d48887
d48887
%files dbusd
d48887
%defattr(555,root,root,-)
d48887
%{_sbindir}/lvmdbusd
d48887
%defattr(444,root,root,-)
d48887
%{_sysconfdir}/dbus-1/system.d/com.redhat.lvmdbus1.conf
d48887
%{_datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service
d48887
%{_mandir}/man8/lvmdbusd.8.gz
d48887
%{_unitdir}/lvm2-lvmdbusd.service
d48887
%{python3_sitelib}/lvmdbusd/*
d48887
d48887
%endif
d48887
d48887
##############################################################################
c9fa9a
# Device-mapper subpackages
c9fa9a
##############################################################################
c9fa9a
%package -n device-mapper
c9fa9a
Summary: Device mapper utility
c9fa9a
Version: %{device_mapper_version}
c9fa9a
License: GPLv2
c9fa9a
URL: http://sources.redhat.com/dm
77e0a1
Requires: device-mapper-libs = %{?epoch}:%{device_mapper_version}-%{release}
f7491b
Requires: util-linux >= %{util_linux_version}
d48972
Requires: systemd >= %{systemd_version}
b874f5
# We need dracut to install required udev rules if udev_sync
b874f5
# feature is turned on so we don't lose required notifications.
d48972
Conflicts: dracut < %{dracut_version}
c9fa9a
c9fa9a
%description -n device-mapper
c9fa9a
This package contains the supporting userspace utility, dmsetup,
c9fa9a
for the kernel device-mapper.
c9fa9a
c9fa9a
%files -n device-mapper
7f8f4a
%{!?_licensedir:%global license %%doc}
7f8f4a
%license COPYING COPYING.LIB
7f8f4a
%doc WHATS_NEW_DM VERSION_DM README
d36371
%doc udev/12-dm-permissions.rules
39f07e
%defattr(444,root,root,-)
0a1e72
%attr(555, -, -) %{_sbindir}/dmsetup
704f3c
%attr(555, -, -) %{_sbindir}/blkdeactivate
a73000
%attr(555, -, -) %{_sbindir}/dmstats
39f07e
%{_mandir}/man8/dmsetup.8.gz
0b40fc
%{_mandir}/man8/dmstats.8.gz
704f3c
%{_mandir}/man8/blkdeactivate.8.gz
a73000
%if %{enable_dmfilemapd}
a73000
%attr(555, -, -) %{_sbindir}/dmfilemapd
a73000
%{_mandir}/man8/dmfilemapd.8.gz
a73000
%endif
b874f5
%{_udevdir}/10-dm.rules
b874f5
%{_udevdir}/13-dm-disk.rules
b874f5
%{_udevdir}/95-dm-notify.rules
c9fa9a
c9fa9a
%package -n device-mapper-devel
c9fa9a
Summary: Development libraries and headers for device-mapper
c9fa9a
Version: %{device_mapper_version}
475f9d
License: LGPLv2
77e0a1
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
776753
Requires: pkgconfig
c9fa9a
c9fa9a
%description -n device-mapper-devel
c9fa9a
This package contains files needed to develop applications that use
c9fa9a
the device-mapper libraries.
c9fa9a
c9fa9a
%files -n device-mapper-devel
39f07e
%defattr(444,root,root,-)
f8e882
%{_libdir}/libdevmapper.so
c9fa9a
%{_includedir}/libdevmapper.h
f8e882
%{_libdir}/pkgconfig/devmapper.pc
c9fa9a
c9fa9a
%package -n device-mapper-libs
c9fa9a
Summary: Device-mapper shared library
c9fa9a
Version: %{device_mapper_version}
475f9d
License: LGPLv2
77e0a1
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
c9fa9a
c9fa9a
%description -n device-mapper-libs
c9fa9a
This package contains the device-mapper shared library, libdevmapper.
c9fa9a
b44498
%ldconfig_scriptlets -n device-mapper-libs
c9fa9a
c9fa9a
%files -n device-mapper-libs
7f8f4a
%{!?_licensedir:%global license %%doc}
7f8f4a
%license COPYING COPYING.LIB
82eacf
%defattr(555,root,root,-)
39f07e
%{_libdir}/libdevmapper.so.*
8d2584
8d2584
%package -n device-mapper-event
8d2584
Summary: Device-mapper event daemon
5d9b96
Version: %{device_mapper_version}
77e0a1
Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
77e0a1
Requires: device-mapper-event-libs = %{?epoch}:%{device_mapper_version}-%{release}
4f75fb
Requires(post): systemd-units
4f75fb
Requires(preun): systemd-units
4f75fb
Requires(postun): systemd-units
8d2584
8d2584
%description -n device-mapper-event
8d2584
This package contains the dmeventd daemon for monitoring the state
8d2584
of device-mapper devices.
8d2584
4f75fb
%post -n device-mapper-event
d48972
%systemd_post dm-event.socket
eae0c8
# dm-event.socket is always enabled and started and ready to serve if dmeventd is used
eae0c8
# replace direct systemctl calls with systemd rpm macro once this is provided in the macro:
eae0c8
# http://cgit.freedesktop.org/systemd/systemd/commit/?id=57ab2eabb8f92fad5239c7d4492e9c6e23ee0678
eae0c8
systemctl enable dm-event.socket
59cb2a
systemctl start dm-event.socket >/dev/null 2>&1 || :
0a1e72
if [ -e %{_default_pid_dir}/dmeventd.pid ]; then
0a1e72
	%{_sbindir}/dmeventd -R || echo "Failed to restart dmeventd daemon. Please, try manual restart."
0a1e72
fi
4f75fb
4f75fb
%preun -n device-mapper-event
d48972
%systemd_preun dm-event.service dm-event.socket
4f75fb
8d2584
%files -n device-mapper-event
39f07e
%defattr(444,root,root,-)
39f07e
%attr(555, -, -) %{_sbindir}/dmeventd
41cfdf
%{_mandir}/man8/dmeventd.8.gz
4f75fb
%{_unitdir}/dm-event.socket
4f75fb
%{_unitdir}/dm-event.service
8d2584
8d2584
%package -n device-mapper-event-libs
8d2584
Summary: Device-mapper event daemon shared library
8d2584
Version: %{device_mapper_version}
8d2584
License: LGPLv2
8d2584
8d2584
%description -n device-mapper-event-libs
8d2584
This package contains the device-mapper event daemon shared library,
8d2584
libdevmapper-event.
8d2584
b44498
%ldconfig_scriptlets -n device-mapper-event-libs
8d2584
8d2584
%files -n device-mapper-event-libs
7f8f4a
%{!?_licensedir:%global license %%doc}
7f8f4a
%license COPYING.LIB
82eacf
%defattr(555,root,root,-)
39f07e
%{_libdir}/libdevmapper-event.so.*
8d2584
8d2584
%package -n device-mapper-event-devel
8d2584
Summary: Development libraries and headers for the device-mapper event daemon
8d2584
Version: %{device_mapper_version}
8d2584
License: LGPLv2
77e0a1
Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
8d2584
Requires: pkgconfig
8d2584
8d2584
%description -n device-mapper-event-devel
8d2584
This package contains files needed to develop applications that use
8d2584
the device-mapper event library.
8d2584
8d2584
%files -n device-mapper-event-devel
39f07e
%defattr(444,root,root,-)
f8e882
%{_libdir}/libdevmapper-event.so
8d2584
%{_includedir}/libdevmapper-event.h
f8e882
%{_libdir}/pkgconfig/devmapper-event.pc
c9fa9a
e18384
##############################################################################
e18384
# Testsuite
e18384
##############################################################################
e18384
%if %{enable_testsuite}
e18384
%package testsuite
e18384
Summary: LVM2 Testsuite
dede4c
# Most of the code is GPLv2, the harness in test/lib/{brick-shelltest.h,runner.cpp} is BSD, and C files in test/api are LGPLv2...
dede4c
License: LGPLv2 and GPLv2 and BSD-2-Clause
e18384
e18384
%description testsuite
e18384
An extensive functional testsuite for LVM2.
e18384
e18384
%files testsuite
dede4c
%license COPYING COPYING.LIB COPYING.BSD
e18384
%{_datadir}/lvm2-testsuite/
e18384
%{_libexecdir}/lvm2-testsuite/
e18384
%{_bindir}/lvm2-testsuite
e18384
%endif
e18384
cvsdist bf559c
%changelog
d50e80
* Wed Sep 18 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.05-4
d50e80
- Remove unsupported OPTIONS+="event_timeout" from udev rule (#1749857)
d50e80
6313ba
* Tue Aug 27 2019 Adam Williamson <awilliam@redhat.com> - 2.03.05-3
6313ba
- Backport fix for converting dbus.UInt to string in Python 3.8 (#1745597)
6313ba
ec5dbb
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.03.05-2
ec5dbb
- Rebuilt for Python 3.8
ec5dbb
046945
* Wed Jul 31 2019 Marian Csontos <mcsontos@redhat.com> - 2.03.05-1
046945
- IMPORTANT: Prohibit mirrored 'mirror' log via lvcreate and lvconvert. Use RAID1.
046945
- IMPORTANT: Dropped deprecated liblvm2app.
046945
- IMPORTANT: clvmd dropped. Use lvmlockd for cluster locking.
046945
- Dropped lvmetad.
046945
- Deduplication and compression - support for VDO volumes.
046945
- Add device hints to reduce scanning.
046945
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
046945
e7e326
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.185-2
e7e326
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e7e326
19eaec
* Mon May 13 2019 Marian Csontos <mcsontos@redhat.com> - 2.02.185-1
19eaec
- Fix change of monitoring in clustered volumes.
19eaec
- Improve -lXXX%%VG modifier which improves cache segment estimation.
19eaec
- Add synchronization with udev before removing cached devices.
19eaec
- Fix missing growth of _pmspare volume when extending _tmeta volume.
19eaec
- Automatically grow thin metadata, when thin data gets too big.
19eaec
- Add cached devices support to vgsplit.
19eaec
- Fix signal delivery checking race in libdaemon (lvmetad).
19eaec
- Add missing Before=shutdown.target to LVM2 services to fix shutdown ordering.
19eaec
9bb24a
* Mon Apr 01 2019 Marian Csontos <mcsontos@redhat.com> - 2.02.184-1
9bb24a
- IMPORTANT: Change scan_lvs default to 0 so LVs are not scanned for PVs.
9bb24a
- Fix (de)activation of RaidLVs with visible SubLVs.
9bb24a
- Add scan_lvs config setting to control if lvm scans LVs for PVs.
9bb24a
- Fix missing proper initialization of pv_list struct when adding PV.
9bb24a
- Ensure migration_threshold for cache is at least 8 chunks.
9bb24a
- Enhance ioctl flattening and add parameters only when needed.
9bb24a
- Add DM_DEVICE_ARM_POLL for API completness matching kernel.
9bb24a
526e83
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.183-4
526e83
- Remove obsolete scriptlets
526e83
1b0c30
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.183-3
1b0c30
- Rebuild for readline 8.0
1b0c30
50f7cf
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.183-2
50f7cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
50f7cf
6d1936
* Fri Dec 07 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.183-1
6d1936
- Bug fix release addressing issus with MD RAID version 1.0 and 0.90.
6d1936
4f0f5d
* Wed Oct 31 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.182-1
4f0f5d
- Important bugfix release fixing possible data corruption.
4f0f5d
dede4c
* Thu Aug 02 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.181-1
dede4c
- Reject conversions on raid1 LVs with split tracked SubLVs.
dede4c
- Reject conversions on raid1 split tracked SubLVs.
dede4c
- Fix dmstats list failing when no regions exist.
dede4c
- Reject conversions of LVs under snapshot.
dede4c
- Limit suggested options on incorrect option for lvconvert subcommand.
dede4c
- Add vdo plugin for monitoring VDO devices.
dede4c
bf8243
* Thu Jul 19 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.180-1
bf8243
- Never send any discard ioctl with test mode.
bf8243
- Fix thin-pool alloc which needs same PV for data and metadata.
bf8243
- Enhance vgcfgrestore to check for active LVs in restored VG.
bf8243
- Provide possible layouts when converting between linear and striped/raid.
bf8243
- Fix unmonitoring of merging snapshots.
bf8243
- Cache can uses metadata format 2 with cleaner policy.
bf8243
- Avoid showing internal error in lvs output or pvmoved LVs.
bf8243
- Fix check if resized PV can also fit metadata area.
bf8243
- Reopen devices RDWR only before writing to avoid udev issues.
bf8243
- Change pvresize output confusing when no resize took place.
bf8243
- Fix lvmetad hanging on shutdown.
bf8243
- Fix mem leak in clvmd and more coverity issues.
bf8243
0449da
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.179-4
0449da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0449da
215bb0
* Tue Jul 10 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.179-3
215bb0
- Remove deprecated python bindings.
215bb0
6ba978
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.02.179-2
215bb0
- Rebuilt for Python 3.7.
6ba978
a5b11c
* Mon Jun 18 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.179-1
a5b11c
- Bugfix release mainly fixing known cache and lvmlockd issues.
a5b11c
a5b11c
* Wed Jun 13 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.178-1
ee1bf2
- Remove the rc1 from release.
ee1bf2
d9a02c
* Tue May 29 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.178-0.1.rc1
d9a02c
- Remove lvm1 and pool format handling and add filter to ignore them.
d9a02c
- Rework disk scanning and when it is used.
d9a02c
- Add new io layer using libaio for faster scanning.
d9a02c
- Support activation of component LVs in read-only mode.
d9a02c
- Avoid non-exclusive activation of exclusive segment types.
d9a02c
- Restore pvmove support for clusterwide active volumes (2.02.177).
d9a02c
- Add prioritized_section() to restore cookie boundaries (2.02.177).
d9a02c
- Again accept striped LV as COW LV with lvconvert -s (2.02.169).
d9a02c
- Restore usability of thin LV to be again external origin for another thin (2.02.169).
d9a02c
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
d9a02c
b5fe25
* Wed Apr 04 2018 Marian Csontos <mcsontos@redhat.com> - 2.02.177-5
b5fe25
- Disable python2 bindings.
b5fe25
37ffe7
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.02.177-4
37ffe7
- Escape macros in %%changelog
37ffe7
baef82
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.177-3
baef82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
baef82
a3e725
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.02.177-2
a3e725
- Update Python 2 dependency declarations to new packaging standards
a3e725
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a3e725
0948a0
* Tue Dec 19 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.177-1
0948a0
- When writing text metadata content, use complete 4096 byte blocks.
0948a0
- Change text format metadata alignment from 512 to 4096 bytes.
0948a0
- When writing metadata, consistently skip mdas marked as failed.
0948a0
- Refactor and adjust text format metadata alignment calculation.
0948a0
- Fix python3 path in lvmdbusd to use value detected by configure.
0948a0
- Reduce checks for active LVs in vgchange before background polling.
0948a0
- Ensure _node_send_message always uses clean status of thin pool.
0948a0
- Fix lvmlockd to use pool lock when accessing _tmeta volume.
0948a0
- Report expected sanlock_convert errors only when retries fail.
0948a0
- Avoid blocking in sanlock_convert on SH to EX lock conversion.
0948a0
- Deactivate missing raid LV legs (_rimage_X-missing_Y_Z) on decativation.
0948a0
- Skip read-modify-write when entire block is replaced.
0948a0
- Categorise I/O with reason annotations in debug messages.
0948a0
- Allow extending of raid LVs created with --nosync after a failed repair.
0948a0
- Command will lock memory only when suspending volumes.
0948a0
- Merge segments when pvmove is finished.
0948a0
- Remove label_verify that has never been used.
0948a0
- Ensure very large numbers used as arguments are not casted to lower values.
0948a0
- Enhance reading and validation of options stripes and stripes_size.
0948a0
- Fix printing of default stripe size when user is not using stripes.
0948a0
- Activation code for pvmove automatically discovers holding LVs for resume.
0948a0
- Make a pvmove LV locking holder.
0948a0
- Do not change critical section counter on resume path without real resume.
0948a0
- Enhance activation code to automatically suspend pvmove participants.
0948a0
- Prevent conversion of thin volumes to snapshot origin when lvmlockd is used.
0948a0
- Correct the steps to change lock type in lvmlockd man page.
0948a0
- Retry lock acquisition on recognized sanlock errors.
0948a0
- Fix lock manager error codes in lvmlockd.
0948a0
- Remove unnecessary single read from lvmdiskscan.
0948a0
- Check raid reshape flags in vg_validate().
0948a0
- Add support for pvmove of cache and snapshot origins.
0948a0
- Avoid using precommitted metadata for suspending pvmove tree.
0948a0
- Ehnance pvmove locking.
0948a0
- Deactivate activated LVs on error path when pvmove activation fails.
0948a0
- Add "io" to log/debug_classes for logging low-level I/O.
0948a0
- Avoid importing persistent filter in vgscan/pvscan/vgrename.
0948a0
- Fix memleak of string buffer when vgcfgbackup runs in secure mode.
0948a0
- Do not print error when clvmd cannot find running clvmd.
0948a0
- Prevent start of new merge of snapshot if origin is already being merged.
0948a0
- Fix offered type for raid6_n_6 to raid5 conversion (raid5_n).
0948a0
- Deactivate sub LVs when removing unused cache-pool.
0948a0
- Do not take backup with suspended devices.
0948a0
- Avoid RAID4 activation on incompatible kernels under all circumstances.
0948a0
- Reject conversion request to striped/raid0 on 2-legged raid4/5.
0948a0
- Activation tree of thin pool skips duplicated check of pool status.
0948a0
- Remove code supporting replicator target.
0948a0
- Do not ignore failure of _info_by_dev().
0948a0
- Propagate delayed resume for pvmove subvolumes.
0948a0
- Suppress integrity encryption keys in 'table' output unless --showkeys supplied.
0948a0
e18384
* Thu Dec 14 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.176-2
e18384
- Add testsuite subpackage.
e18384
4bf852
* Fri Nov 03 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.176-1
4bf852
- Fix segfault in lvm_pv_remove in liblvm. (2.02.173)
4bf852
- Do not allow storing VG metadata with LV without any segment.
4bf852
- Fix printed message when thin snapshot was already merged.
4bf852
- Remove created spare LV when creation of thin-pool failed.
4bf852
- Avoid reading ignored metadata when MDA gets used again.
4bf852
- Fix detection of moved PVs in vgsplit. (2.02.175)
4bf852
- Ignore --stripes/--stripesize on RAID takeover
4bf852
- Disallow creation of snapshot of mirror/raid subLV (was never supported).
4bf852
- Keep Install section only in *.socket systemd units.
4bf852
- Improve used paths for generated systemd units and init shells.
4bf852
- Fix regression in more advanced vgname extraction in lvconvert (2.02.169).
4bf852
- Allow lvcreate to be used for caching of _tdata LV.
4bf852
- Avoid internal error when resizing cache type _tdata LV (not yet supported).
4bf852
- Show original converted names when lvconverting LV to pool volume.
4bf852
- Move lib code used only by liblvm into metadata-liblvm.c.
4bf852
- Distinguish between device not found and excluded by filter.
4bf852
- Monitor external origin LVs.
e18384
- Allow lvcreate --type mirror to work with 100%%FREE.
4bf852
- Improve selection of resource name for complex volume activation lock.
4bf852
- Avoid cutting first character of resource name for activation lock.
4bf852
- Support for encrypted devices in fsadm.
4bf852
- Improve thin pool overprovisioning and repair warning messages.
4bf852
- Fix incorrect adjustment of region size on striped RaidLVs.
4bf852
- Issue a specific error with dmsetup status if device is unknown.
4bf852
- Fix RT_LIBS reference in generated libdevmapper.pc for pkg-config.
4bf852
08ce2e
* Mon Oct 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.175-1
08ce2e
- Use --help with blockdev when checking for --getsize64 support in fsadm.
08ce2e
- Dump lvmdbusd debug information with SIGUSR1.
08ce2e
- Fix metadata corruption in vgsplit and vgmerge intermediate states.
08ce2e
- Add PV_MOVED_VG PV status flag to mark PVs moving between VGs.
08ce2e
- Fix lvmdbus hang and recognise unknown VG correctly.
08ce2e
- Improve error messages when command rules fail.
08ce2e
- Require LV name with pvmove in a shared VG.
08ce2e
- Allow shared active mirror LVs with lvmlockd, dlm, and cmirrord.
08ce2e
- Support lvconvert --repair with cache and cachepool volumes.
08ce2e
- lvconvert --repair respects --poolmetadataspare option.
08ce2e
- Fix thin pool creation in a shared VG. (2.02.173)
08ce2e
- Schedule exit when received SIGTERM in dmeventd.
08ce2e
- Fix blkdeactivate regression with failing DM/MD devs deactivation (1.02.142).
08ce2e
- Add blkdeactivate -r wait option to wait for MD resync/recovery/reshape.
08ce2e
- Use blkdeactivate -r wait in blk-availability systemd service/initscript.
08ce2e
- Also try to unmount /boot on blkdeactivate -u if on top of supported device.
08ce2e
- Fix typo in blkdeactivate's '--{dm,lvm,mpath}options' option name.
08ce2e
- Correct return value testing when get reserved values for reporting.
08ce2e
- Take -S with dmsetup suspend/resume/clear/wipe_table/remove/deps/status/table.
08ce2e
- Fix mistakenly commented out %%python_provide line for python3-lvm.
08ce2e
ed7ef9
* Mon Oct 02 2017 Troy Dawson <tdawson@redhat.com> - 2.02.174-2
ed7ef9
- Bump to rebuild on rebuilt corosync
ed7ef9
- Cleanup spec file conditionals
ed7ef9
852dd0
* Wed Sep 20 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.174-1.f28
852dd0
- NOTE: Deprecating python bindings and liblvm2app.
852dd0
- Prevent raid1 split with trackchanges in a shared VG.
852dd0
- Avoid double unlocking of client & lockspace mutexes in lvmlockd.
852dd0
- Fix leaking of file descriptor for non-blocking filebased locking.
852dd0
- Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile.
852dd0
- Use maximum metadataarea size that fits with pvcreate --restorefile.
852dd0
- Always clear cached bootloaderarea when wiping label e.g. in pvcreate.
852dd0
- Disallow --bootloaderareasize with pvcreate --restorefile.
852dd0
- Fix lvmlockd check for running lock managers during lock adoption.
852dd0
- Add --withgeneralpreamble and --withlocalpreamble to lvmconfig.
852dd0
- Add warning when creating thin-pool with zeroing and chunk size >= 512KiB.
852dd0
- Introduce exit code 4 EINIT_FAILED to replace -1 when initialisation fails.
852dd0
- Add synchronization points with udev during reshape of raid LVs.
852dd0
- Restore umask when creation of node fails.
852dd0
- Add --concise to dmsetup create for many devices with tables in one command.
852dd0
- Accept minor number without major in library when it knows dm major number.
852dd0
- Introduce single-line concise table output format: dmsetup table --concise.
852dd0
833330
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.173-4
833330
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
833330
d74b78
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 2.02.173-3
d74b78
- Rebuild with binutils fix for ppc64le (#1475636)
d74b78
515955
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.173-2
515955
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
515955
b7e5bf
* Tue Jul 25 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.173-1
b7e5bf
- Create /dev/disk/by-part{uuid,label} and gpt-auto-root symlinks with udev.
b7e5bf
- Add synchronization points with udev during conversion of raid LVs.
b7e5bf
- Improve --size args validation and report more detailed error message.
b7e5bf
- Initialize debugging mutex before any debug message in clvmd.
b7e5bf
- Log error instead of warn when noticing connection problem with lvmetad.
b7e5bf
- Fix memory leak in lvmetad when working with duplicates.
b7e5bf
- Remove restrictions on reshaping open and clustered raid devices.
b7e5bf
- Add incompatible data_offset to raid metadata to fix reshape activation.
b7e5bf
- Accept 'lvm -h' and 'lvm --help' as well as 'lvm help' for help.
b7e5bf
- Suppress error message from accept() on clean lvmetad shutdown.
b7e5bf
- Tidy clvmd client list processing and fix segfaults.
b7e5bf
- Protect clvmd debug log messages with mutex and add client id.
b7e5bf
- Fix shellcheck reported issues for script files.
b7e5bf
467f2f
* Thu Jun 29 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.172-1
467f2f
- Do not lvdisplay --maps unset settings of cache pool.
467f2f
- Fix lvdisplay --maps for cache pool without policy settings.
467f2f
- Support aborting of flushing cache LV.
467f2f
- Improve lvcreate --cachepool arg validation.
467f2f
- Cache format2 flag is now using segment name type field.
467f2f
- Disallow cachepool creation with policy cleaner and mode writeback.
467f2f
- Lvconvert --repair handles failing raid legs (present but marked 'D'ead).
467f2f
- Add display_percent helper function for printing percent values.
467f2f
- Add dm_percent_to_round_float for adjusted percentage rounding.
467f2f
- Fix lvcreate extent percentage calculation for mirrors.
467f2f
- Reenable conversion of data and metadata thin-pool volumes to raid.
467f2f
- Linear to RAID1 upconverts now use "recover" sync action, not "resync".
467f2f
- No longer necessary to '--force' a repair for RAID1.
467f2f
- Improve raid status reporting with lvs.
467f2f
- dm_get_status_raid() handle better some incosistent md statuses.
467f2f
- Limit maximal size of thin-pool for specific chunk size.
467f2f
- Print a warning about in-use PVs with no VG using them.
467f2f
- Disable automatic clearing of PVs that look like in-use orphans.
467f2f
- Extend validation of filesystems resized by fsadm.
467f2f
- Properly handle subshell return codes in fsadm.
467f2f
- Stop using '--yes' mode when fsadm runs without terminal.
467f2f
- Support storing status flags via segtype name field.
467f2f
- Enhance lvconvert automatic settings of possible (raid) LV types.
467f2f
- Add missing NULL to argv array when spliting cmdline arguments.
467f2f
- Don't reinstate still-missing devices when correcting inconsistent metadata.
467f2f
- Allow lvchange to change properties on a thin pool data sub LV.
467f2f
- Fix reusing of dm_task structure for status reading (used by dmeventd).
467f2f
- Drop unneeded --config option from raid dmeventd plugin.
467f2f
- Accept truncated files in calls to dm_stats_update_regions_from_fd().
467f2f
- Restore Warning by 5% increment when thin-pool is over 80% (1.02.138).
467f2f
- Reset array with dead rimage devices once raid gets in sync.
467f2f
6be245
* Fri Jun 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-3
7db022
- Fix lvmdbusd not passing --all with vgreduce --removemissing.
6be245
ba2af4
* Wed May 17 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-2
ba2af4
- Fix lvmdbusd mangling config options.
ba2af4
a73000
* Tue May 09 2017 Marian Csontos <mcsontos@redhat.com> - 2.02.171-1
a73000
- Add RAID takeover and reshaping.
a73000
- Add pvcreate prompt when device size doesn't match setphysicalvolumesize.
a73000
- Remove obsolete lvmchange binary - convert to built-in command.
a73000
- Support cache segment with configurable metadata format.
a73000
- Add option for lvcreate/lvconvert --cachemetadataformat auto|1|2.
a73000
- Add allocation/cache_metadata_format profilable settings.
a73000
- Command line options, help and man pages using common definitions.
a73000
- Add build-time configuration command line to 'lvm version' output.
a73000
- Disable lvmetad when lvconvert --repair is run.
a73000
- Raise mirror/raid default regionsize to 2MiB.
a73000
- Support shrinking of RaidLVs.
a73000
- Introduce global/fsadm_executable to make fsadm path configurable.
a73000
- Look for limited thin pool metadata size when using 16G metadata.
a73000
- Add lvconvert pool creation rule disallowing options with poolmetadata.
a73000
- Fix missing lvmlockd LV locks in lvchange and lvconvert.
a73000
- Fix dmeventd setup for lvchange --poll.
a73000
- Fix use of --poll and --monitor with lvchange and vgchange.
a73000
- Disallow lvconvert of hidden LV to a pool.
a73000
- Ignore --partial option when not used for activation.
a73000
- Allow --activationmode option with lvchange --refresh.
a73000
- Allow valid lvconvert --regionsize change
a73000
- Fix SIGINT blocking to prevent corrupted metadata
a73000
- Fix systemd unit existence check for lvmconf --services --startstopservices.
a73000
- Check and use PATH_MAX buffers when creating vgrename device paths.
a73000
- Handle known table line parameter order change in specific raid target vsns.
a73000
- Show more information for cached volumes in lvdisplay [-m].
a73000
- Use function cache_set_params() for both lvcreate and lvconvert.
a73000
- Skip rounding on cache chunk size boudary when create cache LV.
a73000
- Improve cache_set_params support for chunk_size selection.
a73000
- Fix metadata profile allocation/cache_[mode|policy] setting.
a73000
- Fix missing support for using allocation/cache_pool_chunk_size setting.
a73000
- Support conversion of raid type, stripesize and number of disks
a73000
- Reject writemostly/writebehind in lvchange during resynchronization.
a73000
- Deactivate active origin first before removal for improved workflow.
a73000
- Fix regression of accepting both --type and -m with lvresize. (2.02.158)
a73000
- Add extra memory page when limiting pthread stack size in clvmd.
a73000
- Support striped/raid0* <-> raid10_near conversions.
a73000
- Support region size changes on existing RaidLVs.
a73000
- Avoid parallel usage of cpg_mcast_joined() in clvmd with corosync.
a73000
- Support raid6_{ls,rs,la,ra}_6 segment types and conversions from/to it.
a73000
- Support raid6_n_6 segment type and conversions from/to it.
a73000
- Support raid5_n segment type and conversions from/to it.
a73000
- Support new internal command _dmeventd_thin_command.
a73000
- Introduce new dmeventd/thin_command configurable setting.
a73000
- Use new default units 'r' for displaying sizes.
a73000
- Also unmount mount point on top of MD device if using blkdeactivate -u.
a73000
- Restore check preventing resize of cache type volumes (2.02.158).
a73000
- Add missing udev sync when flushing dirty cache content.
a73000
- vgchange -p accepts only uint32 numbers.
a73000
- Report thin LV date for merged LV when the merge is in progress.
a73000
- Detect if snapshot merge really started before polling for progress.
a73000
- Checking LV for merging origin requires also it has merged snapshot.
a73000
- Extend validation of metadata processing.
a73000
- Enable usage of cached volumes as snapshot origin LV.
a73000
- Fix displayed lv name when splitting snapshot (2.02.146).
a73000
- Warn about command not making metadata backup just once per command.
a73000
- Enable usage of cached volume as thin volume's external origin.
a73000
- Support cache volume activation with -real layer.
a73000
- Improve search of lock-holder for external origin and thin-pool.
a73000
- Support status checking of cache volume used in layer.
a73000
- Avoid shifting by one number of blocks when clearing dirty cache volume.
a73000
- Extend metadata validation of external origin LV use count.
a73000
- Fix dm table when the last user of active external origin is removed.
a73000
- Improve reported lvs status for active external origin volume.
a73000
- Fix table load for splitted RAID LV and require explicit activation.
a73000
- Always active splitted RAID LV exclusively locally.
a73000
- Do not use LV RAID status bit for segment status.
a73000
- Check segtype directly instead of checking RAID in segment status.
a73000
- Reusing exiting code for raid image removal.
a73000
- Fix pvmove leaving -pvmove0 error device in clustered VG.
a73000
- Avoid adding extra '_' at end of raid extracted images or metadata.
a73000
- Optimize another _rmeta clearing code.
a73000
- Fix deactivation of raid orphan devices for clustered VG.
a73000
- Fix lvconvert raid1 to mirror table reload order.
a73000
- Add internal function for separate mirror log preparation.
a73000
- Fix segfault in lvmetad from missing NULL in daemon_reply_simple.
a73000
- Simplify internal _info_run() and use _setup_task_run() for mknod.
a73000
- Better API for internal function _setup_task_run.
a73000
- Avoid using lv_has_target_type() call within lv_info_with_seg_status.
a73000
- Simplify internal lv_info_with_seg_status API.
a73000
- Decide which status is needed in one place for lv_info_with_seg_status.
a73000
- Fix matching of LV segment when checking for it info status.
a73000
- Report log_warn when status cannot be parsed.
a73000
- Test segment type before accessing segment members when checking status.
a73000
- Implement compatible target function for stripe segment.
a73000
- Use status info to report merge failed and snapshot invalid lvs fields.
a73000
- See WHATS_NEW and WHATS_NEW_DM in the documentation directory for more.
a73000
8e2a5e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.168-4
8e2a5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8e2a5e
Igor Gnatenko c637b8
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.02.168-3
Igor Gnatenko c637b8
- Rebuild for readline 7.x
Igor Gnatenko c637b8
5d0f55
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.02.168-2
5d0f55
- Rebuild for Python 3.6
5d0f55
bde14d
* Thu Dec 01 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.168-1
bde14d
- Display correct sync_percent on large RaidLVs
bde14d
- lvmdbusd --blackboxsize <n> added, used to override default size of 16
bde14d
- Allow a transiently failed RaidLV to be refreshed
bde14d
- Use lv_update_and_reload() inside mirror code where it applies.
bde14d
- Preserve mirrored status for temporary layered mirrors.
bde14d
- Use transient raid check before repairing raid volume.
bde14d
- Implement transient status check for raid volumes.
bde14d
- Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
bde14d
- Avoid duplicated underscore in name of extracted LV image.
bde14d
- Missing stripe filler now could be also 'zero'.
bde14d
- lvconvert --repair accepts --interval and --background option.
bde14d
- More efficiently prepare _rmeta devices when creating a new raid LV.
bde14d
- Document raid status values.
bde14d
- Always exit dmsetup with success when asked to display help/version.
bde14d
5f4f83
* Tue Nov 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.167-2
5f4f83
- Only log msg as debug if lvm2-lvmdbusd unit missing for D-Bus notification.
5f4f83
d06c77
* Mon Nov 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.167-1
d06c77
- Use log_error in regex and sysfs filter to describe reason of failure.
d06c77
- Fix blkdeactivate to deactivate dev stack if dev on top already unmounted.
d06c77
- Prevent non-synced raid1 repair unless --force
d06c77
- Prevent raid4 creation/conversion on non-supporting kernels
d06c77
- Add direct striped -> raid4 conversion
d06c77
- Fix raid4 parity image pair position on conversions from striped/raid0*
d06c77
- Fix a few unconverted return code values for some lvconvert error path.
d06c77
- Disable lvconvert of thin pool to raid while active.
d06c77
- Disable systemd service start rate limiting for lvm2-pvscan@.service.
d06c77
- Log failure of raid device with log_error level.
d06c77
- Use dm_log_with_errno and translate runtime to dm_log only when needed.
d06c77
- Make log messages from dm and lvm library different from dmeventd.
d06c77
- Notice and Info messages are again logged from dmeventd and its plugins.
d06c77
- Dmeventd now also respects DM_ABORT_ON_INTERNAL_ERRORS as libdm based tool.
d06c77
- Report as non default dm logging also when logging with errno was changed.
d06c77
- Use log_level() macro to consistently decode message log level in dmeventd.
d06c77
- Still produce output when dmsetup dependency tree building finds dev missing.
d06c77
- Check and report pthread_sigmask() failure in dmeventd.
d06c77
- Check mem alloc fail in _canonicalize_field_ids().
d06c77
- Use unsigned math when checking more then 31 legs of raid.
d06c77
- Fix 'dmstats delete' with dmsetup older than v1.02.129
d06c77
- Fix stats walk segfault with dmsetup older than v1.02.129
d06c77
7335b4
* Thu Oct 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.166-2
7335b4
- Add various fixes for lvmdbusd from upcoming lvm2 version 2.02.167.
7335b4
551f63
* Mon Sep 26 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.166-1
551f63
- Fix lvm2-activation-generator to read all LVM2 config sources. (2.02.155)
551f63
- Fix lvchange-rebuild-raid.sh to cope with older target versions.
551f63
- Use dm_config_parse_without_dup_node_check() to speedup metadata reading.
551f63
- Fix lvconvert --repair regression
551f63
- Fix reported origin lv field for cache volumes. (2.02.133)
551f63
- Always specify snapshot cow LV for monitoring not internal LV. (2.02.165)
551f63
- Fix lvchange --discard|--zero for active thin-pool.
551f63
- Enforce 4MiB or 25% metadata free space for thin pool operations.
551f63
- Fix lock-holder device for thin pool with inactive thin volumes.
551f63
- Use --alloc normal for mirror logs even if the mimages were stricter.
551f63
- Use O_DIRECT to gather metadata in lvmdump.
551f63
- Ignore creation_time when checking for matching metadata for lvmetad.
551f63
- Fix possible NULL pointer derefence when checking for monitoring.
551f63
- Add lvmreport(7) man page.
551f63
- Don't install lvmraid(7) man page when raid excluded. (2.02.165)
37ffe7
- Report 0% as dirty (copy%%) for cache without any used block.
551f63
- Fix lvm2api reporting of cache data and metadata percent.
551f63
- Restore reporting of metadata usage for cache volumes (2.02.155).
551f63
- Support raid scrubbing on cache origin LV.
551f63
- Fix man entry for dmsetup status.
551f63
- Introduce new dm_config_parse_without_dup_node_check().
551f63
- Don't omit last entry in dmstats list --group.
551f63
dbba06
* Wed Sep 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.165-1
dbba06
- Add lvmraid(7) man page.
dbba06
- Use udev db to check for mpath components before running pvscan for lvmetad.
dbba06
- Use lsblk -s and lsblk -O in lvmdump only if these options are supported.
dbba06
- Fix number of stripes shown in lvcreate raid10 message when too many.
dbba06
- Change lvmdbusd to use new lvm shell facilities.
dbba06
- Do not monitor cache-pool metadata when LV is just being cleared.
dbba06
- Add allocation/cache_pool_max_chunks to prevent misuse of cache target.
dbba06
- Give error not segfault in lvconvert --splitmirrors when PV lies outside LV.
dbba06
- Fix typo in report/columns_as_rows config option name recognition (2.02.99).
dbba06
- Avoid PV tags when checking allocation against parallel PVs. 
dbba06
- Disallow mirror conversions of raid10 volumes.
dbba06
- Fix dmeventd unmonitoring when segment type (and dso) changes.
dbba06
- Don't allow lvconvert --repair on raid0 devices or attempt to monitor them.
dbba06
- No longer adjust incorrect number of raid stripes supplied to lvcreate.
dbba06
- Move lcm and gcd to lib/misc.
dbba06
- Fix vgsplit of external origins. (2.02.162)
dbba06
- Prohibit creation of RAID LVs unless VG extent size is at least the page size.
dbba06
- Suppress some unnecessary --stripesize parameter warnings.
dbba06
- Fix 'pvmove -n name ...' to prohibit collocation of RAID SubLVs
dbba06
- Improve explanation of udev fallback in libdevmapper.h.
dbba06
57275c
* Mon Aug 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.164-2
57f970
- Fix selection of PVs when allocating raid0_meta.
57f970
- Fix sdbus socket leak leading to hang in lvmnotify.
57f970
- Specify max stripes for raid LV types: raid0:64; 1:10; 4,5:63; 6:62; 10:32.
57f970
- Avoid double suffix when naming _rmeta LV paired with _rimage LV.
57f970
f81b7f
* Wed Aug 10 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.163-1
f81b7f
- Add profile for lvmdbusd which uses lvm shell json report output.
f81b7f
- Restrict in-command modification of some parms in lvm shell.
f81b7f
- Apply LVM_COMMAND_PROFILE early for lvm shell.
f81b7f
- Refactor reporting so lvm shell log report collects whole of cmd execution.
f81b7f
- Support LVM_*_FD envvars to redirect output to file descriptors.
f81b7f
- Limit use of --corelog and --mirrorlog to mirrors in lvconvert.
f81b7f
- Reject --nosync option for RAID6 LVs in lvcreate.
f81b7f
- Do not refresh whole cmd context if profile dropped after processing LVM cmd. 
f81b7f
- Support straightforward lvconvert between striped and raid4 LVs. 
f81b7f
- Support straightforward lvconvert between raid1 and mirror LVs. 
f81b7f
- Report supported conversions when asked for unsupported raid lvconvert.
f81b7f
- Add "--rebuild PV" option to lvchange to allow for PV selective rebuilds.
f81b7f
- Preserve existing mirror region size when using --repair.
f81b7f
- Forbid stripe parameters with lvconvert --repair.
f81b7f
- Unify stripe size validation into get_stripe_params to catch missing cases.
f81b7f
- Further lvconvert validation logic refactoring.
f81b7f
- Add "lvm fullreport" man page.
f81b7f
- Add dm_report_destroy_rows/dm_report_group_output_and_pop_all for lvm shell.
f81b7f
- Adjust group handling and json production for lvm shell.
f81b7f
8a4e17
* Fri Jul 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.162-1
8a4e17
- Support lvconvert -Zn also when doing full cache pool conversion.
8a4e17
- Suppress not zeroing warn when converting to thin LV for non-zeroing tpool.
8a4e17
- Fix automatic updates of PV extension headers to newest version.
8a4e17
- Improve lvconvert --trackchanges validation to require --splitmirrors 1.
8a4e17
- Add note about lastlog built-in command to lvm man page.
8a4e17
- Fix unrecognised segtype flag message.
8a4e17
- lvconvert not clears cache pool metadata ONLY with -Zn. 
8a4e17
- Enabled lvconvert --uncache to work with partial VG.
8a4e17
- Fix json reporting to escape '"' character that may appear in reported string.
8a4e17
ef2f5a
* Thu Jul 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.161-3
ef2f5a
- Enable LVM notifications over dbus for lvmdbusd.
ef2f5a
ded5d9
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.161-2
ded5d9
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
ded5d9
cfe347
* Mon Jul 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.161-1
cfe347
- Prohibit some lvchange/lvresize that were failing on raid0 volumes.
cfe347
- Fix segfaults in complex vgsplits. (2.02.159)
cfe347
- Reformat unwieldy lvconvert man page.
cfe347
- Allow --force to be passed through to pvcreate from vgcreate. (2.02.144)
cfe347
- Fix lvresize of filesystem when LV has already right size (2.02.141)
cfe347
- New LVM_LOG_FILE_MAX_LINES env var to limit max size of created logs.
cfe347
- Disable queueing on mpath devs in blk-availability systemd service/initscript.
cfe347
- Add new -m|--mpathoption disablequeueing to blkdeactivate.
cfe347
- Automatically group regions with 'create --segments' unless --nogroup.
cfe347
- Fix resource leak when deleting the first member of a group.
cfe347
- Allow --bounds with 'create --filemap' for dmstats.
cfe347
- Enable creation of filemap regions with histograms.
cfe347
- Enable histogram aggregation for regions with more than one area.
cfe347
- Enable histogram aggregation for groups of regions.
cfe347
- Add a --filemap option to 'dmstats create' to allow mapping of files.
cfe347
- Add dm_stats_create_regions_from_fd() to map file extents to regions.
cfe347
0d193d
* Thu Jul 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.160-1
0d193d
- Minor fixes from coverity.
0d193d
4dde59
* Thu Jul 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.159-1
4dde59
- Add raid0_meta segment type that provides metadata space for raid conversions.
4dde59
- Fix created link for a used pool for vgmknode.
4dde59
- Introduce and use is_power_of_2 macro.
4dde59
- Support conversions between striped and raid0 segment types.
4dde59
- Add infrastructure for raid takeover lvconvert options.
4dde59
- Update default dmstats field selections for groups.
4dde59
- Add 'obj_type', 'group_id', and 'statsname' fields to dmstats reports.
4dde59
- Add --area, --region, and --group to dmstats to control object selection.
4dde59
- Add --alias, --groupid, --regions to dmstats for group creation and deletion.
4dde59
- Add 'group' and 'ungroup' commands to dmstats.
4dde59
- Allow dm_stats_delete_group() to optionally delete all group members.
4dde59
- Add dm_stats_get_object_type() to return the type of object present.
4dde59
- Add dm_stats_walk_init() allowing control of objects visited by walks.
4dde59
- Add dm_stats_get_group_descriptor() to return the member list as a string.
4dde59
- Introduce dm_stats_get_nr_groups() and dm_stats_group_present().
4dde59
- Add dm_stats_{get,set}_alias() to set and retrieve alias names for groups.
4dde59
- Add dm_stats_get_group_id() to return the group ID for a given region.
4dde59
- Add dm_stats_{create,delete}_group() to allow grouping of stats regions.
4dde59
- Add enum-driven dm_stats_get_{metric,counter}() interfaces.
4dde59
- Add dm_bitset_parse_list() to parse a string representation of a bitset.
4dde59
- Thin dmeventd plugin umounts lvm2 volume only when pool is 95% or more.
4dde59
ef88c2
* Tue Jun 28 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.158-1
ef88c2
- Add a more efficient native vgimportclone command to replace the script.
ef88c2
- Make lvmlockd always attempt to connect to lvmetad if no connection exists.
ef88c2
- Let lvmetad handle new connections after shutdown signal.
ef88c2
- Disable lvmetad when vgcfgrestore begins and enable it again after.
ef88c2
- Make pvscan do activation if lvmetad is configured but not running.
ef88c2
- Fix rescanning the PVs for a single VG when using lvmetad.
ef88c2
- Pool metadata lvresize uses now same code as resize of normal volume.
ef88c2
- Preserve monitoring status when updating thin-pool metadata.
ef88c2
- Return 0 (inactive) when status cannot be queried in _lv_active().
ef88c2
- Switch to log_warn() for failing activation status query.
ef88c2
- Replace vgimportclone script with binary.
ef88c2
- While lvmetad is shutting down, continue handling all connections cleanly.
ef88c2
- Refactor lvconvert argument handling code.
ef88c2
- Notify lvmetad when vgcfgrestore changes VG metadata.
ef88c2
- Add --logonly option to report only cmd log for a command, not other reports.
ef88c2
- Add log/command_log_selection to configure default selection used on cmd log. 
ef88c2
- Use 'orphan' object type in cmd log for groups to collect PVs not yet in VGs. 
ef88c2
- Add lvm lastlog command for query and display of last cmd's log in lvm shell.
ef88c2
- Report per-object return codes via cmd log while processing multiple objects.
ef88c2
- Annotate processing code with log report hooks for per-object command log. 
ef88c2
- Also pass common printed messages (besides warnings and errors) to log report.
ef88c2
- Log warnings and errors via report during cmd processing if this is enabled.
ef88c2
- Make it possible to iterate over internal 'orphan' VGs in process_each_vg fn.
ef88c2
- Make -S|--select option groupable that allows this option to be repeated.
ef88c2
- Make -O|--sort option groupable that allows this option to be repeated.
ef88c2
- Add --configreport option to select report for which next options are applied.
ef88c2
- Add support for priorities on grouping command arguments.
ef88c2
- Add report/{pvs,vgs,lvs,pvsegs,segs}_{cols,sort}_full to lvm.conf.
ef88c2
- Add lvm fullreport command for joined PV, VG, LV and segment report per VG.
ef88c2
- Integrate report group handling and cmd log report into cmd processing code.
ef88c2
- Add log/report_command_log to lvm.conf to enable or disable cmd log report.
ef88c2
- Add log/report_output_format to lvm.conf for default report output format.
ef88c2
- Recognize --reportformat {basic|json} option to select report output format.
ef88c2
- Add log/command_log_{sort,cols} to lvm.conf to configure command log report.
ef88c2
- Add log_object_{type,name,id,group,group_id} fields to cmd log. 
ef88c2
- Add log_{seq_num,type,context,message,errno,ret_code} fields to cmd log. 
ef88c2
- Add CMDLOG report type - a separate report type for command logging.
ef88c2
- Recognize 'all' keyword used in selection as synonym for "" (no selection).
ef88c2
- Add dm_report_set_selection to set selection for multiple output of report.
ef88c2
- Add DM_REPORT_OUTPUT_MULTIPLE_TIMES flag for multiple output of same report.
ef88c2
- Move field width handling/sort init from dm_report_object to dm_report_output.
ef88c2
- Add _LOG_BYPASS_REPORT flag for bypassing any log report currently set. 
ef88c2
- Introduce DM_REPORT_GROUP_JSON for report group with JSON output format.
ef88c2
- Introduce DM_REPORT_GROUP_BASIC for report group with basic report output.
ef88c2
- Introduce DM_REPORT_GROUP_SINGLE for report group having single report only.
ef88c2
- Add dm_report_group_{create,push,pop,destroy} to support report grouping.
ef88c2
ef88c2
* Fri Jun 17 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.157-2
fd4993
- Change pvscan --cache -aay to scan locally if lvmetad fails.
fd4993
e5d994
* Mon Jun 13 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.156-1
e5d994
- Don't allow duplicate orphan PVs to be used with vgcreate/vgextend/pvcreate.
e5d994
- Improve handling of lvmetad update failures.
e5d994
- Yes/No prompt accepts '^[ ^t]*([Yy]([Ee]([Ss]|)|)|[Nn]([Oo]|))[ ^t]*$'.
e5d994
- If available, also collect output from lsblk command when running lvmdump -s.
e5d994
734579
* Mon Jun 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.155-2
734579
- Fix regression in blkdeactivate causing dm and md devices to be skipped. (2.02.155)
734579
620112
* Mon Jun 06 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.155-1
620112
- Reject PV tags on pvmove cmdline because only 1 PV is supported. (2.02.141)
620112
- Fix compilation error when building with configure --disable-devmapper.
620112
- Fix lvmconfig --type diff to display complete diff if config cascade used.
620112
- Automatically filter out partitioned loop devices with partscan (losetup -P).
620112
- Fix lvm devtypes internal error if -S used with field name from pvs/vgs/lvs.
37ffe7
- When reporting Data%%,Snap%%,Meta%%,Cpy%%Sync use single ioctl per LV.
620112
- Add lvseg_percent_with_info_and_seg_status() for percent retrieval.
620112
- Enhance internal seg_status handling to understand snapshots better.
620112
- When refresh failed in suspend, call resume upon error path.
620112
- Support passthrough cache mode when waiting for clean cache.
620112
- Check cache status only for 'in-use' cache pools.
620112
- Extend setup_task() to preset flushing for dm_task object.
620112
- When checking LV is a merging COW, validate its a COW LV first.
37ffe7
- Correcting value in copy_percent() for 100%%.
620112
- Update vgreduce to use process_each_vg.
620112
- Update lvconvert to use process_each_lv.
620112
- Update pvscan to use process_each_vg for autoactivation.
620112
- Add basic support for --type raid0 using md.
620112
- Add support for lvchange --cachemode for cached LV.
620112
- Fix liblvm2app error handling when setting up context.
620112
- Delay liblvm2app init in python code until it is needed.
620112
- Simplify thread locking in lvmetad to fix locking problems.
620112
- Allow pvremove -ff to remove a duplicate PV.
620112
- Fix lvm2-activation-generator to read lvm.conf without full command setup.
620112
- Allow a minimal context to be used in lvm2app for reading lvm.conf.
620112
- Report passthrough caching mode when parsing cache mode.
620112
70d78e
* Mon May 16 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.154-1
70d78e
- Fix liblvm segfault after failure initialising lvmetad connection.
70d78e
- Retry open without O_NOATIME if it fails (not file owner/CAP_FOWNER).
70d78e
- Split _report into one fn for options and arguments and one for processing.
70d78e
- Show library version in message even if dm driver version is unavailable.
70d78e
70d78e
* Tue May 10 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.153-2
5b9a48
- Change warning messages related to duplicate PVs.
5b9a48
- A named device is always processed itself, not switched for a duplicate.
5b9a48
- Add PV attr "d" and report field "duplicate" for duplicate PVs.
5b9a48
- Add config setting to disallow VG changes when duplicate PVs exist.
5b9a48
- Use device size and active LVs to choose the preferred duplicate PV.
5b9a48
- Disable lvmetad when duplicate PVs are seen.
5b9a48
- Support --chunksize option also when caching LV when possible.
5b9a48
- Add function to check for target presence and version via 1 ioctl.
5b9a48
82748b
* Mon May 02 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.152-1
82748b
- Use any inherited tags when wiping metadata sub LVs to ensure activation.
82748b
- Add str_list_wipe.
82748b
- Improve support for interrupting procesing of volumes during lvchange.
82748b
- Use failed command return code when lvchanging read-only volume.
82748b
- Show creation transaction_id and zeroing state of pool with thin volume.
82748b
- Stop checking for dm_cache_mq policy with cache target 1.9 (alias to smq).
82748b
- Check first /sys/module/dm_* dir existance before using modprobe.
82748b
- Remove mpath from 10-dm.rules, superseded by 11-dm-mpath.rules (mpath>=0.6.0).
82748b
- Add dm_udev_wait_immediate to libdevmapper for waiting outside the library.
82748b
18a9c1
* Mon Apr 25 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.151-1
18a9c1
- Fix error path after reusing of _setup_task (2.02.150).
18a9c1
- Fix memory access for empty sysfs values (2.02.149).
18a9c1
- Disable lvmetad when lvm1 metadata is seen, so commands revert to scanning.
18a9c1
- Suppress errors when snapshot merge gets delayed because volume is in use.
18a9c1
- Avoid internal snapshot LV names in messages.
18a9c1
- Autodetect and use /run/lock dir when available instead of /var/lock.
18a9c1
- lvchange --refresh for merging thin origin will retry to deactivate snapshot.
18a9c1
- Recognize in-progress snapshot merge for thin volumes from dm table.
18a9c1
- Avoid deciding to initiate a pending snapshot merge during resume.
18a9c1
- Improve retrying lvmetad requests while lvmetad is being updated.
18a9c1
- Read devices instead of using the lvmetad cache if rescan fails.
18a9c1
- Move lvmetad token/filter check and device rescan to the start of commands.
18a9c1
- Don't try deactivating fictional internal LV before snapshot merge. (2.02.105)
18a9c1
- When not obtaining devs from udev, check they exist before caching them.
18a9c1
- Detect device mismatch also when compiling without udev support.
18a9c1
- Do not strip LVM- when debug reporting not found uuid.
18a9c1
b1469e
* Mon Apr 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.150-1
b1469e
- Avoid using flushing dm status ioctl when checking for usable DM device.
b1469e
- Check for devices without LVM- uuid prefix only with kernels < 3.X.
e18384
- Reuse %%FREE size aproximation with lvcreate -l%%PVS thin-pool.
b1469e
- Allow the lvmdump directory to exist already provided it is empty.
b1469e
- Show lvconverted percentage with 2 decimal digits.
b1469e
- Fix regression in suspend when repairing --type mirror (2.02.133).
b1469e
- Change log_debug ioctl flags from single characters into words.
b1469e
630b4b
* Mon Apr 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.149-2
630b4b
- Do not flush thin-pool when checking metadata fullness.
630b4b
- Remove spurious error about no value in /sys/dev/block/major:minor/dm/uuid.
630b4b
- Fix device mismatch detection for LV if persistent .cache file is used.
630b4b
- Fix holder device not being found in /dev while sysfs has it during dev scan.
630b4b
169314
* Tue Mar 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.148-1
169314
- Introduce TARGET_NAME and MODULE NAME macros.
169314
- Replace hard-coded module and target names with macros.
169314
- Add pv_major and pv_minor report fields.
169314
- Detect and warn about mismatch between devices used and assumed for an LV.
169314
- Adjust raid status function.
169314
cc9345
* Mon Mar 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.147-5
cc9345
- If available, use /proc/self/mountinfo to detect mounted volume in fsadm.
cc9345
- Fix resize of stacked raid thin data volume (2.02.141).
cc9345
- Fix test for lvremove failure in lvconvert --uncache (2.02.146).
cc9345
ab66f8
* Fri Mar 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.146-4
ab66f8
- More man page cleanups in lvconvert.
ab66f8
- Fix makefile vpath in /udev when generating udev rules files.
ab66f8
- Another attempt to improve VG name parsing for lvconvert (2.02.144).
ab66f8
- Use new cache status info and skip flushing for failed cache.
ab66f8
- Support --uncache with missing PVs.
ab66f8
- Improve parsing of cache status and report Fail, Error, needs_check, ro.
ab66f8
a6ebb3
* Fri Mar 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.146-3
a6ebb3
- Tidy report field names, headings and widths.
a6ebb3
- Add vgscan --notifydbus to send a dbus notification.
a6ebb3
- Add dbus notification from commands after a PV/VG/LV changes state.
a6ebb3
a728d7
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.145-2
a728d7
- Require python3-gobject-base insetad of python3-gobject.
a728d7
6790b9
* Mon Mar 07 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.145-1
6790b9
- Make it possible to use lvremove and lvrename on historical LVs.
6790b9
- For historical LVs, report 'none' for lv_layout and 'history' for lv_role.
6790b9
- Add full_{ancestors,descendants} fields to report LV ancestry with history.
6790b9
- Report (h)istorical state within 5th bit (State) of the lv_attr field.
6790b9
- Add lv_historical reporting field to report if LV is historical or not.
6790b9
- Add lv_time_removed reporting field to display removal time for hist. LVs.
6790b9
- Report lv_name, lv_uuid, vg_name, lv_time for historical LVs.
6790b9
- Add --nohistory switch to lvremove to disable history recording on demand.
6790b9
- Add -H|--history switch to lvs and lvdisplay to include historical LVs.
6790b9
- Create historical LVs out of removed thin snapshot LVs and record in history.
6790b9
- Add metadata/lvs_history_retention_time for automatic removal of hist. LVs.
6790b9
- Add metadata/record_lvs_history config for switching LV history recording.
6790b9
- Add support and infrastructure for tracking historical LVs.
6790b9
- Improve lvconvert man page.
6790b9
- Add kernel_cache_policy lvs field.
6790b9
- Display [unknown] instead of 'unknown device' in pvs output.
6790b9
- Fix error path when pvcreate allocation fails (2.02.144).
6790b9
- Display [unknown] instead of blank for unknown VG names in pvs output.
6790b9
- Fix dm_config_write_node and variants to return error on subsection failures.
6790b9
- Remove 4096 char limit due to buffer size if writing dm_config_node.
6790b9
b9c67a
* Mon Feb 29 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.144-1
b9c67a
- Only show (u)sed pv_attr char when PV is not (a)llocatable. (2.02.143)
b9c67a
- Update makefile to generate lcov output also for lvmpolld and lvmlockd.
b9c67a
- Fix SystemdService lvm2-lvmdbusd.service name.
b9c67a
- Improve support for env LVM_VG_NAME for reference VG name in lvconvert.
b9c67a
- Fix regression when lvresize accepted zero sizes. (2.02.141)
b9c67a
- Always warn user about PV in use even when pvremove uses --force --force.
b9c67a
- Use uninitialized pool header detection in all cases.
b9c67a
- Fix read error detection when checking for uninitialized thin-pool header.
b9c67a
- Fix error path for internal error in lvmetad VG lookup code.
b9c67a
- Fix string boundary check in _get_canonical_field_name().
b9c67a
- Always initialized hist struct in _stats_parse_histogram().
b9c67a
6a7466
* Wed Feb 24 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-4
083040
- Reinstate lvm2-lockd on all architectures as sanlock package is fixed now.
083040
25f0e5
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-3
25f0e5
- Remove Requires: sanlock-lib for lvm2-lockd subpackage if sanlock not compiled.
25f0e5
385e3f
* Tue Feb 23 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-2
385e3f
- Add Requires: python3-gobject dependency for lvm2-dbusd subpackage.
ac7b6d
- Build lvm2-lockd with sanlock support only on x86_64, arch64 and power64 arch.
385e3f
d48887
* Mon Feb 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-1
d48887
- Introduce new lvm2-dbusd package providing LVM D-Bus daemon and service.
d48887
- Fix error path when sending thin-pool message fails in update_pool_lv().
d48887
- Support reporting CheckNeeded and Fail state for thin-pool and thin LV.
d48887
- For failing thin-pool and thin volume correctly report percentage as INVALID.
d48887
- Report -1, not 'unkown' for lv_{snapshot_invalid,merge_failed} with --binary.
d48887
- Add configure --enable-dbus-service for an LVM D-Bus service.
d48887
- Replace configure --enable-python_bindings with python2 and python3 versions.
d48887
- If PV belongs to some VG and metadata missing, skip it if system ID is used.
d48887
- Automatically change PV header extension to latest version if writing PV/VG.
d48887
- Identify used PVs in pv_attr field by new 'u' character.
d48887
- Add pv_in_use reporting field to report if PV is used or not.
d48887
- Add pv_ext_vsn reporting field to report PV header extension version.
d48887
- Add protective flag marking PVs as used even if no metadata available.
d48887
- Improve status parsing for thin-pool and thin devices.
d48887
cc9718
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.142-1
cc9718
- Fix memory pool corruption in pvmove (2.02.141).
cc9718
- Support control of spare metadata creation when repairing thin-pool.
cc9718
- Fix config type of 'log/verbose' from bool to int (2.02.99).
cc9718
- Fix inverted data LV thinp watermark calc for dmeventd response (2.02.133).
cc9718
- Use use_blkid_wiping=0 if not defined in lvm.conf and support not compiled in.
cc9718
- Do not check for suspended devices if scanning for lvmetad update.
cc9718
- Clear cached bootloader areas when PV format changed.
cc9718
- Fix partn table filter with external_device_info_source="udev" and blkid<2.20.
cc9718
- Use fully aligned allocations for dm_pool_strdup/strndup() (1.02.64).
cc9718
- Fix thin-pool table parameter feature order to match kernel output.
cc9718
7385a4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.02.141-2
7385a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7385a4
b3061e
* Mon Jan 25 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.141-1
b3061e
- Add metadata/check_pv_device_sizes switch to lvm.conf for device size checks.
b3061e
- Warn if device size is less than corresponding PV size in metadata.
b3061e
- Cache device sizes internally.
b3061e
- Restore support for command breaking in process_each_lv_in_vg() (2.02.118).
b3061e
- Use correct mempool when process_each_lv_in_vg() (2.02.118).
b3061e
- Fix lvm.8 man to show again prohibited suffixes.
b3061e
- Fix configure to set proper use_blkid_wiping if autodetected as disabled.
b3061e
- Initialise udev in clvmd for use in device scanning. (2.02.116)
b3061e
- Add seg_le_ranges report field for common format when displaying seg devices.
b3061e
- Honour report/list_item_separator for seg_metadata_le_ranges report field.
b3061e
- Don't mark hidden devs in -o devices,metadata_devices,seg_pe_ranges.(2.02.140)
b3061e
- Change LV sizes in seg_pe_ranges report field to match underlying devices.
b3061e
- Add kernel_cache_settings report field for cache LV settings used in kernel.
b3061e
- Fix man page for dmsetup udevcreatecookie.
b3061e
8a2ddf
* Mon Jan 18 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.140-3
8a2ddf
- Fix lvm2app to return either 0 or 1 for lvm_vg_is_{clustered,exported}.
8a2ddf
- Add kernel_discards report field to display thin pool discard used in kernel.
8a2ddf
- Correct checking of target presence when driver access is disabled.
8a2ddf
- Eval poolmetadatasize arg earlier in lvresize.
8a2ddf
- Fix vgcfgrestore to respect allocatable attribute of PVs.
8a2ddf
- Add report/mark_hidden_devices to lvm.conf.
8a2ddf
- Use brackets consistently in report fields to mark hidden devices.
8a2ddf
- Restore background polling processing during auto-activation (2.02.119).
8a2ddf
- Fix invalid memory read when reporting cache LV policy_name (2.02.126).
8a2ddf
9f58d6
* Mon Jan 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.139-2
9f58d6
- Update lvmlockd with the new VG seqno before devices are suspended.
9f58d6
- Rework vgrename to use the common processing code in toollib.
9f58d6
- Make pvs show new devices on the system since the last .cache update.
9f58d6
- Document F,D and M thin pool health status chars for lv_attr in lvs man page.
9f58d6
- Also add lvm2-activation{-early,-net}.service systemd status for lvmdump -s.
9f58d6
d6961a
* Mon Jan 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.138-1
d6961a
- Support lvrename for hidden (used) cache pools.
d6961a
- Fix lvrename for stacked cache pools
d6961a
- Better support for dmsetup static linkage.
d6961a
- Extend validity checks on dmeventd client socket.
d6961a
3f0811
* Mon Dec 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.137-1
3f0811
- Restore archiving before changing metadata in vgextend (2.02.117).
3f0811
- Dropped internal usage of log_suppress(2).
3f0811
- Cleaned logging code for buffer size usage.
3f0811
- Added internal id_read_format_try() function to check and read valid UUID.
3f0811
- Change lvcreate, lvrename, lvresize to use process_each_vg.
3f0811
- Change process_each_vg to handle single VG as separate arg.
3f0811
- Issue error if ambiguous VG name is supplied in most commands.
3f0811
- Make process_each fns always work through full list of known VG names.
3f0811
- Use dm_get_status_mirror() instead of individual parsers.
3f0811
- Add mem pool arg for check_transient_status() target function.
3f0811
- Avoid misleading error with -m is omitted with lvconvert to raid types.
3f0811
- Add system_id to vginfo cache.
3f0811
- Mirror plugin in dmeventd uses dm_get_status_mirror().
3f0811
- Add dm_get_status_mirror() for parsing mirror status line.
3f0811
83406f
* Wed Dec 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.136-1
83406f
- Add new --sinceversion option for lvmconfig --type new.
83406f
- Fix inactive table loaded for wrapping thin-pool when resizing it.
83406f
- Extend the list of ignored libraries when locking memory.
83406f
- Show error message when trying to create unsupported raid type.
83406f
- Improve preloading sequence of an active thin-pool target.
83406f
- Drop extra space from cache target line to fix unneded table reloads.
83406f
694165
* Mon Nov 23 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.135-1
694165
- Add a model file for Coverity.
694165
- Show correct error message for unsupported yet cache pool repair.
694165
- Allow lvconvert cache pools' data and metadata LV to raid.
694165
- Fix reading of old metadata with missing cache policy or mode settings.
694165
- Issue error if external_device_info_source=udev and udev db record incomplete.
694165
- Update lvmetad duplicate VG name handling to use hash function extensions.
694165
- Detect invalid vgrenames by vgid where the name is unchanged.
694165
- Fix passing of 32bit values through daemons (mostly lvmlockd).
694165
- Use local memory pool for whole alloc_handle manipulation.
694165
- Add missing pointer validation after dm_get_next_target().
694165
- Do not deref NULL pointer in debug message for _match_pv_tags().
694165
- Drop unneeded stat() call when checking for sysfs file.
694165
- Fix memory leak on error path of failing thin-pool percentage check.
694165
- Add missing test for failing node allocation in lvmetad.
694165
- Correct configure messages when enabling/disabling lvmlockd.
694165
- Extend dm_hash to support multiple values with the same key.
694165
- Add missing check for allocation inside dm_split_lvm_name().
694165
- Test dm_task_get_message_response for !NULL in dm_stats_print_region().
694165
- Add checks for failing dm_stats_create() in dmsetup.
694165
- Add missing fifo close when failed to initialize client connection.
694165
978564
* Wed Nov 18 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.134-4
1a609c
- Refactor some lvmetad code and adjust some duplicate PV messages.
1a609c
- No longer repair/wipe VG/PVs if inaccessible because foreign or shared.
1a609c
- Pass correct data size to mirror log calc so log can be bigger than 1 extent.
7ebb36
44e9d3
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.133-3
9b0761
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
9b0761
b1f7a1
* Mon Nov 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.133-2
b1f7a1
- Shutdown lvmetad automatically after one hour of inactivity.
b1f7a1
d97546
* Fri Oct 30 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.133-1
d97546
- Support repeated -o|--options for reporting commands.
d97546
- Support -o- and -o# for reporting commands to remove and compact fields.
d97546
- Fix missing PVs from pvs output if vgremove is run concurrently.
d97546
- Remove unwanted error message when running pvs/vgs/lvs and vgremove at once.
d97546
- Check newly created VG's metadata do not overlap in metadata ring buffer.
d97546
- Check metadata area size is at least the minimum size defined for the format.
d97546
- Thin pool targets uses low_water_mark from profile.
d97546
- Dropping 'yet' from error of unsupported thick snapshot of snapshots.
d97546
- Do not support unpartitioned DASD devices with CDL formatted with pvcreate.
d97546
- For thins use flush for suspend only when volume size is reduced.
d97546
- Enable code which detects the need of flush during suspend.
d97546
- Ensure --use-policy will resize volume to fit below threshold.
d97546
- Correct percentage evaluation when checking thin-pool over threshold.
d97546
- Fix lvmcache to move PV from VG to orphans if VG is removed and lvmetad used.
d97546
- Fix lvmcache to not cache even invalid info about PV which got removed.
d97546
- Support checking of memlock daemon counter.
d97546
- Allow all log levels to be used with the lvmetad -l option.
d97546
- Add optional shutdown when idle support for lvmetad.
d97546
- Fix missing in-sync progress info while lvconvert used with lvmpolld.
d97546
- Add report/compact_output_cols to lvm.conf to define report cols to compact.
d97546
- Do not change logging in lvm2 library when it's already set.
d97546
- Check for enough space in thin-pool in command before creating new thin.
d97546
- Make libblkid detect all copies of the same signature if use_blkid_wiping=1.
d97546
- Fix vgimportclone with -n to not add number unnecessarily to base VG name.
d97546
- Cleanup vgimportclone script and remove dependency on awk, grep, cut and tr.
d97546
- Add vg_missing_pv_count report field to report number of missing PVs in a VG.
d97546
- Properly identify internal LV holding sanlock locks within lv_role field.
d97546
- Add metadata_devices and seg_metadata_le_ranges report fields for raid vols.
d97546
- Fix lvm2-{activation,clvmd,cmirrord,monitor} service to exec before mounting.
d97546
- Disable thin monitoring plugin when it fails too often (>10 times).
d97546
- Fix/restore parsing of empty field '-' when processing dmeventd event.
d97546
- Enhance dm_tree_node_size_changed() to recognize size reduction.
d97546
- Support exit on idle for dmenventd (1 hour).
d97546
- Add support to allow unmonitor device from plugin itself.
d97546
- New design for thread co-operation in dmeventd.
d97546
- Dmeventd read device status with 'noflush'.
d97546
- Dmeventd closes control device when no device is monitored.
d97546
- Thin plugin for dmeventd improved percentage usage.
d97546
- Snapshot plugin for dmeventd improved percentage usage.
d97546
- Add dm_hold_control_dev to allow holding of control device open.
d97546
- Add dm_report_compact_given_fields to remove given empty fields from report.
d97546
- Use libdm status parsing and local mem raid dmeventd plugin.
d97546
- Use local mem pool and lock only lvm2 execution for mirror dmeventd plugin.
d97546
- Lock protect only lvm2 execution for snapshot and thin dmeventd plugin.
d97546
- Use local mempool for raid and mirror plugins.
d97546
- Reworked thread initialization for dmeventd plugins.
d97546
- Dmeventd handles snapshot overflow for now equally as invalid.
d97546
- Convert dmeventd to use common logging macro system from libdm.
d97546
- Return -ENOMEM when device registration fails instead of 0 (=success).
d97546
- Enforce writethrough mode for cleaner policy.
d97546
- Add support for recognition and deactivation of MD devices to blkdeactivate.
d97546
- Move target status functions out of libdm-deptree.
d97546
- Correct use of max_write_behind parameter when generating raid target line.
d97546
- Fix dm-event systemd service to make sure it is executed before mounting.
d97546
509b5d
* Mon Oct 26 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.132-2
509b5d
- Remove %%{epoch} from cmirror requires.
509b5d
34ebe8
* Wed Sep 23 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.132-1
34ebe8
- Fix lvmconf to set locking_type=2 if external locking library is requested.
34ebe8
- Remove verbose message when rescanning an unchanged device. (2.02.119)
34ebe8
- Add origin_uuid, mirror_log_uuid, move_pv_uuid, convert_lv_uuid report fields.
34ebe8
- Add pool_lv_uuid, metadata_lv_uuid, data_lv_uuid reporting fields.
34ebe8
- Fix PV label processing failure after pvcreate in lvm shell with lvmetad.
34ebe8
- Update man pages for dmsetup and dmstats.
34ebe8
- Improve help text for dmsetup.
34ebe8
- Use --noflush and --nolockfs when removing device with --force.
34ebe8
- Parse new Overflow status string for snapshot target.
34ebe8
- Check dir path components are valid if using dm_create_dir, error out if not.
34ebe8
- Fix /dev/mapper handling to remove dangling entries if symlinks are found.
34ebe8
- Make it possible to use blank value as selection for string list report field.
34ebe8
22e99a
* Wed Sep 16 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.131-1
22e99a
- Fix PV label processing failure after pvcreate in lvm shell with lvmetad.
22e99a
- Rename 'make install_full_man' to install_all_man and add all_man target.
22e99a
- Fix vgimportclone cache_dir path name (2.02.115).
22e99a
- Swapping of LV identifiers handles more complex LVs.
22e99a
- Use passed list of PVS when allocating space in lvconvert --thinpool.
22e99a
- Disallow usage of --stripe and --stripesize when creating cache pool.
22e99a
- Warn user when caching raid or thin pool data LV.
22e99a
- When layering LV, move LV flags with segments.
22e99a
- Ignore persistent cache if configuration changed. (2.02.127)
22e99a
- Fix devices/filter to be applied before disk-accessing filters. (2.02.112)
22e99a
- Make tags only when requested via 'make tags'.
22e99a
- Configure supports --disable-dependency-tracking for one-time builds.
22e99a
- Fix usage of configure.h when building in srcdir != builddir.
22e99a
- Do not check for full thin pool when activating without messages (1.02.107).
22e99a
e92381
* Mon Sep 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.130-1
e92381
- Fix use of uninitialized device status if reading outdated .cache record.
e92381
- Restore support for --monitor option in lvcreate (2.02.112).
e92381
- Read thin-pool data and metadata percent without flush.
e92381
- Detect blocked thin-pool and avoid scanning their thin volumes.
e92381
- Check if dm device is usable before checking its size (2.02.116).
e92381
- Extend parsing of cache_check version in configure.
e92381
- Make lvpoll error messages visible in lvmpolld's stderr and in syslog.
e92381
- Add 'make install_full_man' to install all man pages regardless of config.
e92381
- Parse thin-pool status with one single routine internally.
e92381
- Add --histogram to select default histogram fields for list and report.
e92381
- Add report fields for displaying latency histogram configuration and data.
e92381
- Add dmstats --bounds to specify histogram boundaries for a new region.
e92381
- Add dm_histogram_to_string() to format histogram data in string form.
e92381
- Add public methods to libdm to access numerical histogram config and data.
e92381
- Parse and store histogram data in dm_stats_list() and dm_stats_populate().
e92381
- Add an argument to specify histogram bounds to dm_stats_create_region().
e92381
- Add dm_histogram_bounds_from_{string,uint64_t}() to parse histogram bounds.
e92381
- Add dm_histogram handle type to represent a latency histogram and its bounds.
e92381
704128
* Wed Sep 02 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.129-2
704128
- Reinstate dm_task_get_info@Base to libdevmapper exports. (1.02.106)
704128
2c84ed
* Thu Aug 27 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.129-1
2c84ed
- Drop error message when vgdisplay encounters an exported VG. (2.02.27)
2c84ed
- Fix shared library generation to stop exporting internal functions.(2.02.120)
2c84ed
- Accept --cachemode with lvconvert.
2c84ed
- Fix and improve reporting properties of cache-pool.
2c84ed
- Enable usage of --cachepolicy and --cachesetting with lvconvert.
2c84ed
- Don't allow to reduce size of thin-pool metadata.
2c84ed
- Fix debug buffer overflows in cmirrord logging.
2c84ed
- Add --foreground and --help to cmirrord.
2c84ed
- Add 'precise' column to statistics reports.
2c84ed
- Add --precise switch to 'dmstats create' to request nanosecond counters.
2c84ed
- Add precise argument to dm_stats_create_region().
2c84ed
- Add support to libdm-stats for precise_timestamps
2c84ed
- Fix devmapper.pc pkgconfig file to declare -lrt dependency properly.
2c84ed
1915ce
* Tue Aug 18 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.128-1
1915ce
- Allocation setting cache_pool_cachemode is replaced by cache_mode.
1915ce
- Don't attempt to close config file that couldn't be opened.
1915ce
- Check for valid cache mode in validation of cache segment.
1915ce
- Change internal interface handling cache mode and policy.
1915ce
- When no cache policy specified, prefer smq (if available) over mq.
1915ce
- Add demo cache-mq and cache-smq profiles.
1915ce
- Add cmd profilable allocation/cache_policy,cache_settings,cache_mode.
1915ce
- Require cache_check 0.5.4 for use of --clear-needs-check-flag.
1915ce
- Fix lvmetad udev rules to not override SYSTEMD_WANTS, add the service instead.
1915ce
- Fix 'dmstats list -o all' segfault.
1915ce
- Separate dmstats statistics fields from region information fields.
1915ce
- Add interval and interval_ns fields to dmstats reports.
1915ce
- Do not include internal glibc headers in libdm-timestamp.c (1.02.104)
1915ce
- Exit immediately if no device is supplied to dmsetup wipe_table.
1915ce
- Suppress dmsetup report headings when no data is output. (1.02.104)
1915ce
- Adjust dmsetup usage/help output selection to match command invoked.
1915ce
- Fix dmsetup -o all to select correct fields in splitname report.
1915ce
- Restructure internal dmsetup argument handling across all commands.
1915ce
- Add dm_report_is_empty() to indicate there is no data awaiting output.
1915ce
- Add more arg validation for dm_tree_node_add_cache_target().
1915ce
- Add --alldevices switch to replace use of --force for stats create / delete.
1915ce
0b40fc
* Mon Aug 10 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.127-1
0b40fc
- Do not init filters, locking, lvmetad, lvmpolld if command doesn't use it.
0b40fc
- Order fields in struct cmd_context more logically.
0b40fc
- Add lock_type to lvmcache VG summary and info structs.
0b40fc
- Fix regression in cache causing some PVs to bypass filters (2.02.105).
0b40fc
- Make configure --enable-realtime the default now. 
0b40fc
- Add dmstats.8 man page
0b40fc
- Add dmstats --segments switch to create one region per device segment.
0b40fc
- Add dmstats --regionid, --allregions to specify a single / all stats regions.
0b40fc
- Add dmstats --allprograms for stats commands that filter by program ID.
0b40fc
- Add dmstats --auxdata and --programid args to specify aux data and program ID.
0b40fc
- Add report stats sub-command to provide repeating stats reports.
0b40fc
- Add clear, delete, list, and print stats sub-commands.
0b40fc
- Add create stats sub-command and --start, --length, --areas and --areasize.
0b40fc
- Recognize 'dmstats' as an alias for 'dmsetup stats' when run with this name.
0b40fc
- Add a 'stats' command to dmsetup to configure, manage and report stats data.
0b40fc
- Add statistics fields to dmsetup -o.
0b40fc
- Add libdm-stats library to allow management of device-mapper statistics.
0b40fc
- Add --nosuffix to suppress dmsetup unit suffixes in report output.
0b40fc
- Add --units to control dmsetup report field output units.
0b40fc
- Add support to redisplay column headings for repeating column reports.
0b40fc
- Fix report header and row resource leaks.
0b40fc
- Report timestamps of ioctls with dmsetup -vvv.
0b40fc
- Recognize report field name variants without any underscores too.
0b40fc
- Add dmsetup --interval and --count to repeat reports at specified intervals.
0b40fc
- Add dm_timestamp functions to libdevmapper.
0b40fc
- Recognise vg/lv name format in dmsetup.
0b40fc
- Move size display code to libdevmapper as dm_size_to_string.
0b40fc
0b40fc
* Mon Jul 27 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.126-2
c09f8b
- Fix long option hyphen removal. (2.02.122)
c09f8b
- Fix clvmd freeze if client disappears without first releasing its locks.
c09f8b
- Fix lvconvert segfaults while performing snapshots merge.
c09f8b
- Ignore errors during detection if use_blkid_wiping=1 and --force is used.
c09f8b
- Recognise DM_ABORT_ON_INTERNAL_ERRORS env var override in lvm logging fn.
c09f8b
- Fix alloc segfault when extending LV with fewer stripes than in first seg.
c09f8b
- Fix handling of cache policy name.
c09f8b
- Set cache policy before with the first lvm2 cache pool metadata commit.
c09f8b
- Fix detection of thin-pool overprovisioning (2.02.124).
c09f8b
- Fix lvmpolld segfaults on 32 bit architectures.
c09f8b
- Add lvmlockd lock_args validation to vg_validate.
c09f8b
- Fix ignored --startstopservices option if running lvmconf with systemd.
c09f8b
- Hide sanlock LVs when processing LVs in VG unless named or --all used.
c09f8b
- Introduce libdevmapper wrappers for all malloc-related functions.
c09f8b
cd3323
* Tue Jul 14 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.125-2
cd3323
- Add Requires: system-release>=23 for lvmpolld to be enabled by default
cd3323
  instead of original Requires: fedora-release which may break installations
cd3323
  in environments where fedora-release is not available.
cd3323
ebc16a
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.125-1
ebc16a
- Fix getline memory usage in lvmpolld.
ebc16a
- Add support --clear-needs-check-flag for cache_check of cache pool metadata.
ebc16a
- Add lvmetactl for developer use only.
ebc16a
- Rename global/lock_retries to lvmlockd_retries.
ebc16a
- Replace --enable-lvmlockd by --enable-lockd-sanlock and --enable-lockd-dlm.
ebc16a
- Include tool.h for default non-library use.
ebc16a
- Introduce format macros with embedded % such as FMTu64.
ebc16a
0cb590
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.124-1
0cb590
- Move sending thin pool messages from resume to suspend phase.
0cb590
- Report warning when pool is overprovisioned and not auto resized.
0cb590
- Recognize free-form date/time values for lv_time field in selection criteria.
0cb590
- Added experimental lvmlockd with configure --enable-lvmlockd.
0cb590
- Fix regression in select to match string fields if using synonyms (2.02.123).
0cb590
- Fix regression when printing more lv names via display_lvname (2.02.122).
0cb590
- Add missing error logging to unlock_vg and sync_local_dev_names callers.
0cb590
- Add experimental support to passing messages in suspend tree.
0cb590
- Add dm_report_value_cache_{set,get} to support caching during report/select.
0cb590
- Add dm_report_reserved_handler to handle report reserved value actions.
0cb590
- Support dynamic value in select: DM_REPORT_FIELD_RESERVED_VALUE_DYNAMIC_VALUE.
0cb590
- Support fuzzy names in select: DM_REPORT_FIELD_RESERVED_VALUE_FUZZY_NAMES.
0cb590
- Thin pool trace messages show a device name and major:minor.
fa5dcd
- Add new lvm2-lockd subpackage with lvmlockd daemon.
0cb590
4b009e
* Wed Jul 01 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.123-1
4b009e
- Add report/time_format lvm.conf option to define time format for report.
4b009e
- Fix makefile shell compare == when building lvmetad lvmpolld (2.02.120).
4b009e
- Add --type full to lvmconfig for full configuration tree view.
4b009e
- Add undocumented environment variables to lvm man page. (2.02.119)
4b009e
- Add device synchronization point before activating a new snapshot.
4b009e
- Add --withspaces to lvmconfig to add spaces in output for better readability.
4b009e
- Add custom main function to libdaemon.
4b009e
- Use lvmetad to track out-of-date metadata discovered.
4b009e
- Fix makefile shell compare == when building lvmetad lvmpolld (2.02.120).
4b009e
- Add --type full to lvmconfig for full configuration tree view.
4b009e
- Add undocumented environment variables to lvm man page. (2.02.119)
4b009e
- Add device synchronization point before activating a new snapshot.
4b009e
- Add --withspaces to lvmconfig to add spaces in output for better readability.
4b009e
- Add custom main function to libdaemon.
4b009e
- Use lvmetad to track out-of-date metadata discovered.
4b009e
- Add since, after, until and before time operators to be used in selection.
4b009e
- Add support for time in reports and selection: DM_REPORT_FIELD_TYPE_TIME.
4b009e
- Support report reserved value ranges: DM_REPORT_FIELD_RESERVED_VALUE_RANGE.
4b009e
- Support report reserved value names: DM_REPORT_FIELD_RESERVED_VALUE_NAMED.
4b009e
- Add DM_CONFIG_VALUE_FMT_{INT_OCTAL,STRING_NO_QUOTES} config value format flag.
4b009e
- Add DM_CONFIG_VALUE_FMT_COMMON_{ARRAY,EXTRA_SPACE} config value format flag.
4b009e
- Add dm_config_value_{get,set}_format_flags to get and set config value format.
4b009e
8363aa
* Mon Jun 22 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.122-1
8363aa
- Flush stdout before printing to stderr.
8363aa
- Use pre-allocated buffer for printed LV names in display_lvname.
8363aa
- Support thins with size of external origin unaligned with thin pool chunk.
8363aa
- Allow extension of reduced thin volumes with external origins.
8363aa
- Consider snapshot and origin LV as unusable if component devices suspended.
8363aa
- Fix lvmconfig segfault on settings with undefined default value (2.02.120).
8363aa
- Add explicit 's' (shared) LV activation mode.
8363aa
- Ignore hyphens in long options names (i.e. --long-option == --longoption).
8363aa
- Distinguish between on-disk and lvmetad versions of text metadata.
8363aa
- Remove DL_LIBS from Makefiles for daemons that don't need them.
8363aa
- Zero errno in before strtoul call in dmsetup if tested after the call.
8363aa
- Zero errno in before strtoul call in lvmpolld.
8363aa
- Fix a segfault in pvscan --cache --background command.
8363aa
- Fix test for AREA_PV when checking for failed mirrors.
8363aa
- Do not use --sysinit in lvm2-activation{-early,-net}.service if lvmpolld used.
8363aa
- Maintain outdated PV info in lvmetad till all old metadata is gone from disk.
8363aa
- Do not fail polling when poll LV not found (already finished or removed).
8363aa
- Replace poll_get_copy_vg/lv fns with vg_read() and find_lv() in polldaemon.
8363aa
- Close all device fds only in before sleep call in polldaemon.
8363aa
- Simplify Makefile targets that generate exported symbols.
8363aa
- Move various -D settings from Makefiles to configure.h.
8363aa
- New dm_tree_node_set_thin_pool_read_only(DM_1_02_99) for read-only thin pool.
8363aa
- Enhance error message when thin-pool message fails.
8363aa
- Fix dmeventd logging to avoid threaded use of static variable.
8363aa
- Remove redundant dmeventd SIGALRM coded.
8363aa
- Add dm_task_get_errno() to return any unexpected errno from a dm ioctl call.
8363aa
- Use copy of errno made after each dm ioctl call in case errno changes later.
8363aa
e6b286
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.120-2
e6b286
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e6b286
eae0c8
* Thu May 21 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.120-1
eae0c8
- Enable and use lvmpolld - the LVM polling daemon by default.
eae0c8
- Add Requires: fedora-release>=23-0.13 for lvmpolld to be enabled by default.
eae0c8
- Make various adjustments to Makefile compilation flags.
eae0c8
- Add lvmpolld debug message class.
eae0c8
- Add lvmpolld client mode for querying running server instance for status info.
eae0c8
- Fix some libdaemon socket creation and reuse error paths.
eae0c8
- Daemons (libdaemon) support exit on idle also in non-systemd environment.
eae0c8
- Provide make dist and make rpm targets
eae0c8
- Configure lvm.conf for use_lvmetad and use_lvmpolld.
eae0c8
- Add lvpoll for cmdline communication with lvmpolld.
eae0c8
- Add lvmpolld acting as a free-standing version of polldaemon.
eae0c8
- Avoid repeated identical lvmetad VG lookups in commands processing all VGs. 
eae0c8
- Handle switches to alternative duplicate PVs efficiently with lvmetad.
eae0c8
- Properly validate PV size for pvcreate --restorefile.
eae0c8
- Fix check if pvcreate wiped device (2.02.117).
eae0c8
- Fix storing of vgid when caching metadata (2.02.118).
eae0c8
- Fix recursive lvm-config man page. (2.02.119)
eae0c8
- Refactor polldaemon interfaces to poll every operation by VG/LV couple
eae0c8
- Skip wait after testing in _wait_for_single_lv when polling finished
eae0c8
- Return 'None' in python for empty string properties instead of crashing.
eae0c8
- Distinguish signed numerical property type in reports for lvm2app library.
eae0c8
- Reread raid completion status immediately when progress appears to be zero.
eae0c8
- lvm2app closes locking on lvm_quit().
eae0c8
- Configure detects /run or /var/run.
eae0c8
- Add missing newline in clvmd --help output.
eae0c8
- New dm_task_get_info(DM_1_02_97) supports internal_suspend state.
eae0c8
- New symbols are versioned and comes with versioned symbol name (DM_1_02_97).
704f3c
704f3c
* Mon May 04 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.119-1
704f3c
- New lvm2-python3-libs subpackage to provide Python 3 bindings for LVM2.
704f3c
- New LVM_LOG_FILE_EPOCH, LVM_EXPECTED_EXIT_STATUS env vars. Man page to follow.
704f3c
- Remove detailed content from lvm.conf man page: use lvmconfig instead.
704f3c
- Generate complete config files with lvmconfig or 'make generate'.
704f3c
- Also display info on deprecated config with lvmconfig --withcomments.
704f3c
- Display version since which config is deprecated in lvmconfig --withversions.
704f3c
- Add --showdeprecated to lvmconfig to also display deprecated settings.
704f3c
- Hide deprecated settings in lvmconfig output for all types but current,diff.
704f3c
- Introduce support for exit on idle feature in libdaemon
704f3c
- Add --showunsupported to lvmconfig to also display unsupported settings.
704f3c
- Display unsupported settings for lvmconfig --type current,diff only by default
704f3c
- Honour lvmconfig --ignoreunsupported and --ignoreadvanced for all --type.
704f3c
- Make python bindings usable with python3 (and compatible with 2.6 & 2.7).
704f3c
- Add lvmconfig -l|--list as shortcut for lvmconfig --type list --withsummary.
704f3c
- Add lvmconfig --type list to display plain list of configuration settings.
704f3c
- Introduce lvmconfig as the preferred form of 'lvm dumpconfig'.
704f3c
- Add lv_ancestors and lv_descendants reporting fields.
704f3c
- Add --ignorelocal option to dumpconfig to ignore the local section.
704f3c
- Close connection to lvmetad after fork.
704f3c
- Make lvchange able to resume background pvmove polling again.
704f3c
- Split pvmove update metadata fn in an initial one and a subsequent one.
704f3c
- Refactor shared pvmove and lvconvert code into new _poll files.
704f3c
- Add --unconfigured option to dumpconfig to print strings unconfigured.
704f3c
- Add --withsummary option to dumpconfig to print first line - summary comment.
704f3c
- Use number of device holders to help choose between duplicate PVs.
704f3c
- Try to make lvmetad and non-lvmetad duplicate PV handling as similar as poss.
704f3c
- Issue warnings about duplicate PVs discovered by lvmetad.
704f3c
- Track alternative devices with matching PVIDs in lvmetad.
704f3c
- Check for lvm binary in blkdeactivate and skip LVM processing if not present.
704f3c
- Add --enable-halvm and --disable-halvm options to lvmconf script.
704f3c
- Add --services, --mirrorservice and --startstopservices option to lvmconf.
704f3c
- Use proper default value of global/use_lvmetad when processing lvmconf script.
704f3c
- Respect allocation/cling_tag_list during intial contiguous allocation.
704f3c
- Make changes persist with python addTag/removeTag.
704f3c
- Set correct vgid when updating cache when writing PV metadata.
704f3c
- More efficient clvmd singlenode locking emulation.
704f3c
- Reject lvcreate -m with raid4/5/6 to avoid unexpected layout.
704f3c
- Don't skip invalidation of cached orphans if vg write lck is held (2.02.118).