Blame SPECS/vdo.spec

8ee3f3
%global commit           229b9ecf21d7cfe1dcf26ce91c30c2f71e5e635b
8ee3f3
%global gittag           6.2.6.7
3fa5af
%global shortcommit      %(c=%{commit}; echo ${c:0:7})
3fa5af
b284da
%define spec_release 14
3fa5af
Summary: Management tools for Virtual Data Optimizer
3fa5af
Name: vdo
3fa5af
Version: %{gittag}
3fa5af
Release: %{spec_release}%{?dist}
3fa5af
License: GPLv2
3fa5af
Source0: https://github.com/dm-vdo/%{name}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
3fa5af
Patch0:  fix_dmeventd_linking.patch
3fa5af
URL: http://github.com/dm-vdo/vdo
5934ed
Requires: lvm2 >= 2.03
3fa5af
Requires: python3-PyYAML >= 3.10
3fa5af
Requires: libuuid >= 2.23
3fa5af
Requires: kmod-kvdo >= 6.2
3fa5af
Requires: util-linux >= 2.32.1-7
3fa5af
Provides: kvdo-kmod-common = %{version}
3fa5af
ExcludeArch: s390
3fa5af
ExcludeArch: ppc
3fa5af
ExcludeArch: ppc64
3fa5af
ExcludeArch: i686
3fa5af
BuildRequires: gcc
b284da
BuildRequires: libblkid-devel
3fa5af
BuildRequires: libuuid-devel
3fa5af
BuildRequires: device-mapper-devel
3fa5af
BuildRequires: device-mapper-event-devel
3fa5af
BuildRequires: python3
3fa5af
BuildRequires: python3-devel
3fa5af
BuildRequires: systemd
3fa5af
%ifarch %{valgrind_arches}
3fa5af
BuildRequires: valgrind-devel
3fa5af
%endif
3fa5af
BuildRequires: zlib-devel
3fa5af
%{?systemd_requires}
3fa5af
3fa5af
# Disable an automatic dependency due to a file in examples/monitor.
3fa5af
%define __requires_exclude perl
3fa5af
3fa5af
%description
3fa5af
Virtual Data Optimizer (VDO) is a device mapper target that delivers
3fa5af
block-level deduplication, compression, and thin provisioning.
3fa5af
3fa5af
This package provides the user-space management tools for VDO.
3fa5af
3fa5af
%prep
3fa5af
%setup -q -n %{name}-%{commit}
3fa5af
%patch0 -p1
3fa5af
3fa5af
%build
3fa5af
make
3fa5af
3fa5af
%install
c5048d
make install DESTDIR=$RPM_BUILD_ROOT INSTALLOWNER= name=%{name} \
c5048d
  bindir=%{_bindir} defaultdocdir=%{_defaultdocdir} libexecdir=%{_libexecdir} \
c5048d
  mandir=%{_mandir} presetdir=%{_presetdir} \
c5048d
  python3_sitelib=/%{python3_sitelib} sysconfdir=%{_sysconfdir} \
c5048d
  unitdir=%{_unitdir}
3fa5af
3fa5af
# Fix the python3 shebangs
3fa5af
for file in %{_bindir}/vdo \
1cf80a
            %{_bindir}/vdostats
3fa5af
do
3fa5af
  pathfix.py -pni "%{__python3}" $RPM_BUILD_ROOT${file}
