2006-12-18 14:01:39 +01:00
|
|
|
#
|
2012-10-18 10:15:42 +02:00
|
|
|
# spec file for package lvm2
|
2006-12-18 14:01:39 +01:00
|
|
|
#
|
2014-01-09 17:38:13 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-18 14:01:39 +01:00
|
|
|
#
|
2008-08-14 01:57:23 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-08-26 13:12:14 +02:00
|
|
|
Url: http://www.sourceware.org/lvm2/
|
2008-02-15 01:32:50 +01:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
Name: lvm2
|
2013-08-26 13:29:43 +02:00
|
|
|
BuildRequires: device-mapper-devel
|
2012-10-23 19:40:13 +02:00
|
|
|
BuildRequires: libcorosync-devel
|
|
|
|
BuildRequires: libdlm-devel
|
2008-08-26 02:15:11 +02:00
|
|
|
BuildRequires: libselinux-devel
|
2013-08-26 13:12:14 +02:00
|
|
|
BuildRequires: libudev-devel
|
2013-08-26 13:29:43 +02:00
|
|
|
BuildRequires: readline-devel
|
2014-04-23 14:24:53 +02:00
|
|
|
BuildRequires: suse-module-tools
|
2014-03-28 15:57:40 +01:00
|
|
|
BuildRequires: systemd-rpm-macros
|
2013-08-28 13:16:38 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2008-07-11 23:10:33 +02:00
|
|
|
Requires: device-mapper >= 1.02.25
|
2006-12-18 14:01:39 +01:00
|
|
|
Provides: lvm
|
2012-10-23 19:40:13 +02:00
|
|
|
Version: 2.02.98
|
2013-08-26 13:12:14 +02:00
|
|
|
Release: 0.<RELEASE11>
|
2012-10-23 19:40:13 +02:00
|
|
|
Summary: Logical Volume Manager Tools
|
2013-04-22 16:12:00 +02:00
|
|
|
License: GPL-2.0 and LGPL-2.1
|
2012-10-18 10:15:42 +02:00
|
|
|
Group: System/Base
|
2013-04-17 10:04:57 +02:00
|
|
|
Source: ftp://sources.redhat.com/pub/%{name}/LVM2.%{version}.tgz
|
2013-08-26 13:29:43 +02:00
|
|
|
Source42: ftp://sources.redhat.com/pub/%{name}/LVM2.%{version}.tgz.asc
|
2006-12-18 14:01:39 +01:00
|
|
|
Source1: lvm.conf
|
2008-12-05 15:45:04 +01:00
|
|
|
Source8: clvmd.ocf
|
2013-08-26 13:12:14 +02:00
|
|
|
Source10: cmirrord.ocf
|
2012-10-23 19:40:13 +02:00
|
|
|
Source14: baselibs.conf
|
2014-01-09 17:38:13 +01:00
|
|
|
Source16: csm-converter.tar.gz
|
2012-10-23 19:40:13 +02:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
Patch: improve_probing.diff
|
|
|
|
Patch2: no-inc-audit.diff
|
|
|
|
Patch3: no_buildroot_shared.diff
|
|
|
|
Patch4: sys_mount_instead_linux_fs.diff
|
2007-11-22 18:06:40 +01:00
|
|
|
Patch6: man_page_sectors.diff
|
2012-10-23 19:40:13 +02:00
|
|
|
|
2008-04-25 16:32:38 +02:00
|
|
|
Patch13: pipe_buff-definition.diff
|
2014-01-09 17:38:13 +01:00
|
|
|
|
2012-10-23 19:40:13 +02:00
|
|
|
Patch20: support-drbd-filter.diff
|
2012-10-18 10:15:42 +02:00
|
|
|
Patch22: handle_extended_devt.diff
|
2014-03-28 15:57:40 +01:00
|
|
|
#suse
|
|
|
|
Patch23: display-dm-name-for-lv-name.diff
|
|
|
|
|
2012-10-23 19:40:13 +02:00
|
|
|
Patch66: device-mapper-type_punning.diff
|
2013-09-11 11:38:23 +02:00
|
|
|
Patch67: lvm-path.patch
|
2012-10-18 10:15:42 +02:00
|
|
|
|
2014-01-09 17:38:13 +01:00
|
|
|
#fate312248,patch68,69
|
|
|
|
Patch68: make-mirror-legs-on-different-tag-pvs.patch
|
|
|
|
Patch69: improve-mirror-legs-on-different-tag-pvs.patch
|
|
|
|
|
|
|
|
#upstream
|
|
|
|
Patch71: make_raid1_default.diff
|
|
|
|
#suppress warning
|
|
|
|
Patch72: suppress_locking_failer_message.patch
|
2014-03-28 15:57:40 +01:00
|
|
|
#upstream
|
2014-01-09 17:38:13 +01:00
|
|
|
Patch73: remove-fedora-systemd.patch
|
|
|
|
|
2014-02-15 11:13:39 +01:00
|
|
|
#fate#315092
|
|
|
|
Patch75: cmirrord_improvment_performance.patch
|
|
|
|
|
2014-02-24 17:32:41 +01:00
|
|
|
#bnc#862076
|
|
|
|
Patch76: 0001-lvmetad-Init-lazily-to-avoid-socket-access-on-config.patch
|
|
|
|
|
2014-03-28 15:57:40 +01:00
|
|
|
#fate#314367
|
|
|
|
Patch77: cluster_support_mirrord_log.diff
|
|
|
|
Patch78: lvconvert-cluster-mirrored-disk-failed.patch
|
|
|
|
|
|
|
|
Patch79: add_scm_support.patch
|
|
|
|
|
|
|
|
#upstream backport
|
|
|
|
Patch80: do_not_read_from_mirrors_have_failed_devices.diff
|
|
|
|
Patch81: avoid_reading_failed_dev_in_mirrored_log.diff
|
|
|
|
Patch82: mirrored_log_fixed_when_double_fault_occurs.diff
|
|
|
|
Patch83: device_is_usable_mem_leak.diff
|
|
|
|
|
|
|
|
#forward-port from sle11
|
|
|
|
Patch84: suppress_format1_size_warning.diff
|
|
|
|
Patch85: pvmove_support_clustered_vg.diff
|
|
|
|
|
|
|
|
#upstream
|
|
|
|
Patch86: clmvd-fix-decriptor-leak-on-restart.patch
|
|
|
|
Patch87: clvmd-Fix-node-up-down-handing-in-corosync-module.patch
|
|
|
|
Patch88: clvmd-Avoid-a-3-way-deadlock-in-dead-client-cleanup.patch
|
|
|
|
Patch89: 0001-clvmd-avoid-logging-in-signal-handler.patch
|
|
|
|
|
2014-04-23 14:24:53 +02:00
|
|
|
# Never upstream
|
|
|
|
Patch90: cmirrord_remove_date_time_from_compilation.patch
|
2014-05-19 14:02:02 +02:00
|
|
|
|
|
|
|
#upstream, bnc#871176
|
|
|
|
Patch91: 0001-RAID-Make-RAID-4-5-6-display-sync-status-under-headi.patch
|
2014-06-12 10:09:50 +02:00
|
|
|
#fixed in upstream,bnc#785467
|
|
|
|
Patch92: clvmd-fix-debugging-level-set-in-clvmd_set_debug-function.patch
|
|
|
|
#upstream
|
|
|
|
Patch93: 0001-toolcontext-Only-reopen-stdin-if-readable.patch
|
|
|
|
#suse, bnc873538
|
|
|
|
Patch94: fix-closedown-before-thread-finish.patch
|
|
|
|
#upstream
|
|
|
|
Patch95: systemd-lvm2-activation-generator-report-only-error.patch
|
|
|
|
#suse, bnc#870824
|
|
|
|
Patch96: use-mirrortype-asdefault-whenclvmdrunning.patch
|
|
|
|
# bnc#878481
|
|
|
|
Patch97: systemd-use-umask-022-for-generated-systemd-units-by.patch
|
|
|
|
# bnc#878930
|
|
|
|
Patch98: remove-quote-in-lvm2-monitor.patch
|
2014-06-20 13:59:58 +02:00
|
|
|
# bnc#875233
|
|
|
|
Patch99: udev-Check-for-DM_NR_VALID_PATHS.patch
|
2014-05-19 14:02:02 +02:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-08-26 02:15:11 +02:00
|
|
|
# Not a real replacement but we drop evms
|
2012-10-18 10:15:42 +02:00
|
|
|
Provides: evms = 2.5.5
|
|
|
|
Provides: evms-devel = 2.5.5
|
|
|
|
Provides: evms-gui = 2.5.5
|
|
|
|
Provides: evms-ha = 2.5.5
|
|
|
|
Obsoletes: evms <= 2.5.5
|
|
|
|
Obsoletes: evms-devel <= 2.5.5
|
|
|
|
Obsoletes: evms-gui <= 2.5.5
|
|
|
|
Obsoletes: evms-ha <= 2.5.5
|
2013-02-23 08:33:01 +01:00
|
|
|
%define _udevdir %(pkg-config --variable=udevdir udev)
|
2006-12-18 14:01:39 +01:00
|
|
|
|
2013-08-26 13:12:14 +02:00
|
|
|
%{systemd_requires}
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
%description
|
|
|
|
Programs and man pages for configuring and using the LVM2 Logical
|
|
|
|
Volume Manager.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2012-11-04 03:55:33 +01:00
|
|
|
%setup -q -n LVM2.%{version}
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch -p1
|
2006-12-18 14:01:39 +01:00
|
|
|
%patch2
|
|
|
|
%patch3
|
|
|
|
%patch4
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch6 -p1
|
|
|
|
%patch13 -p1
|
|
|
|
%patch20 -p1
|
2012-10-18 10:15:42 +02:00
|
|
|
%patch22 -p1
|
2014-03-28 15:57:40 +01:00
|
|
|
%patch23 -p1
|
2012-10-23 19:40:13 +02:00
|
|
|
%patch66 -p1
|
2013-09-11 11:38:23 +02:00
|
|
|
%patch67 -p1
|
2014-01-09 17:38:13 +01:00
|
|
|
%patch68 -p1
|
|
|
|
%patch69 -p1
|
|
|
|
%patch71 -p1
|
|
|
|
%patch72 -p1
|
|
|
|
%patch73 -p1
|
2014-02-15 11:13:39 +01:00
|
|
|
%patch75 -p1
|
2014-02-24 17:32:41 +01:00
|
|
|
%patch76 -p1
|
2014-03-28 15:57:40 +01:00
|
|
|
%patch77 -p1
|
|
|
|
%patch78 -p1
|
|
|
|
%patch79 -p1
|
|
|
|
%patch80 -p1
|
|
|
|
%patch81 -p1
|
|
|
|
%patch82 -p1
|
|
|
|
%patch83 -p1
|
|
|
|
%patch84 -p1
|
|
|
|
%patch85 -p1
|
|
|
|
%patch86 -p1
|
|
|
|
%patch87 -p1
|
|
|
|
%patch88 -p1
|
|
|
|
%patch89 -p1
|
2014-04-23 14:24:53 +02:00
|
|
|
%patch90 -p1
|
2014-05-19 14:02:02 +02:00
|
|
|
%patch91 -p1
|
2014-06-12 10:09:50 +02:00
|
|
|
%patch92 -p1
|
|
|
|
%patch93 -p1
|
|
|
|
%patch94 -p1
|
|
|
|
%patch95 -p1
|
|
|
|
%patch96 -p1
|
|
|
|
%patch97 -p1
|
|
|
|
%patch98 -p1
|
2014-06-20 13:59:58 +02:00
|
|
|
%patch99 -p1
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%build
|
2013-10-21 13:23:03 +02:00
|
|
|
#set path so that thin_check can be found
|
|
|
|
#export before configure due to bnc#779965
|
|
|
|
export MODPROBE_CMD=/sbin/modprobe
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export PATH=$PATH:/sbin:/usr/sbin
|
2012-10-18 10:15:42 +02:00
|
|
|
%configure --prefix=/ \
|
2012-10-23 19:40:13 +02:00
|
|
|
--bindir=/bin --libdir=/%_lib --with-usrlibdir=%_libdir \
|
2012-10-18 10:15:42 +02:00
|
|
|
--sbindir=/sbin --enable-dmeventd \
|
2012-10-23 19:40:13 +02:00
|
|
|
--enable-udev_sync --enable-udev_rules \
|
2013-08-26 13:12:14 +02:00
|
|
|
--enable-cmdlib --enable-applib --enable-dmeventd \
|
2012-10-23 19:40:13 +02:00
|
|
|
--enable-realtime --enable-pkgconfig \
|
|
|
|
--enable-selinux \
|
2013-08-26 13:12:14 +02:00
|
|
|
--with-clvmd=corosync --with-cluster=internal --with-cluster=internal \
|
2013-09-11 09:48:52 +02:00
|
|
|
--datarootdir=/usr/share --with-default-locking-dir=/run/lock/lvm \
|
|
|
|
--enable-cmirrord --with-thin=internal --enable-lvmetad --with-default-pid-dir=/run \
|
2013-09-11 11:38:23 +02:00
|
|
|
--with-default-dm-run-dir=/run --with-default-run-dir=/run/lvm --with-tmpfilesdir=%{_tmpfilesdir}
|
2012-10-18 10:15:42 +02:00
|
|
|
export SUSE_ASNEEDED=0
|
2012-10-23 19:40:13 +02:00
|
|
|
make -j1 # symlinks are generated in parallel! %{?_smp_mflags}
|
2006-12-18 14:01:39 +01:00
|
|
|
|
2014-01-09 17:38:13 +01:00
|
|
|
#csm convert
|
|
|
|
tar zxvf %{S:16}
|
|
|
|
pushd bnz
|
|
|
|
make
|
|
|
|
popd
|
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
%install
|
2013-08-26 13:12:14 +02:00
|
|
|
make install_lvm2 DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install_system_dirs DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install_systemd_units DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install_systemd_generators DESTDIR=$RPM_BUILD_ROOT
|
2013-09-11 09:48:52 +02:00
|
|
|
make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT
|
2013-08-26 13:12:14 +02:00
|
|
|
make -C liblvm install DESTDIR=$RPM_BUILD_ROOT
|
2006-12-18 14:01:39 +01:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/backup
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/archive
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/lvm/metadata
|
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/lvm
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
2012-10-23 19:40:13 +02:00
|
|
|
install -m755 -D %{S:8} $RPM_BUILD_ROOT/usr/lib/ocf/resource.d/lvm2/clvmd
|
2013-08-26 13:12:14 +02:00
|
|
|
install -m755 -D %{S:10} $RPM_BUILD_ROOT/usr/lib/ocf/resource.d/lvm2/cmirrord
|
|
|
|
|
2012-10-23 19:40:13 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%_libdir/libdevmapper-event-lvm2.so
|
|
|
|
ln -sf libdevmapper-event-lvm2.so.2.02 $RPM_BUILD_ROOT/%_lib/libdevmapper-event-lvm2.so
|
2012-10-18 10:15:42 +02:00
|
|
|
pushd $RPM_BUILD_ROOT/%_lib
|
2013-08-26 13:12:14 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%_libdir/liblvm2app.so
|
|
|
|
rm -f $RPM_BUILD_ROOT/%_libdir/liblvm2cmd.so
|
|
|
|
ln -sf liblvm2cmd.so.2.02 liblvm2cmd.so
|
|
|
|
ln -sf liblvm2app.so.2.2 liblvm2app.so
|
2012-10-18 10:15:42 +02:00
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2mirror.so libdevmapper-event-lvm2mirror.so.2.02
|
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2snapshot.so libdevmapper-event-lvm2snapshot.so.2.02
|
2012-10-23 19:40:13 +02:00
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2raid.so libdevmapper-event-lvm2raid.so.2.02
|
2013-08-26 13:12:14 +02:00
|
|
|
ln -sf device-mapper/libdevmapper-event-lvm2thin.so libdevmapper-event-lvm2thin.so.2.02
|
2012-10-18 10:15:42 +02:00
|
|
|
popd
|
2012-10-23 19:40:13 +02:00
|
|
|
install -d $RPM_BUILD_ROOT/usr/sbin
|
2013-08-26 13:12:14 +02:00
|
|
|
pushd daemons/clvmd
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
popd
|
|
|
|
pushd daemons/cmirrord
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
popd
|
|
|
|
pushd man
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
popd
|
2012-10-23 19:40:13 +02:00
|
|
|
mv $RPM_BUILD_ROOT/sbin/clvmd $RPM_BUILD_ROOT/usr/sbin/clvmd
|
2013-08-26 13:12:14 +02:00
|
|
|
mv $RPM_BUILD_ROOT/sbin/cmirrord $RPM_BUILD_ROOT/usr/sbin/cmirrord
|
2012-10-18 10:15:42 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share
|
2013-08-26 13:12:14 +02:00
|
|
|
rm $RPM_BUILD_ROOT/etc/lvm/cache/.cache
|
|
|
|
|
|
|
|
#remove device-mapper man page
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/dm*
|
|
|
|
#remove device-mapper systemd events
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_unitdir}/dm-event.socket
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_unitdir}/dm-event.service
|
2012-10-23 19:40:13 +02:00
|
|
|
# install and collect_lvm
|
2013-08-26 13:12:14 +02:00
|
|
|
#install -m755 -D %{S:7} $RPM_BUILD_ROOT%{_udevdir}/collect_lvm
|
2006-12-18 14:01:39 +01:00
|
|
|
|
2014-01-09 17:38:13 +01:00
|
|
|
#csm-convert
|
|
|
|
pushd bnz
|
|
|
|
install -m755 -D csm-converter $RPM_BUILD_ROOT/usr/sbin/csm-converter
|
|
|
|
install -m755 -D csm-converter-helper $RPM_BUILD_ROOT/usr/sbin/csm-converter-helper
|
|
|
|
mv README.csm-converter ..
|
|
|
|
popd
|
|
|
|
|
2014-05-28 16:35:15 +02:00
|
|
|
%pre
|
2014-05-28 16:36:11 +02:00
|
|
|
%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
|
2014-05-28 16:35:15 +02:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
%post
|
2008-05-01 15:03:59 +02:00
|
|
|
/sbin/ldconfig
|
2014-04-23 14:24:53 +02:00
|
|
|
%{?regenerate_initrd_post}
|
2014-05-28 16:36:11 +02:00
|
|
|
%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
|
2008-05-01 15:03:59 +02:00
|
|
|
|
2014-04-23 14:24:53 +02:00
|
|
|
%posttrans
|
|
|
|
%{?regenerate_initrd_posttrans}
|
|
|
|
|
2008-05-01 15:03:59 +02:00
|
|
|
%preun
|
2013-08-26 13:12:14 +02:00
|
|
|
%service_del_preun blk-availability.service lvm2-monitor.service lvm2-lvmetad.service lvm2-lvmetad.socket
|
2006-12-18 14:01:39 +01:00
|
|
|
|
|
|
|
%postun
|
2008-05-01 15:03:59 +02:00
|
|
|
/sbin/ldconfig
|
2014-05-28 16:36:11 +02:00
|
|
|
%service_del_postun lvm2-lvmetad.service blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
|
2008-05-01 15:03:59 +02:00
|
|
|
|
2006-12-18 14:01:39 +01:00
|
|
|
%files
|
2007-02-11 18:51:08 +01:00
|
|
|
%defattr(-,root,root)
|
2012-10-23 19:40:13 +02:00
|
|
|
%doc README WHATS_NEW doc/*
|
2006-12-18 14:01:39 +01:00
|
|
|
%dir /etc/lvm
|
|
|
|
%dir /etc/lvm/backup
|
|
|
|
%dir /etc/lvm/archive
|
|
|
|
%dir /etc/lvm/metadata
|
2013-02-23 08:33:01 +01:00
|
|
|
%{_udevdir}/rules.d/11-dm-lvm.rules
|
2013-08-26 13:12:14 +02:00
|
|
|
%{_udevdir}/rules.d/69-dm-lvm-metad.rules
|
|
|
|
%{_unitdir}/blk-availability.service
|
|
|
|
%{_unitdir}/lvm2-monitor.service
|
|
|
|
%{_unitdir}/lvm2-lvmetad.socket
|
|
|
|
%{_unitdir}/lvm2-lvmetad.service
|
2013-09-11 11:38:23 +02:00
|
|
|
%{_tmpfilesdir}/lvm2.conf
|
2014-01-16 10:44:42 +01:00
|
|
|
%config /etc/lvm/lvm.conf
|
2013-08-26 13:12:14 +02:00
|
|
|
/usr/lib/systemd/system-generators/lvm2-activation-generator
|
2012-10-23 19:40:13 +02:00
|
|
|
/sbin/blkdeactivate
|
2008-02-01 22:54:25 +01:00
|
|
|
/sbin/fsadm
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/lvchange
|
|
|
|
/sbin/lvconvert
|
|
|
|
/sbin/lvcreate
|
|
|
|
/sbin/lvdisplay
|
|
|
|
/sbin/lvextend
|
|
|
|
/sbin/lvm
|
|
|
|
/sbin/lvmchange
|
|
|
|
/sbin/lvmdiskscan
|
|
|
|
/sbin/lvmdump
|
|
|
|
/sbin/lvmsadc
|
|
|
|
/sbin/lvmsar
|
|
|
|
/sbin/lvreduce
|
|
|
|
/sbin/lvremove
|
|
|
|
/sbin/lvrename
|
|
|
|
/sbin/lvresize
|
|
|
|
/sbin/lvs
|
|
|
|
/sbin/lvscan
|
|
|
|
/sbin/pvchange
|
2007-05-07 14:40:26 +02:00
|
|
|
/sbin/pvck
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/pvcreate
|
|
|
|
/sbin/pvdisplay
|
|
|
|
/sbin/pvmove
|
|
|
|
/sbin/pvremove
|
|
|
|
/sbin/pvresize
|
|
|
|
/sbin/pvs
|
|
|
|
/sbin/pvscan
|
|
|
|
/sbin/vgcfgbackup
|
|
|
|
/sbin/vgcfgrestore
|
|
|
|
/sbin/vgchange
|
|
|
|
/sbin/vgck
|
|
|
|
/sbin/vgconvert
|
|
|
|
/sbin/vgcreate
|
|
|
|
/sbin/vgdisplay
|
|
|
|
/sbin/vgexport
|
|
|
|
/sbin/vgextend
|
|
|
|
/sbin/vgimport
|
2012-10-18 10:15:42 +02:00
|
|
|
/sbin/vgimportclone
|
2006-12-18 14:01:39 +01:00
|
|
|
/sbin/vgmerge
|
|
|
|
/sbin/vgmknodes
|
|
|
|
/sbin/vgreduce
|
|
|
|
/sbin/vgremove
|
|
|
|
/sbin/vgrename
|
|
|
|
/sbin/vgs
|
|
|
|
/sbin/vgscan
|
|
|
|
/sbin/vgsplit
|
2012-10-18 10:15:42 +02:00
|
|
|
/sbin/lvmconf
|
2013-08-26 13:12:14 +02:00
|
|
|
/sbin/lvmetad
|
2012-10-18 10:15:42 +02:00
|
|
|
%dir /%_lib/device-mapper
|
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2mirror.so
|
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2snapshot.so
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2raid.so
|
2013-08-26 13:12:14 +02:00
|
|
|
/%_lib/device-mapper/libdevmapper-event-lvm2thin.so
|
2008-09-13 05:05:30 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2mirror.so
|
|
|
|
/%_lib/libdevmapper-event-lvm2snapshot.so
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2raid.so
|
2013-08-26 13:12:14 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2thin.so
|
2008-09-13 05:05:30 +02:00
|
|
|
/%_lib/liblvm2cmd.so
|
2013-08-26 13:12:14 +02:00
|
|
|
/%_lib/liblvm2cmd.so.2.02
|
|
|
|
/%_lib/liblvm2app.so
|
|
|
|
/%_lib/liblvm2app.so.2.2
|
2008-02-15 01:32:50 +01:00
|
|
|
/%_lib/libdevmapper-event-lvm2mirror.so.2.02
|
|
|
|
/%_lib/libdevmapper-event-lvm2snapshot.so.2.02
|
2012-10-23 19:40:13 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2raid.so.2.02
|
2013-08-26 13:12:14 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2thin.so.2.02
|
2012-10-18 10:15:42 +02:00
|
|
|
/%_lib/libdevmapper-event-lvm2.so
|
|
|
|
/%_lib/libdevmapper-event-lvm2.so.2.02
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man5/lvm.conf.5.gz
|
2012-10-23 19:40:13 +02:00
|
|
|
%{_mandir}/man8/blkdeactivate.8.gz
|
|
|
|
%{_mandir}/man8/fsadm.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/lvchange.8.gz
|
|
|
|
%{_mandir}/man8/lvcreate.8.gz
|
|
|
|
%{_mandir}/man8/lvconvert.8.gz
|
|
|
|
%{_mandir}/man8/lvdisplay.8.gz
|
|
|
|
%{_mandir}/man8/lvmdump.8.gz
|
|
|
|
%{_mandir}/man8/lvextend.8.gz
|
|
|
|
%{_mandir}/man8/lvm.8.gz
|
|
|
|
%{_mandir}/man8/lvmchange.8.gz
|
|
|
|
%{_mandir}/man8/lvmdiskscan.8.gz
|
|
|
|
%{_mandir}/man8/lvreduce.8.gz
|
|
|
|
%{_mandir}/man8/lvremove.8.gz
|
|
|
|
%{_mandir}/man8/lvrename.8.gz
|
|
|
|
%{_mandir}/man8/lvresize.8.gz
|
|
|
|
%{_mandir}/man8/lvs.8.gz
|
|
|
|
%{_mandir}/man8/lvscan.8.gz
|
|
|
|
%{_mandir}/man8/pvchange.8.gz
|
2007-05-07 14:40:26 +02:00
|
|
|
%{_mandir}/man8/pvck.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/pvcreate.8.gz
|
|
|
|
%{_mandir}/man8/pvdisplay.8.gz
|
|
|
|
%{_mandir}/man8/pvmove.8.gz
|
|
|
|
%{_mandir}/man8/pvremove.8.gz
|
|
|
|
%{_mandir}/man8/pvresize.8.gz
|
|
|
|
%{_mandir}/man8/pvs.8.gz
|
|
|
|
%{_mandir}/man8/pvscan.8.gz
|
|
|
|
%{_mandir}/man8/vgcfgbackup.8.gz
|
|
|
|
%{_mandir}/man8/vgcfgrestore.8.gz
|
|
|
|
%{_mandir}/man8/vgchange.8.gz
|
|
|
|
%{_mandir}/man8/vgck.8.gz
|
|
|
|
%{_mandir}/man8/vgconvert.8.gz
|
|
|
|
%{_mandir}/man8/vgcreate.8.gz
|
|
|
|
%{_mandir}/man8/vgdisplay.8.gz
|
|
|
|
%{_mandir}/man8/vgexport.8.gz
|
|
|
|
%{_mandir}/man8/vgextend.8.gz
|
|
|
|
%{_mandir}/man8/vgimport.8.gz
|
2012-10-18 10:15:42 +02:00
|
|
|
%{_mandir}/man8/vgimportclone.8.gz
|
2006-12-18 14:01:39 +01:00
|
|
|
%{_mandir}/man8/vgmerge.8.gz
|
|
|
|
%{_mandir}/man8/vgmknodes.8.gz
|
|
|
|
%{_mandir}/man8/vgreduce.8.gz
|
|
|
|
%{_mandir}/man8/vgremove.8.gz
|
|
|
|
%{_mandir}/man8/vgrename.8.gz
|
|
|
|
%{_mandir}/man8/vgs.8.gz
|
|
|
|
%{_mandir}/man8/vgscan.8.gz
|
|
|
|
%{_mandir}/man8/vgsplit.8.gz
|
2012-10-18 10:15:42 +02:00
|
|
|
%{_mandir}/man8/lvmconf.8.gz
|
|
|
|
%{_mandir}/man8/lvmsadc.8.gz
|
|
|
|
%{_mandir}/man8/lvmsar.8.gz
|
2013-08-26 13:12:14 +02:00
|
|
|
%{_mandir}/man8/lvmetad.8.gz
|
2012-10-23 19:40:13 +02:00
|
|
|
|
|
|
|
%package clvm
|
|
|
|
Url: http://sources.redhat.com/cluster/clvm/
|
|
|
|
Version: 2.02.98
|
|
|
|
Release: 0
|
2013-08-26 13:29:43 +02:00
|
|
|
Requires: corosync
|
2012-10-23 19:40:13 +02:00
|
|
|
Requires: device-mapper >= 1.02.25
|
|
|
|
Requires: lvm2 = %{version}
|
2013-08-26 13:29:43 +02:00
|
|
|
Requires: lvm2-cmirrord
|
2014-06-12 10:09:50 +02:00
|
|
|
Obsoletes: cmirrord < %{version}
|
|
|
|
Provides: cmirrord = %{version}
|
2012-10-23 19:40:13 +02:00
|
|
|
Summary: Clustered LVM2
|
2013-08-26 13:12:14 +02:00
|
|
|
Group: Productivity/Clustering/HA
|
2012-10-23 19:40:13 +02:00
|
|
|
|
|
|
|
%description clvm
|
|
|
|
A daemon for using LVM2 Logival Volumes in a clustered environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files clvm
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/clvmd
|
|
|
|
%dir /usr/lib/ocf
|
|
|
|
%dir /usr/lib/ocf/resource.d
|
|
|
|
%dir /usr/lib/ocf/resource.d/lvm2
|
|
|
|
/usr/lib/ocf/resource.d/lvm2/clvmd
|
|
|
|
%{_mandir}/man8/clvmd.8.gz
|
2014-01-09 17:38:13 +01:00
|
|
|
%doc README.csm-converter
|
|
|
|
/usr/sbin/csm-converter
|
|
|
|
/usr/sbin/csm-converter-helper
|
2012-10-23 19:40:13 +02:00
|
|
|
|
2013-08-26 13:12:14 +02:00
|
|
|
%package cmirrord
|
|
|
|
Url: http://www.sourceware.org/lvm2/
|
|
|
|
Version: 2.02.98
|
|
|
|
Release: 0
|
2013-08-26 13:29:43 +02:00
|
|
|
Requires: corosync
|
2013-08-26 13:12:14 +02:00
|
|
|
Requires: device-mapper >= 1.02.25
|
|
|
|
Requires: lvm2 = %{version}
|
2013-08-26 13:29:43 +02:00
|
|
|
Requires: lvm2-clvm
|
2013-08-26 13:12:14 +02:00
|
|
|
Summary: Clustered RAID 1 support using device-mapper and corosync
|
|
|
|
Group: Productivity/Clustering/HA
|
|
|
|
|
|
|
|
%description cmirrord
|
|
|
|
A daemon for using LVM2 Logival Volumes in a clustered environment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files cmirrord
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/sbin/cmirrord
|
|
|
|
/usr/lib/ocf/resource.d/lvm2/cmirrord
|
|
|
|
%{_mandir}/man8/cmirrord.8.gz
|
|
|
|
|
2014-01-23 11:23:46 +01:00
|
|
|
%package devel
|
|
|
|
Version: 2.02.98
|
|
|
|
Release: 0
|
|
|
|
Requires: lvm2 = %{version}
|
|
|
|
Summary: Development files for LVM2
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides development files for the LVM2 Logical Volume Manager.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/lvm2cmd.h
|
|
|
|
/usr/include/lvm2app.h
|
|
|
|
%_libdir/pkgconfig/lvm2app.pc
|
|
|
|
|
2007-02-25 23:31:28 +01:00
|
|
|
%changelog
|