|
|
e92d82 |
#
|
|
|
e92d82 |
# Copyright (C) 2011-2017 Red Hat, Inc
|
|
|
e92d82 |
#
|
|
|
e92d82 |
|
|
|
e92d82 |
Summary: Device-mapper Persistent Data Tools
|
|
|
e92d82 |
Name: device-mapper-persistent-data
|
|
|
e92d82 |
Version: 0.8.5
|
|
|
819fdd |
Release: 3%{?dist}
|
|
|
e92d82 |
License: GPLv3+
|
|
|
e92d82 |
Group: System Environment/Base
|
|
|
e92d82 |
URL: https://github.com/jthornber/thin-provisioning-tools
|
|
|
e92d82 |
#Source0: https://github.com/jthornber/thin-provisioning-tools/archive/thin-provisioning-tools-% {version}.tar.gz
|
|
|
e92d82 |
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz
|
|
|
e92d82 |
Patch0: device-mapper-persistent-data-avoid-strip.patch
|
|
|
e92d82 |
Patch1: dmpd-space-map-noop-explicit-option-return.patch
|
|
|
819fdd |
# BZ 1528261:
|
|
|
819fdd |
Patch2: dmpd-remove-pool-inactive-from-thin_trim-man-page.patch
|
|
|
819fdd |
# BZ 1499781:
|
|
|
819fdd |
patch3: dmpd-thin_repair-cache_repair-Check-input-file-exists-earlier.patch
|
|
|
e92d82 |
|
|
|
e92d82 |
BuildRequires: autoconf, expat-devel, libaio-devel, libstdc++-devel, boost-devel
|
|
|
e92d82 |
Requires: expat
|
|
|
e92d82 |
|
|
|
e92d82 |
%description
|
|
|
e92d82 |
thin-provisioning-tools contains check,dump,restore,repair,rmap
|
|
|
e92d82 |
and metadata_size tools to manage device-mapper thin provisioning
|
|
|
e92d82 |
target metadata devices; cache check,dump,metadata_size,restore
|
|
|
e92d82 |
and repair tools to manage device-mapper cache metadata devices
|
|
|
e92d82 |
are included and era check, dump, restore and invalidate to manage
|
|
|
e92d82 |
snapshot eras
|
|
|
e92d82 |
|
|
|
e92d82 |
%prep
|
|
|
e92d82 |
%setup -q -n thin-provisioning-tools-%{version}
|
|
|
e92d82 |
%patch0 -p1 -b .avoid_strip
|
|
|
e92d82 |
%patch1 -p1 -b .explicit_option_return
|
|
|
819fdd |
%patch2 -p1 -b .remove_pool_inactive_option
|
|
|
819fdd |
%patch3 -p1 -b .repair_check_input_file_exists_earlier
|
|
|
e92d82 |
echo %{version}-%{release} > VERSION
|
|
|
e92d82 |
|
|
|
e92d82 |
%build
|
|
|
e92d82 |
autoconf
|
|
|
e92d82 |
%configure --with-optimisation=
|
|
|
e92d82 |
make %{?_smp_mflags} V=
|
|
|
e92d82 |
|
|
|
e92d82 |
%install
|
|
|
e92d82 |
make DESTDIR=%{buildroot} MANDIR=%{_mandir} install
|
|
|
e92d82 |
|
|
|
e92d82 |
%clean
|
|
|
e92d82 |
|
|
|
e92d82 |
%files
|
|
|
e92d82 |
%doc COPYING README.md
|
|
|
e92d82 |
%{_mandir}/man8/cache_check.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/cache_dump.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/cache_metadata_size.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/cache_repair.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/cache_restore.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/cache_writeback.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/era_check.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/era_dump.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/era_invalidate.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/era_restore.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_check.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_delta.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_dump.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_ls.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_metadata_size.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_repair.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_restore.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_rmap.8.gz
|
|
|
e92d82 |
%{_mandir}/man8/thin_trim.8.gz
|
|
|
e92d82 |
%{_sbindir}/pdata_tools
|
|
|
e92d82 |
%{_sbindir}/cache_check
|
|
|
e92d82 |
%{_sbindir}/cache_dump
|
|
|
e92d82 |
%{_sbindir}/cache_metadata_size
|
|
|
e92d82 |
%{_sbindir}/cache_repair
|
|
|
e92d82 |
%{_sbindir}/cache_restore
|
|
|
e92d82 |
%{_sbindir}/cache_writeback
|
|
|
e92d82 |
%{_sbindir}/era_check
|
|
|
e92d82 |
%{_sbindir}/era_dump
|
|
|
e92d82 |
%{_sbindir}/era_invalidate
|
|
|
e92d82 |
%{_sbindir}/era_restore
|
|
|
e92d82 |
%{_sbindir}/thin_check
|
|
|
e92d82 |
%{_sbindir}/thin_delta
|
|
|
e92d82 |
%{_sbindir}/thin_dump
|
|
|
e92d82 |
%{_sbindir}/thin_ls
|
|
|
e92d82 |
%{_sbindir}/thin_metadata_size
|
|
|
e92d82 |
%{_sbindir}/thin_repair
|
|
|
e92d82 |
%{_sbindir}/thin_restore
|
|
|
e92d82 |
%{_sbindir}/thin_rmap
|
|
|
e92d82 |
%{_sbindir}/thin_trim
|
|
|
e92d82 |
|
|
|
e92d82 |
%changelog
|
|
|
819fdd |
* Mon Apr 20 2020 Marian Csontos <mcsontos@redhat.com> - 0.8.5-3
|
|
|
819fdd |
- Check input file exists earlier.
|
|
|
819fdd |
|
|
|
819fdd |
* Tue Nov 19 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.5-2
|
|
|
819fdd |
- Remove obsolete pool-inactive option from thin_trim man page.
|
|
|
819fdd |
|
|
|
e92d82 |
* Mon Jun 10 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.5-1
|
|
|
e92d82 |
- Additional fixes for thin_dump and thin_repair.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Mon May 27 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.2-1
|
|
|
e92d82 |
- Fix tools requiring additional --repair option.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Sat May 04 2019 Marian Csontos <mcsontos@redhat.com> - 0.8.1-1
|
|
|
e92d82 |
- Update to latest upstream release including various bug fixes.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Nov 14 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-3
|
|
|
e92d82 |
- Fix version 2 metadata corruption in cache_restore.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Oct 10 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-2
|
|
|
e92d82 |
- Rebuilding with updated source tarball.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Oct 06 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.3-1
|
|
|
e92d82 |
- Update to latest bugfix and documentation update release.
|
|
|
e92d82 |
- *_restore tools wipe superblock as a last resort.
|
|
|
e92d82 |
- Add thin_check --override-mapping-root.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Sep 22 2017 Marian Csontos <mcsontos@redhat.com> - 0.7.2-1
|
|
|
e92d82 |
- Update to latest upstream release including various bug fixes and new features.
|
|
|
e92d82 |
- Fix segfault when dump tools are given a tiny metadata file.
|
|
|
e92d82 |
- Fix -V exiting with 1.
|
|
|
e92d82 |
- Fix thin_check when running on XML dump instead of binary data.
|
|
|
e92d82 |
- Speed up free block searches.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Mon Mar 27 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc6
|
|
|
e92d82 |
- Don't open devices as writeable if --clear-needs-check-flag is not set.
|
|
|
e92d82 |
- Fix cache metadata format version 2 superblock packing.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Mar 22 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc5
|
|
|
e92d82 |
- Switch to a faster implementation of crc32 used for checksums.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Mar 21 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc4
|
|
|
e92d82 |
- Add support for cache metadata format version 2 in cache tools.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Thu Mar 16 2017 Peter Rajnoha <prajnoha@redhat.com> - 0.7.0-0.1-rc3
|
|
|
e92d82 |
- Update to latest upstream release including various bug fixes and new features.
|
|
|
e92d82 |
- New thin_show_duplicates command.
|
|
|
e92d82 |
- Add '--skip-mappings' and '--format custom' options to thin_dump.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Jul 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.3-1
|
|
|
e92d82 |
- Fix regression in thin_repair and thin_restore so it works again
|
|
|
e92d82 |
when using device as output.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Thu Jul 21 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-2
|
|
|
e92d82 |
- Improve documentation and messages on output file preallocation
|
|
|
e92d82 |
when using thin_repair and thin_restore.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Mon Jul 11 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-1
|
|
|
e92d82 |
- Fixes providing proper use of compiler flags.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed May 04 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc8
|
|
|
e92d82 |
- Fixes for thin_trim and thin_repair.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Mar 09 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc6
|
|
|
e92d82 |
- Add new fields to thin_ls: MAPPED_BYTES, EXCLUSIVE_BYTES and SHARED_BYTES.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Mar 08 2016 Peter Rajnoha <prajnoha@redhat.com> - 0.6.2-0.1.rc5
|
|
|
e92d82 |
- New thin_ls command.
|
|
|
e92d82 |
- era_invalidate may be run on live metadata if the --metadata-snap
|
|
|
e92d82 |
option is given.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Thu Aug 13 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.5-1
|
|
|
e92d82 |
- Support thin_delta's --metadata_snap option without specifying snap location.
|
|
|
e92d82 |
- Update man pages to make it clearer that tools shoulnd't be run on live metadata.
|
|
|
e92d82 |
- Fix bugs in the metadata reference counting for thin_check.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Jul 17 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.4-1
|
|
|
e92d82 |
- Fix cache_check with --clear-needs-check-flag option to
|
|
|
e92d82 |
make sure metadata device is not open already by the tool
|
|
|
e92d82 |
when open with O_EXCL mode is requested.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.3-1
|
|
|
e92d82 |
- Tools now open the metadata device in O_EXCL mode to stop
|
|
|
e92d82 |
running the tools on active metadata.
|
|
|
e92d82 |
- Update to latest upstream release.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Jul 03 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.2-1
|
|
|
e92d82 |
- Fix bug in damage reporting in thin_dump and thin_check.
|
|
|
e92d82 |
- Update to latest upstream release.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Thu Jun 25 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.5.1-1
|
|
|
e92d82 |
- Add space map checking for thin_check.
|
|
|
e92d82 |
- Add --clear-needs-check option for cache_check.
|
|
|
e92d82 |
- Update to latest upstream release.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Mon Jun 08 2015 Peter Rajnoha <prajnoha@redhat.com> - 0.4.2-1
|
|
|
e92d82 |
- New thin_delta and thin_trim commands.
|
|
|
e92d82 |
- Update to latest upstream release.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Nov 12 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-2
|
|
|
e92d82 |
- Resolves: #1083394
|
|
|
e92d82 |
- Resolves: #1085620
|
|
|
e92d82 |
- Fixes empty debuginfo packages
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Oct 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.4.1-1
|
|
|
e92d82 |
- Resolves: #1083394
|
|
|
e92d82 |
- Resolves: #1085620
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Apr 2 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.2-1
|
|
|
e92d82 |
- Resolves: #1081546
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Mar 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.3.0-1
|
|
|
e92d82 |
- Resolves: #1081546
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Feb 28 2014 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-5
|
|
|
e92d82 |
- Resolves: #1057951
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.8-4
|
|
|
e92d82 |
- Mass rebuild 2014-01-24
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.8-3
|
|
|
e92d82 |
- Mass rebuild 2013-12-27
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Oct 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-2
|
|
|
e92d82 |
- Resolves: #1022834
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Oct 18 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.8-1
|
|
|
e92d82 |
- New upstream version 0.2.8 introducing cache_{check,dump,repair,restore}
|
|
|
e92d82 |
Resolves: #1020825
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Sep 17 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.7-1
|
|
|
e92d82 |
- New upstream version 0.2.7
|
|
|
e92d82 |
Resolves: #966264
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Jul 31 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.3-1
|
|
|
e92d82 |
- New upstream version
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Jul 30 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.2-1
|
|
|
e92d82 |
- New upstream version with missing man pages, thin_metadata_size
|
|
|
e92d82 |
calculator and thin_dump metadata snapshot support.
|
|
|
e92d82 |
- Manual page header fixes
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.1-1
|
|
|
e92d82 |
- New upstream version.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Jul 10 2013 Heinz Mauelshagen <heinzm@redhat.com> - 0.2.0-1
|
|
|
e92d82 |
- New upstream version.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
e92d82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
|
|
|
e92d82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e92d82 |
|
|
|
e92d82 |
* Thu Apr 19 2012 Milan Broz <mbroz@redhat.com> - 0.1.4-1
|
|
|
e92d82 |
- Fix thin_check man page (add -q option).
|
|
|
e92d82 |
- Install utilities in /usr/sbin.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Mar 13 2012 Milan Broz <mbroz@redhat.com> - 0.1.2-1
|
|
|
e92d82 |
- New upstream version.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Mon Mar 05 2012 Milan Broz <mbroz@redhat.com> - 0.1.1-1
|
|
|
e92d82 |
- Fix quiet option.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Mar 02 2012 Milan Broz <mbroz@redhat.com> - 0.1.0-1
|
|
|
e92d82 |
- New upstream version.
|
|
|
e92d82 |
|
|
|
e92d82 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-3
|
|
|
e92d82 |
- Rebuilt for c++ ABI breakage
|
|
|
e92d82 |
|
|
|
e92d82 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.1-2
|
|
|
e92d82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
e92d82 |
|
|
|
e92d82 |
* Wed Dec 21 2011 Milan Broz <mbroz@redhat.com> - 0.0.1-1
|
|
|
e92d82 |
- Initial version
|