3fa5af
done
3fa5af
3fa5af
%post
3fa5af
%systemd_post vdo.service
3fa5af
3fa5af
%preun
3fa5af
%systemd_preun vdo.service
3fa5af
3fa5af
%postun
3fa5af
%systemd_postun_with_restart vdo.service
3fa5af
3fa5af
%files
3fa5af
#defattr(-,root,root)
3fa5af
%{_bindir}/vdo
b284da
%{_bindir}/vdo-by-dev
3fa5af
%{_bindir}/vdostats
3fa5af
%{_bindir}/vdodmeventd
3fa5af
%{_bindir}/vdodumpconfig
3fa5af
%{_bindir}/vdoforcerebuild
3fa5af
%{_bindir}/vdoformat
5934ed
%{_bindir}/vdosetuuid
c5048d
%{_libexecdir}/vdoprepareforlvm
3fa5af
%dir %{python3_sitelib}/%{name}
3fa5af
%{python3_sitelib}/%{name}/__init__.py
3fa5af
%{python3_sitelib}/%{name}/__pycache__/__init__.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/__pycache__/__init__.cpython-36.pyc
3fa5af
%dir %{python3_sitelib}/%{name}/vdomgmnt/
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/CommandLock.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/Configuration.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/Constants.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/Defaults.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/ExitStatusMixins.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/KernelModuleService.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/MgmntUtils.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/Service.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/SizeString.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/Utils.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/VDOArgumentParser.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/VDOService.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/VDOKernelModuleService.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/VDOOperation.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__init__.py
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/CommandLock.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/CommandLock.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Configuration.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Configuration.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Constants.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Constants.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Defaults.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Defaults.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/ExitStatusMixins.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/ExitStatusMixins.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/KernelModuleService.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/KernelModuleService.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/MgmntUtils.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/MgmntUtils.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Service.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Service.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/SizeString.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/SizeString.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Utils.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/Utils.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOArgumentParser.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOArgumentParser.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOKernelModuleService.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOKernelModuleService.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOOperation.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOOperation.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOService.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/VDOService.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/__init__.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/vdomgmnt/__pycache__/__init__.cpython-36.pyc
3fa5af
%dir %{python3_sitelib}/%{name}/statistics/
3fa5af
%{python3_sitelib}/%{name}/statistics/Command.py
3fa5af
%{python3_sitelib}/%{name}/statistics/Field.py
3fa5af
%{python3_sitelib}/%{name}/statistics/KernelStatistics.py
3fa5af
%{python3_sitelib}/%{name}/statistics/LabeledValue.py
3fa5af
%{python3_sitelib}/%{name}/statistics/StatFormatter.py
3fa5af
%{python3_sitelib}/%{name}/statistics/StatStruct.py
3fa5af
%{python3_sitelib}/%{name}/statistics/VDOReleaseVersions.py
3fa5af
%{python3_sitelib}/%{name}/statistics/VDOStatistics.py
3fa5af
%{python3_sitelib}/%{name}/statistics/__init__.py
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/Command.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/Command.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/Field.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/Field.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/KernelStatistics.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/KernelStatistics.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/LabeledValue.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/LabeledValue.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/StatFormatter.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/StatFormatter.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/StatStruct.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/StatStruct.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/VDOReleaseVersions.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/VDOReleaseVersions.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/VDOStatistics.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/VDOStatistics.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/__init__.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/statistics/__pycache__/__init__.cpython-36.pyc
3fa5af
%dir %{python3_sitelib}/%{name}/utils/
3fa5af
%{python3_sitelib}/%{name}/utils/Command.py
3fa5af
%{python3_sitelib}/%{name}/utils/FileUtils.py
3fa5af
%{python3_sitelib}/%{name}/utils/Timeout.py
3fa5af
%{python3_sitelib}/%{name}/utils/Transaction.py
3fa5af
%{python3_sitelib}/%{name}/utils/YAMLObject.py
3fa5af
%{python3_sitelib}/%{name}/utils/__init__.py
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Command.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Command.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/FileUtils.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/FileUtils.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Timeout.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Timeout.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Transaction.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/Transaction.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/YAMLObject.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/YAMLObject.cpython-36.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/__init__.cpython-36.opt-1.pyc
3fa5af
%{python3_sitelib}/%{name}/utils/__pycache__/__init__.cpython-36.pyc
3fa5af
%{_unitdir}/vdo.service
b284da
%{_unitdir}/vdo-start-by-dev@.service
3fa5af
%{_presetdir}/97-vdo.preset
1cf80a
%dir %{_sysconfdir}/bash_completion.d
1cf80a
%{_sysconfdir}/bash_completion.d/vdostats
1cf80a
%{_sysconfdir}/bash_completion.d/vdo
b284da
%{_sysconfdir}/udev/rules.d/69-vdo-start-by-dev.rules
3fa5af
%dir %{_defaultdocdir}/%{name}
3fa5af
%license %{_defaultdocdir}/%{name}/COPYING
3fa5af
%dir %{_defaultdocdir}/%{name}/examples
3fa5af
%dir %{_defaultdocdir}/%{name}/examples/ansible
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/ansible/README.txt
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdocreate.yml
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdocreate_alloptions.yml
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/ansible/test_vdoremove.yml
3fa5af
%dir %{_defaultdocdir}/%{name}/examples/monitor
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_logicalSpace.pl
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_physicalSpace.pl
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/monitor/monitor_check_vdostats_savingPercent.pl
3fa5af
%dir %{_defaultdocdir}/%{name}/examples/systemd
3fa5af
%doc %{_defaultdocdir}/%{name}/examples/systemd/VDO.mount.example
3fa5af
%{_mandir}/man8/vdo.8.gz
3fa5af
%{_mandir}/man8/vdostats.8.gz
3fa5af
%{_mandir}/man8/vdodmeventd.8.gz
3fa5af
%{_mandir}/man8/vdodumpconfig.8.gz
3fa5af
%{_mandir}/man8/vdoforcerebuild.8.gz
3fa5af
%{_mandir}/man8/vdoformat.8.gz
c5048d
%{_mandir}/man8/vdoprepareforlvm.8.gz
5934ed
%{_mandir}/man8/vdosetuuid.8.gz
3fa5af
b284da
%package support
b284da
Summary: Support tools for Virtual Data Optimizer
b284da
License: GPLv2
b284da
Requires: libuuid >= 2.23
b284da
b284da
%description support
b284da
Virtual Data Optimizer (VDO) is a device mapper target that delivers
b284da
block-level deduplication, compression, and thin provisioning.
b284da
b284da
This package provides the user-space support tools for VDO.
b284da
b284da
%files support
b284da
%{_bindir}/vdoaudit
b284da
%{_bindir}/vdodebugmetadata
b284da
%{_bindir}/vdodumpblockmap
b284da
%{_bindir}/vdodumpmetadata
b284da
%{_bindir}/vdolistmetadata
b284da
%{_bindir}/vdoreadonly
b284da
%{_bindir}/vdoregenerategeometry
b284da
%{_mandir}/man8/vdoaudit.8.gz
b284da
%{_mandir}/man8/vdodebugmetadata.8.gz
b284da
%{_mandir}/man8/vdodumpblockmap.8.gz
b284da
%{_mandir}/man8/vdodumpmetadata.8.gz
b284da
%{_mandir}/man8/vdolistmetadata.8.gz
b284da
%{_mandir}/man8/vdoreadonly.8.gz
b284da
%{_mandir}/man8/vdoregenerategeometry.8.gz
b284da
3fa5af
%changelog
8ee3f3
* Mon Nov 15 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.6.7-14
8ee3f3
- Fixed bugs in the vdopreparelvm check to determine whether a device has
8ee3f3
  already been converted.
