This commit is contained in:
parent
28ca84ed62
commit
abd216af27
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d521d2bb70718403ca1b9876142bf9617470a82cd00f5407efe455ad07321be4
|
||||
size 407867
|
3
LVM2.2.02.28.tar.bz2
Normal file
3
LVM2.2.02.28.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b423e9b06d4ecd8b1a46a1028a805509fdca7bb26ca625bcdae04da0f5db3920
|
||||
size 421909
|
26
lvm2.changes
26
lvm2.changes
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 14:49:39 CET 2007 - fehr@suse.de
|
||||
|
||||
- adapt man page for pvdisplay to program (#342862)
|
||||
- fix spec file to detect path to modprobe binary (#331968)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 22 12:44:16 CET 2007 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.28
|
||||
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
|
||||
Add support for renaming mirrored LVs.
|
||||
Add --mirrorlog argument to specify log type for mirrors.
|
||||
Fix lvdisplay man page to say LV size is reported in sectors, not KB.
|
||||
Fix snapshot cow area deactivation if origin is not active.
|
||||
Add vg_mda_count and pv_mda_count columns to reports.
|
||||
Handle vgsplit of an entire VG as a vgrename.
|
||||
Print warnings to stderr instead of stdout.
|
||||
Update vgcfgrestore man page.
|
||||
Allow keyboard interrupt during user prompts when appropriate.
|
||||
Add -f to vgcfgrestore to list metadata backup files.
|
||||
Add pvdisplay --maps implementation.
|
||||
Remove unsupported LVM1 options from vgcfgrestore man page.
|
||||
Update vgcfgrestore man page to show mandatory VG name.
|
||||
Update vgrename man page to include UUID and be consistent with lvrename.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 7 14:02:16 CEST 2007 - fehr@suse.de
|
||||
|
||||
|
36
lvm2.spec
36
lvm2.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package lvm2 (Version 2.02.25)
|
||||
# spec file for package lvm2 (Version 2.02.28)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -10,17 +10,17 @@
|
||||
|
||||
|
||||
Name: lvm2
|
||||
BuildRequires: device-mapper-devel
|
||||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
BuildRequires: device-mapper-devel module-init-tools
|
||||
License: GPL v2 or later; LGPL v2.1 or later
|
||||
Group: System/Base
|
||||
Requires: device-mapper
|
||||
Requires: device-mapper >= 1.02.22
|
||||
Provides: lvm
|
||||
Obsoletes: lvm
|
||||
%if %suse_version > 800
|
||||
PreReq: %fillup_prereq %insserv_prereq
|
||||
%endif
|
||||
Autoreqprov: on
|
||||
Version: 2.02.25
|
||||
AutoReqProv: on
|
||||
Version: 2.02.28
|
||||
Release: 1
|
||||
Summary: LVM2 Tools
|
||||
Source: LVM2.%{version}.tar.bz2
|
||||
@ -32,6 +32,7 @@ Patch2: no-inc-audit.diff
|
||||
Patch3: no_buildroot_shared.diff
|
||||
Patch4: sys_mount_instead_linux_fs.diff
|
||||
Patch5: pvscan_2TB_limit.diff
|
||||
Patch6: man_page_sectors.diff
|
||||
Patch10: lvm-no_chown.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -48,10 +49,11 @@ Volume Manager.
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch6
|
||||
%patch10
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
CFLAGS="$RPM_OPT_FLAGS" MODPROBE_CMD=/sbin/modprobe \
|
||||
./configure --prefix=/ \
|
||||
--mandir=%{_mandir} \
|
||||
--includedir=/usr/include \
|
||||
@ -180,6 +182,26 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man8/vgsplit.8.gz
|
||||
|
||||
%changelog
|
||||
* Thu Nov 22 2007 - fehr@suse.de
|
||||
- adapt man page for pvdisplay to program (#342862)
|
||||
- fix spec file to detect path to modprobe binary (#331968)
|
||||
* Thu Nov 22 2007 - fehr@suse.de
|
||||
- update to new version 2.02.28
|
||||
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
|
||||
Add support for renaming mirrored LVs.
|
||||
Add --mirrorlog argument to specify log type for mirrors.
|
||||
Fix lvdisplay man page to say LV size is reported in sectors, not KB.
|
||||
Fix snapshot cow area deactivation if origin is not active.
|
||||
Add vg_mda_count and pv_mda_count columns to reports.
|
||||
Handle vgsplit of an entire VG as a vgrename.
|
||||
Print warnings to stderr instead of stdout.
|
||||
Update vgcfgrestore man page.
|
||||
Allow keyboard interrupt during user prompts when appropriate.
|
||||
Add -f to vgcfgrestore to list metadata backup files.
|
||||
Add pvdisplay --maps implementation.
|
||||
Remove unsupported LVM1 options from vgcfgrestore man page.
|
||||
Update vgcfgrestore man page to show mandatory VG name.
|
||||
Update vgrename man page to include UUID and be consistent with lvrename.
|
||||
* Mon May 07 2007 - fehr@suse.de
|
||||
- update to new version 2.02.25
|
||||
Add devices/preferred_names config regex list for displayed device names
|
||||
|
11
man_page_sectors.diff
Normal file
11
man_page_sectors.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- man/pvdisplay.8
|
||||
+++ man/pvdisplay.8 2007/11/22 13:43:49
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
* physical volume device name
|
||||
* volume group name
|
||||
-* physical volume size in kilobytes
|
||||
+* physical volume size in sectors
|
||||
* internal physical volume number (obsolete)
|
||||
* physical volume status
|
||||
* physical volume (not) allocatable
|
@ -1,11 +1,11 @@
|
||||
--- tools/pvscan.c
|
||||
+++ tools/pvscan.c 2005/09/26 11:32:23
|
||||
@@ -158,7 +158,7 @@
|
||||
size_new += pv->size;
|
||||
size_total += pv->size;
|
||||
+++ tools/pvscan.c 2007/11/22 12:24:51
|
||||
@@ -166,7 +166,7 @@
|
||||
size_new += pv_size(pv);
|
||||
size_total += pv_size(pv);
|
||||
} else
|
||||
- size_total += pv->pe_count * pv->pe_size;
|
||||
+ size_total += (uint64_t)pv->pe_count * pv->pe_size;
|
||||
- size_total += pv_pe_count(pv) * pv_pe_size(pv);
|
||||
+ size_total += (uint64_t)pv_pe_count(pv) * pv_pe_size(pv);
|
||||
}
|
||||
|
||||
/* find maximum pv name length */
|
||||
|
Loading…
x
Reference in New Issue
Block a user