8ee3f3
- Resolves: rhbz#2017843
8ee3f3
- Fixed an issue in the vdo-by-dev tool which could result in a failure to
8ee3f3
  start vdo devices when some devices in the vdo config file do not exist.
8ee3f3
- Resolves: rhbz#2022154
8ee3f3
f2e974
* Wed Nov 03 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.6.3-14
f2e974
- Added a check to vdopreparelvm to determine whether it has already been
f2e974
  converted.
f2e974
- Resolves: rhbz#2017843
f2e974
c5048d
* Fri Aug 20 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.74-14
c5048d
- Renamed vdo2LVM to vdopreparelvm and moved its installation location to
c5048d
  /usr/libexec so that it is not in common default paths as this utility is
c5048d
  intended to be called from LVM, not directly by users.
c5048d
- Related: rhbz#1986930
c5048d
884d84
* Thu Jul 22 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.65-14
884d84
- Fixed Coverity scan issues.
884d84
- Resolves: rhbz#1982878
884d84
884d84
* Thu Jul 15 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.62-14
884d84
- Removed extraneous fields from the super block of a converted index.
884d84
- Resolves: rhbz#1965546
884d84
- Added a parameter to the lvm conversion tool to specify the amount of
884d84
  space to free up.
884d84
- Resolves: rhbz#1966827
884d84
- Fixed calculation of the number of expiring chapters in a converted
884d84
  index.
884d84
- Resolves: rhbz#1975546
959c67
959c67
* Tue Jun 01 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.41-14
959c67
- Integrated the vdo to lvm conversion tool into the vdo management script
959c67
  and modified the tool itself to correctly convert the UDS index so that
959c67
  dedupe information is not lost by conversion.
959c67
- Resolves: rhbz#1928284
959c67
959c67
* Thu May 20 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.21-14
959c67
- Added a tool for converting a VDO volume from the vdo management script
959c67
  to LVM. The tool can be invoked from the new vdo convert command.
959c67
- Related: rhbz#1928284
959c67
- Fixed a (relatively harmless) buffer overflow in vdo userspace tools.
959c67
- Resolves: rhbz#1927938
959c67
006cf4
* Thu May 13 2021 - Andy Walsh <awalsh@redhat.com> - 6.2.5.11-14
006cf4
- Introduced new memory size parameter values for UDS indexes which have
006cf4
  been converted from vdo script management to LVM.
006cf4
- Related: rhbz1928284
006cf4
- Modified vdo script to fail if the same option is supplied multiple
006cf4
  times.
006cf4
- Resolves: rhbz#1944087
006cf4
- Fixed permissions on the vdo script's lock directory.
006cf4
- Resolves: rhbz#1952105
006cf4
76c667
* Thu Oct 01 2020 - Andy Walsh <awalsh@redhat.com> - 6.2.4.14-14
76c667
- Added --pending option to the vdo status command to indicate
76c667
  configuration options which have been modified but will not take
76c667
  effect until the next device start.
76c667
- Resolves: rhbz#1838314
62f0bb
b46691
* Fri Jun 19 2020 - Andy Walsh <awalsh@redhat.com> - 6.2.3.107-14
b46691
- Fixed more Coverity errors.
b46691
- Resolves: rhbz#1827763
b46691
b46691
* Tue Jun 09 2020 - Andy Walsh <awalsh@redhat.com> - 6.2.3.100-14
b46691
- Modified vdoformat to display the minimum required physical size for the
b46691
  specified parameters if the format fails due to insufficient space.
b46691
- Resolves: rhbz#1683945
b46691
- Modified the vdo status command to report values from running devices
b46691
  rather than the config file when the devices are running.
b46691
- Resolves: rhbz#1790983
b46691
- Actually made the new summary mode of vdoaudit the default.
b46691
- Resolves: rhbz#1687996
b46691
- Fixed a bug in vdodumpmetadata and vdodumpblockmap which could result in
b46691
  the wrong block(s) being dumped.
b46691
- Resolves: rhbz#1643297
b46691
b284da
* Tue Jun 02 2020 - Andy Walsh <awalsh@redhat.com> - 6.2.3.91-14
b284da
- Removed unused UDS bio statistics
b284da
- Resolves: rhbz#1827762
b284da
- Added a summary mode to vdoaudit and made this mode the default. Also
b284da
  added histograms.
b284da
- Resolves: rhbz#1687996
b284da
- Modified vdostats to accept short (one character) options.
b284da
- Resolves: rhbz#1787472
b284da
- Modified vdo script to use lsblk to identify LVM created VDO volumes.
b284da
- Resolves: rhbz#1825344
b284da
- Modified vdo script to avoid unnecessary config file updates when
b284da
  removing VDO volumes.
b284da
- Resolves: rhbz#1804440
b284da
- Fixed a cast which caused a Coverity complaint.
b284da
- Resolves: rhbz#1827763
b284da
- Fixed a cut&paste error in the vdosetuuid man page.
b284da
- Resolves: rhbz#1643297
b284da
- Fixed documentation of logical threads.
b284da
- Resolves: rhbz#1827764
b284da
- Began creation of a package of binaries for investigating VDO issues.
b284da
- Resolves: rhbz#1643297
b284da
- Updated VDO to use udev/systemd rules for startup.
b284da
- Resolves: rhbz#1837759
b284da
- Modified VDO volume creation to use libblkid instead of pvcreate to
b284da
  determine whether the underlying storage is already in use. Moved
b284da
  these checks from the vdo script into the vdoformat utility.
b284da
- Resolves: rhbz#1771698
b284da
- Modified the vdo status command to treat a running vdo volume is
b284da
  authoratative over the config file.
b284da
- Resolves: rhbz#1790983
b284da
- Added a new utility, vdoregenerategeometry, which can be used to
b284da
  recover a VDO whose initial blocks have been overwritten
b284da
  accidentaly.
b284da
- Resolves: rhbz#1773421
b284da
5934ed
* Tue Feb 11 2020 - Andy Walsh <awalsh@redhat.com> - 6.2.2.117-13
5934ed
- Improved man pages and help text for vdo script and vdo utilities.
5934ed
- Resolves: rhbz#1505748
5934ed
- Resolves: rhbz#1636043
5934ed
- Resolves: rhbz#1746539
5934ed
- Modified vdoformat to display the maximum VDO size based on the
5934ed
  configured slab size when formatting a volume. Modified vdo script to
5934ed
  also display this output when creating a new VDO.
5934ed
- Resolves: rhbz#1659173
5934ed
5934ed
* Mon Nov 25 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.2.33-12
5934ed
- Fixed bug in the import command of the vdo script which would fail if
5934ed
  there were no active dm devices.
5934ed
- Resolves: rhbz#1767491
5934ed
- Added a version command to the vdo script to report the script version.
5934ed
- Resolves: rhbz#1730429
5934ed
- Added version options to vdo utilities which did not have one.
5934ed
- Resolves: rhbz#1730429
5934ed
- Removed deprecated vdoprepareupgrade utility.
5934ed
- Resolves: rhbz#1774700
5934ed
5934ed
* Wed Oct 30 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.2.24-11
5934ed
- Began preparations for releasing more VDO analysis and debugging tools.
5934ed
- Relates: rhbz#1687996
5934ed
- Really added the ability to modify the UUID of a VDO device (the previous
5934ed
  version omitted some of the files necessary for this feature).
5934ed
- Resolves: rhbz#1713749
5934ed
5934ed
* Thu Oct 17 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.2.18-11
5934ed
- Added the ability to modify the UUID of a VDO device.
5934ed
- Resolves: rhbz#1713749
5934ed
- Added an import command to the vdo script to allow management of an
5934ed
  existing VDO device which is not already in the vdo config file.
5934ed
- Resolves: rhbz#1737619
5934ed
- Modified the vdo script to warn the user when starting or stopping a VDO
5934ed
  device if the device is already in the desired state.
5934ed
- Resolves: rhbz#1738651
5934ed
1cf80a
* Fri Aug 02 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.1.134-11
1cf80a
- Added UUID filtering of underlying devices when running vdo create with
1cf80a
  the --force flag as this failed when run on certain PVs.
1cf80a
- Resolves: rhbz#1710017
1cf80a
1cf80a
* Fri Jun 14 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.1.102-11
1cf80a
- Added bash command completion for the vdo command.
1cf80a
  - Resolves: rhbz#1540287
1cf80a
- Modified the vdo script's list command to not display VDO devices which
1cf80a
  were not created with the vdo command (i.e. via LVM or using raw dm
1cf80a
  commands).
1cf80a
  - Resolves: rhbz#1686091
1cf80a
- Modified vdostats to continue to work on VDO devices which were not
1cf80a
  created with the vdo script.
1cf80a
  - Resolves: rhbz#1686091
1cf80a
- Modified vdo script to always close the UDS index when disabling
1cf80a
  deduplication on a running VDO device.
1cf80a
  - Resolves: rhbz#1643291
1cf80a
1cf80a
* Sun May 05 2019 - Andy Walsh <awalsh@redhat.com> - 6.2.1.48-10
1cf80a
- Added bash command completion for vdostats.
1cf80a
  - Resolves: rhbz#1666425
1cf80a
- Added missing newline to the output from vdoFormat.
1cf80a
  - Resolves: rhbz#1669492
1cf80a
- Fixed bug in the value displayed by vdostats for statistics which are not
1cf80a
  currently available.
1cf80a
  - Resolves: rhbz#1668747
1cf80a
- Updated vdo script to reflect changes in lvm.
1cf80a
  - Resolves: rhbz#1684249
1cf80a
- Reduced error output when removing a VDO device whose backing storage is
1cf80a
  missing.
1cf80a
  - Resolves: rhbz#1684248
1cf80a
- Removed the VDO Ansible module and examples from the vdo package.
1cf80a
  - Resolves: rhbz#1669534
1cf80a
  - Resolves: rhbz#1663259
1cf80a
- Fixed bugs in vdo script argument parsing.
1cf80a
  - Resolves: rhbz#1679224
5f41b3
3fa5af
* Fri Dec 14 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.293-10
3fa5af
- Fixed a bug in the vdo script when checking the logical thread count.
3fa5af
- Resolves: rhbz#1645325
3fa5af
- Corrected the vdo script manpage entry for maxDiscardSize.
3fa5af
- Resolves: rhbz#1651251
3fa5af
- Allowed VDO backing devices to be specified by major:minor device number.
3fa5af
- Resolves: rhbz#1594285
3fa5af
- Fixed bugs when the vdo script is invoked against an existing device
3fa5af
  which is not a VDO.
3fa5af
- Resolves: rhbz#1588083
3fa5af
- Update vdo manpage to reflect deleted statistics.
3fa5af
- Resolves: rhbz#1639792
3fa5af
- Updated vdo script to handle partitioned devices
3fa5af
- Resolves: rhbz#1658224
3fa5af
3fa5af
* Fri Nov 16 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.273-9
3fa5af
- Fixed a build dependency issue with device-mapper-devel
3fa5af
- Resolves: rhbz#1650686
3fa5af
- Improved checking for existing LVM physical volumes when formatting a new VDO
3fa5af
  volume.
3fa5af
- Resolves: rhbz#1627859
3fa5af
- Removed read cache statistics, configuration options, and table line
3fa5af
  parameters.
3fa5af
- Resolves: rhbz#1639792
3fa5af
- Fixed a bug which would cause the default logical size to be 480 KB smaller
3fa5af
  than it could be without causing over-provisioning.
3fa5af
- Resolves: rhbz#1645690
3fa5af
- Limited the number of logical zones to 60.
3fa5af
- Resolves: rhbz#1645325
3fa5af
- Removed extraneous man pages.
3fa5af
- Resolves: rhbz#1649950
3fa5af
3fa5af
* Sun Oct 07 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.239-8
3fa5af
- Modified vdo script to use the new physical and logical growth procedures
3fa5af
  including support for the new table line format (the old format is still
3fa5af
  supported as well).
3fa5af
- Resolves: rhbz#1631869
3fa5af
3fa5af
* Mon Sep 17 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.219-8
3fa5af
- Fixed error path memory leaks in the UDS module.
3fa5af
- Resolves: rhbz#1609403
3fa5af
- Convered nagios scripts to monitor scripts
3fa5af
- Made all configuration load errors use generic messaging in the vdo
3fa5af
  script.
3fa5af
- Resolves: rhbz#1626237
3fa5af
- Added missing va_end() calls.
3fa5af
- Resolves: rhbz#1627953
3fa5af
- Modified Makefile to take build flags from rpmbuild.
3fa5af
- Resolves: rhbz#1624184
3fa5af
3fa5af
* Fri Aug  3 2018 - Florian Weimer <fweimer@redhat.com> - 6.2.0.187-8
3fa5af
- Honor %%{valgrind_arches}
3fa5af
3fa5af
* Mon Jul 30 2018 - Florian Weimer <fweimer@redhat.com> - 6.2.0.187-7
3fa5af
- Rebuild with fixed binutils
3fa5af
3fa5af
* Sun Jul 29 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.187-6
3fa5af
- Improved man pages.
3fa5af
- Resolves: rhbz#1600247
3fa5af
- Modified vdo scripts to ignore (but preserve) unrecognized parameters in the
3fa5af
  vdo config file so that config files are compatible across versions.
3fa5af
- Resolves: rhbz#1604122
3fa5af
3fa5af
* Fri Jul 06 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.132-6
3fa5af
- Converted to use %%{__python3} on utility scripts.
3fa5af
3fa5af
* Thu Jun 28 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.132-5
3fa5af
- Fixed handling of relative paths supplied to the --confFile options of
3fa5af
  the vdo script.
3fa5af
3fa5af
* Thu Jun 21 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.109-4
3fa5af
- Fixed a bug in the vdo script which would fail with a python backtrace
3fa5af
  when the script was invoked with no arguments.
3fa5af
- Resolves: rhbz#1581204
3fa5af
- Modified the vdo script to not allow creation of a VDO device on top of
3fa5af
  an already running VDO device.
3fa5af
- Made the ordering of the output of vdo list stable.
3fa5af
- Resolves: rhbz#1584823
3fa5af
- Fixed issues with UDS on platforms where "char" is an unsigned type.
3fa5af
- Converted UDS to use GCC's built-in macros for determining endianness.
3fa5af
- Fixed a bug in the --vdoLogLevel option to the vdo python script when
3fa5af
  using python 3
3fa5af
- Resolves: rhbz#1586043
3fa5af
3fa5af
* Mon Jun 04 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.71-4
3fa5af
Note: This is a pre-release version, future versions of VDO may not support
3fa5af
VDO devices created with this version.
3fa5af
- Modified vdo script to reqiure --force to remove a VDO volume with no
3fa5af
  device.
3fa5af
- Improved man pages.
3fa5af
- Converted python tools to use python 3.
3fa5af
3fa5af
* Tue May 01 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.35-3.py3
3fa5af
- Updated to python3
3fa5af
- Also added aarch64 as an architecture
3fa5af
3fa5af
* Fri Apr 27 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.35-3
3fa5af
Note: This is a pre-release version, future versions of VDO may not support
3fa5af
      VDO devices created with this version.
3fa5af
- Added validation that the release version numbers in the geometry and
3fa5af
  super block match on load.
3fa5af
- Fixed bug where VDO would always be created with a dense index even when
3fa5af
  a sparse index was requested.
3fa5af
- Fixed compilation problems on newer versions of GCC.
3fa5af
3fa5af
* Wed Apr 25 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.32-3.updated_vdoGeometry
3fa5af
- Experimental build that uses a different way to spell the loadable version
3fa5af
3fa5af
* Tue Apr 24 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.32-3
3fa5af
Note: This is a pre-release version, future versions of VDO may not support
3fa5af
      VDO devices created with this version.
3fa5af
- Add a library, libuser.a, to provide easy access to VDO user space code
3fa5af
  for other projects.
3fa5af
- Fixed a bug in vdo script when /dev/disk/by-id does not exist.
3fa5af
- Fixed an internationalization bug in the vdo script's --indexMemory
3fa5af
  option.
3fa5af
- Changed vdo script to not accept --vdoSlabSize=0 as a way of specifying
3fa5af
  the default since it was confusing. The default can be obtained by merely
3fa5af
  omitting the parameter entirely.
3fa5af
3fa5af
* Thu Apr 19 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.4-3
3fa5af
- Added dependency for lvm2
3fa5af
3fa5af
* Tue Apr 17 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.4-2
3fa5af
- Added missing kmod-kvdo requirement
3fa5af
- Resolves: rhbz#1568039
3fa5af
3fa5af
* Fri Apr 13 2018 - Andy Walsh <awalsh@redhat.com> - 6.2.0.4-1
3fa5af
- Updated to use github for Source0
3fa5af
- Reformatted tags to be easier to read
3fa5af
- Initial RHEL8 RPM rhbz#1503786
3fa5af
3fa5af
* Fri Apr 13 2018 - J. corwin Coburn <corwin@redhat.com> - 6.2.0.4-1
3fa5af
- Initial pre-release for RHEL 8.
3fa5af
  - Please be aware that this version is not compatible with previous versions
3fa5af
    of VDO. Support for loading or upgrading devices created with VDO version
3fa5af
    6.1 will be available soon.
3fa5af
- Management tools will work with both python 2 and python 3.
3fa5af
- Dedupe path improvements.
3fa5af
- Beginnings of support for non-x86 architectures.
3fa5af
- Removed obsolete code from UDS.
3fa5af
3fa5af
* Fri Feb 16 2018 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.149-16
3fa5af
- Sync mode is safe if underlying storage changes to requiring flushes
3fa5af
- Resolves: rhbz#1540777
3fa5af
3fa5af
* Wed Feb 07 2018 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.146-16
3fa5af
- VDO start command now does index memory checking
3fa5af
- Module target is now "vdo" instead of "dedupe"
3fa5af
- VDO remove with no device no longer puts a spurious file in /dev
3fa5af
- ANsible module no longer fails on modification operations
3fa5af
- Resolves: rhbz#1510567
3fa5af
- Resolves: rhbz#1530358
3fa5af
- Resolves: rhbz#1535597
3fa5af
- Resolves: rhbz#1536214
3fa5af
3fa5af
* Tue Feb 06 2018 - Andy Walsh <awalsh@redhat.com> - 6.1.0.144-16
3fa5af
- Updated summary and description
3fa5af
- Resolves: rhbz#1541409
3fa5af
3fa5af
* Thu Feb 01 2018 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.130-15
3fa5af
- vdo growLogical by less than 4K gives correct error
3fa5af
- Fix URL to point to GitHub tree
3fa5af
- Resolves: rhbz#1532653
3fa5af
- Resolves: rhbz#1539059
3fa5af
3fa5af
* Fri Jan 19 2018 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.124-14
3fa5af
- Added a specific error for less than 1 block growLogical.
3fa5af
- Resolves: rhbz#1532653
3fa5af
3fa5af
* Wed Jan 10 2018 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.114-14
3fa5af
- VDO automatically chooses the proper write policy by default
3fa5af
- Package uninstall removes vdo.service symlinks
3fa5af
- Resolves: rhbz#1525305
3fa5af
- Resolves: rhbz#1531047
3fa5af
3fa5af
* Thu Dec 21 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.106-13
3fa5af
- Handle bogus --confFile and --logfile arguments
3fa5af
- Produce more informative vdo manager high-level help
3fa5af
- Generate command-specific unrecognized argument messages
3fa5af
- Resolves: rhbz#1520927
3fa5af
- Resolves: rhbz#1522750
3fa5af
- Resolves: rhbz#1525560
3fa5af
3fa5af
* Tue Dec 12 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.97-13
3fa5af
- Remove vdo --noRun option
3fa5af
- Clean up vdo error handling
3fa5af
- Prevent python stack traces on vdo errors
3fa5af
- Add more bounds checking to indexMem
3fa5af
- Resolves: rhbz#1508544
3fa5af
- Resolves: rhbz#1508918
3fa5af
- Resolves: rhbz#1520991
3fa5af
- Resolves: rhbz#1522754
3fa5af
3fa5af
* Fri Dec 08 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.89-13
3fa5af
- Build changes for UUID
3fa5af
- Limit VDO physical size
3fa5af
- Limit command options to those applicable to the subcommand
3fa5af
- Fix vdo --modifyBlockMapPeriod
3fa5af
- Report missing command option appropriately for all subcommands
3fa5af
- Fix behavior of --indexMem when there's not enough memory
3fa5af
- Remove obsolete nagios plugin from examples
3fa5af
- Better error behavior for failing vdo status commands
3fa5af
- Fix boundary check error for vdoLogicalSize
3fa5af
- Resolves: rhbz#1507927
3fa5af
- Resolves: rhbz#1508452
3fa5af
- Resolves: rhbz#1508544
3fa5af
- Resolves: rhbz#1508918
3fa5af
- Resolves: rhbz#1509002
3fa5af
- Resolves: rhbz#1510567
3fa5af
- Resolves: rhbz#1512631
3fa5af
- Resolves: rhbz#1522943
3fa5af
3fa5af
* Fri Dec 01 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.72-12
3fa5af
- Don't corrupt an existing filesystem with "vdo create" without "--force"
3fa5af
- Resolves: rhbz#1510581
3fa5af
3fa5af
* Mon Nov 27 2017 - Ken Raeburn <raeburn@redhat.com> - 6.1.0.55-11
3fa5af
- Don't corrupt an existing filesystem with "vdo create" without "--force"
3fa5af
- Resolves: rhbz#1510581
3fa5af
3fa5af
* Fri Nov 17 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.55-10
3fa5af
- manual pages: note logical size limit of 4P
3fa5af
- manual pages: make cache size/thread count link clearer
3fa5af
- Resolves: rhbz#1508452
3fa5af
- Resolves: rhbz#1511042
3fa5af
3fa5af
* Fri Nov 03 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.46-9
3fa5af
- update manpage to not allow 0 as an option
3fa5af
- enforce maximum vdoPhysicalThreads
3fa5af
- update manpage to describe maximum vdoPhysicalThreads
3fa5af
- Resolves: rhbz#1510405
3fa5af
- Resolves: rhbz#1511075
3fa5af
- Resolves: rhbz#1511085
3fa5af
- Resolves: rhbz#1511091
3fa5af
3fa5af
* Fri Nov 03 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.34-8
3fa5af
- Bugfixes
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Mon Oct 30 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-7
3fa5af
- Don't let make install try to set file ownerships itself
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Thu Oct 12 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-6
3fa5af
- Added new man pages
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Fri Oct  6 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-5
3fa5af
- Fixed a typo in the package description
3fa5af
- Fixed man page paths
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Thu Oct  5 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-4
3fa5af
- Fix vdostats name in nagios examples
3fa5af
- Build only on the x86_64 architecture
3fa5af
- Add systemd files
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Thu Oct  5 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-3
3fa5af
- Added missing Build-Requires and incorporated naming changes
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Wed Oct  4 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-2
3fa5af
- Fixed requirements and tags in %files section
3fa5af
- Resolves: rhbz#1480047
3fa5af
3fa5af
* Tue Oct  3 2017 - Joseph Chapman <jochapma@redhat.com> - 6.1.0.0-1
3fa5af
- Initial implementation
3fa5af
- Resolves: rhbz#1480047