This commit is contained in:
commit
ef38e092b1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
LVM2.2.02.17.tar.bz2
Normal file
3
LVM2.2.02.17.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1e9e3a51a49b76aece64da4770dc2b1bc1a9b7a70ae9bcf0836c0f6cc5a6b8db
|
||||
size 402504
|
74
boot.lvm
Normal file
74
boot.lvm
Normal file
@ -0,0 +1,74 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright (c) 2001 SuSE GmbH Nuernberg, Germany. All rights reserved.
|
||||
#
|
||||
# /etc/init.d/boot.lvm
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: boot.lvm
|
||||
# Required-Start: boot.device-mapper boot.udev boot.rootfsck
|
||||
# X-UnitedLinux-Should-Start: boot.multipath boot.md boot.scsidev
|
||||
# Required-Stop:
|
||||
# Default-Start: B
|
||||
# Default-Stop:
|
||||
# Description: start logical volumes
|
||||
### END INIT INFO
|
||||
|
||||
. /etc/rc.status
|
||||
. /etc/sysconfig/lvm
|
||||
|
||||
# udev interaction
|
||||
if [ -x /sbin/udevsettle ] ; then
|
||||
[ -z "$LVM_DEVICE_TIMEOUT" ] && LVM_DEVICE_TIMEOUT=60
|
||||
else
|
||||
LVM_DEVICE_TIMEOUT=0
|
||||
fi
|
||||
|
||||
rc_reset
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
#
|
||||
# Find and activate volume groups (HM 1/1/1999)
|
||||
#
|
||||
if test -d /etc/lvm -a -x /sbin/vgscan -a -x /sbin/vgchange ; then
|
||||
# Waiting for udev to settle
|
||||
if [ "$LVM_DEVICE_TIMEOUT" -gt 0 ] ; then
|
||||
echo "Waiting for udev to settle..."
|
||||
/sbin/udevsettle --timeout=$LVM_DEVICE_TIMEOUT
|
||||
fi
|
||||
echo "Scanning for LVM volume groups..."
|
||||
/sbin/vgscan --mknodes
|
||||
echo "Activating LVM volume groups..."
|
||||
/sbin/vgchange -a y $LVM_VGS_ACTIVATED_ON_BOOT
|
||||
|
||||
# currently unavailable with lvm2
|
||||
#if test -s /etc/pvpath.cfg -a -x /sbin/pvpathrestore; then
|
||||
# /sbin/pvpathrestore
|
||||
#fi
|
||||
rc_status -v -r
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
if test -d /etc/lvmtab.d -a -x /sbin/vgchange ; then
|
||||
/sbin/vgchange -a n
|
||||
|
||||
# currently unavailable with lvm2
|
||||
#if test -s /etc/pvpath.cfg -a -x /sbin/pvpathsave; then
|
||||
# /sbin/pvpathsave
|
||||
#fi
|
||||
|
||||
fi
|
||||
rc_status -v
|
||||
;;
|
||||
status)
|
||||
rc_failed 4
|
||||
rc_status -v
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
rc_exit
|
20
fix_striped_old_format.diff
Normal file
20
fix_striped_old_format.diff
Normal file
@ -0,0 +1,20 @@
|
||||
--- lib/format1/import-extents.c
|
||||
+++ lib/format1/import-extents.c 2005/11/07 18:25:05
|
||||
@@ -289,7 +289,7 @@
|
||||
* and so can form part of this segment
|
||||
*/
|
||||
while (_check_stripe(lvm, lvm->stripes,
|
||||
- area_len * lvm->stripes, le, len))
|
||||
+ area_len, le, len))
|
||||
area_len++;
|
||||
|
||||
if (!(seg = alloc_lv_segment(cmd->mem, segtype, lvm->lv,
|
||||
@@ -315,7 +315,7 @@
|
||||
|
||||
list_add(&lvm->lv->segments, &seg->list);
|
||||
|
||||
- le += seg->len;
|
||||
+ le += seg->len/lvm->stripes;
|
||||
}
|
||||
|
||||
return 1;
|
36
improve_probing.diff
Normal file
36
improve_probing.diff
Normal file
@ -0,0 +1,36 @@
|
||||
--- lib/filters/filter.c.orig
|
||||
+++ lib/filters/filter.c
|
||||
@@ -13,6 +13,12 @@
|
||||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#include <sys/ioctl.h>
|
||||
+#include <linux/fs.h>
|
||||
+#undef MAJOR
|
||||
+#undef MINOR
|
||||
+#undef MKDEV
|
||||
+
|
||||
#include "lib.h"
|
||||
#include "dev-cache.h"
|
||||
#include "filter.h"
|
||||
@@ -87,11 +93,18 @@
|
||||
}
|
||||
|
||||
/* Check it's accessible */
|
||||
- if (!dev_open_flags(dev, O_RDONLY, 0, 1)) {
|
||||
+ if (!dev_open_flags(dev, O_RDONLY|O_NONBLOCK, 0, 1)) {
|
||||
log_debug("%s: Skipping: open failed", name);
|
||||
return 0;
|
||||
}
|
||||
-
|
||||
+
|
||||
+ /* Skip cdrom device */
|
||||
+ #define CDROM_GET_CAPABILITY 0x5331
|
||||
+ if (ioctl(dev->fd, CDROM_GET_CAPABILITY) >= 0) {
|
||||
+ log_debug("%s: Skipping: cdrom device", name );
|
||||
+ goto out;
|
||||
+ }
|
||||
+
|
||||
/* Check it's not too small */
|
||||
if (!dev_get_size(dev, &size)) {
|
||||
log_debug("%s: Skipping: dev_get_size failed", name);
|
283
lvm.conf
Normal file
283
lvm.conf
Normal file
@ -0,0 +1,283 @@
|
||||
# This is an example configuration file for the LVM2 system.
|
||||
# It contains the default settings that would be used if there was no
|
||||
# /etc/lvm/lvm.conf file.
|
||||
#
|
||||
# Refer to 'man lvm.conf' for further information including the file layout.
|
||||
#
|
||||
# To put this file in a different directory and override /etc/lvm set
|
||||
# the environment variable LVM_SYSTEM_DIR before running the tools.
|
||||
|
||||
|
||||
# This section allows you to configure which block devices should
|
||||
# be used by the LVM system.
|
||||
devices {
|
||||
|
||||
# Where do you want your volume groups to appear ?
|
||||
dir = "/dev"
|
||||
|
||||
# An array of directories that contain the device nodes you wish
|
||||
# to use with LVM2.
|
||||
scan = [ "/dev" ]
|
||||
|
||||
# A filter that tells LVM2 to only use a restricted set of devices.
|
||||
# The filter consists of an array of regular expressions. These
|
||||
# expressions can be delimited by a character of your choice, and
|
||||
# prefixed with either an 'a' (for accept) or 'r' (for reject).
|
||||
# The first expression found to match a device name determines if
|
||||
# the device will be accepted or rejected (ignored). Devices that
|
||||
# don't match any patterns are accepted.
|
||||
|
||||
# Remember to run vgscan after you change this parameter to ensure
|
||||
# that the cache file gets regenerated (see below).
|
||||
|
||||
# By default we accept every block device except udev names:
|
||||
filter = [ "r|/dev/.*/by-path/.*|", "r|/dev/.*/by-id/.*|", "a/.*/" ]
|
||||
|
||||
# Exclude the cdrom drive
|
||||
# filter = [ "r|/dev/cdrom|" ]
|
||||
|
||||
# When testing I like to work with just loopback devices:
|
||||
# filter = [ "a/loop/", "r/.*/" ]
|
||||
|
||||
# Or maybe all loops and ide drives except hdc:
|
||||
# filter =[ "a|loop|", "r|/dev/hdc|", "a|/dev/ide|", "r|.*|" ]
|
||||
|
||||
# Use anchors if you want to be really specific
|
||||
# filter = [ "a|^/dev/hda8$|", "r/.*/" ]
|
||||
|
||||
# The results of the filtering are cached on disk to avoid
|
||||
# rescanning dud devices (which can take a very long time). By
|
||||
# default this cache file is hidden in the /etc/lvm directory.
|
||||
# It is safe to delete this file: the tools regenerate it.
|
||||
cache = "/etc/lvm/.cache"
|
||||
|
||||
# You can turn off writing this cache file by setting this to 0.
|
||||
write_cache_state = 1
|
||||
|
||||
# Advanced settings.
|
||||
|
||||
# List of pairs of additional acceptable block device types found
|
||||
# in /proc/devices with maximum (non-zero) number of partitions.
|
||||
# types = [ "fd", 16 ]
|
||||
|
||||
# If sysfs is mounted (2.6 kernels) restrict device scanning to
|
||||
# the block devices it believes are valid.
|
||||
# 1 enables; 0 disables.
|
||||
sysfs_scan = 1
|
||||
|
||||
# By default, LVM2 will ignore devices used as components of
|
||||
# software RAID (md) devices by looking for md superblocks.
|
||||
# 1 enables; 0 disables.
|
||||
md_component_detection = 1
|
||||
}
|
||||
|
||||
# This section that allows you to configure the nature of the
|
||||
# information that LVM2 reports.
|
||||
log {
|
||||
|
||||
# Controls the messages sent to stdout or stderr.
|
||||
# There are three levels of verbosity, 3 being the most verbose.
|
||||
verbose = 0
|
||||
|
||||
# Should we send log messages through syslog?
|
||||
# 1 is yes; 0 is no.
|
||||
syslog = 1
|
||||
|
||||
# Should we log error and debug messages to a file?
|
||||
# By default there is no log file.
|
||||
#file = "/var/log/lvm2.log"
|
||||
|
||||
# Should we overwrite the log file each time the program is run?
|
||||
# By default we append.
|
||||
overwrite = 0
|
||||
|
||||
# What level of log messages should we send to the log file and/or syslog?
|
||||
# There are 6 syslog-like log levels currently in use - 2 to 7 inclusive.
|
||||
# 7 is the most verbose (LOG_DEBUG).
|
||||
level = 0
|
||||
|
||||
# Format of output messages
|
||||
# Whether or not (1 or 0) to indent messages according to their severity
|
||||
indent = 1
|
||||
|
||||
# Whether or not (1 or 0) to display the command name on each line output
|
||||
command_names = 0
|
||||
|
||||
# A prefix to use before the message text (but after the command name,
|
||||
# if selected). Default is two spaces, so you can see/grep the severity
|
||||
# of each message.
|
||||
prefix = " "
|
||||
|
||||
# To make the messages look similar to the original LVM tools use:
|
||||
# indent = 0
|
||||
# command_names = 1
|
||||
# prefix = " -- "
|
||||
|
||||
# Set this if you want log messages during activation.
|
||||
# Don't use this in low memory situations (can deadlock).
|
||||
# activation = 0
|
||||
}
|
||||
|
||||
# Configuration of metadata backups and archiving. In LVM2 when we
|
||||
# talk about a 'backup' we mean making a copy of the metadata for the
|
||||
# *current* system. The 'archive' contains old metadata configurations.
|
||||
# Backups are stored in a human readeable text format.
|
||||
backup {
|
||||
|
||||
# Should we maintain a backup of the current metadata configuration ?
|
||||
# Use 1 for Yes; 0 for No.
|
||||
# Think very hard before turning this off!
|
||||
backup = 1
|
||||
|
||||
# Where shall we keep it ?
|
||||
# Remember to back up this directory regularly!
|
||||
backup_dir = "/etc/lvm/backup"
|
||||
|
||||
# Should we maintain an archive of old metadata configurations.
|
||||
# Use 1 for Yes; 0 for No.
|
||||
# On by default. Think very hard before turning this off.
|
||||
archive = 1
|
||||
|
||||
# Where should archived files go ?
|
||||
# Remember to back up this directory regularly!
|
||||
archive_dir = "/etc/lvm/archive"
|
||||
|
||||
# What is the minimum number of archive files you wish to keep ?
|
||||
retain_min = 10
|
||||
|
||||
# What is the minimum time you wish to keep an archive file for ?
|
||||
retain_days = 30
|
||||
}
|
||||
|
||||
# Settings for the running LVM2 in shell (readline) mode.
|
||||
shell {
|
||||
|
||||
# Number of lines of history to store in ~/.lvm_history
|
||||
history_size = 100
|
||||
}
|
||||
|
||||
|
||||
# Miscellaneous global LVM2 settings
|
||||
global {
|
||||
|
||||
# The file creation mask for any files and directories created.
|
||||
# Interpreted as octal if the first digit is zero.
|
||||
umask = 077
|
||||
|
||||
# Allow other users to read the files
|
||||
#umask = 022
|
||||
|
||||
# Enabling test mode means that no changes to the on disk metadata
|
||||
# will be made. Equivalent to having the -t option on every
|
||||
# command. Defaults to off.
|
||||
test = 0
|
||||
|
||||
# Whether or not to communicate with the kernel device-mapper.
|
||||
# Set to 0 if you want to use the tools to manipulate LVM metadata
|
||||
# without activating any logical volumes.
|
||||
# If the device-mapper kernel driver is not present in your kernel
|
||||
# setting this to 0 should suppress the error messages.
|
||||
activation = 1
|
||||
|
||||
# If we can't communicate with device-mapper, should we try running
|
||||
# the LVM1 tools?
|
||||
# This option only applies to 2.4 kernels and is provided to help you
|
||||
# switch between device-mapper kernels and LVM1 kernels.
|
||||
# The LVM1 tools need to be installed with .lvm1 suffices
|
||||
# e.g. vgscan.lvm1 and they will stop working after you start using
|
||||
# the new lvm2 on-disk metadata format.
|
||||
# The default value is set when the tools are built.
|
||||
# fallback_to_lvm1 = 0
|
||||
|
||||
# The default metadata format that commands should use - "lvm1" or "lvm2".
|
||||
# The command line override is -M1 or -M2.
|
||||
# Defaults to "lvm1" if compiled in, else "lvm2".
|
||||
# format = "lvm1"
|
||||
|
||||
# Location of proc filesystem
|
||||
proc = "/proc"
|
||||
|
||||
# Type of locking to use. Defaults to file-based locking (1).
|
||||
# Turn locking off by setting to 0 (dangerous: risks metadata corruption
|
||||
# if LVM2 commands get run concurrently).
|
||||
locking_type = 1
|
||||
|
||||
# Local non-LV directory that holds file-based locks while commands are
|
||||
# in progress. A directory like /tmp that may get wiped on reboot is OK.
|
||||
locking_dir = "/var/lock/lvm"
|
||||
|
||||
# Other entries can go here to allow you to load shared libraries
|
||||
# e.g. if support for LVM1 metadata was compiled as a shared library use
|
||||
# format_libraries = "liblvm2format1.so"
|
||||
# Full pathnames can be given.
|
||||
|
||||
# Search this directory first for shared libraries.
|
||||
# library_dir = "/lib"
|
||||
}
|
||||
|
||||
activation {
|
||||
# Device used in place of missing stripes if activating incomplete volume.
|
||||
# For now, you need to set this up yourself first (e.g. with 'dmsetup')
|
||||
# For example, you could make it return I/O errors using the 'error'
|
||||
# target or make it return zeros.
|
||||
missing_stripe_filler = "/dev/ioerror"
|
||||
|
||||
# Size (in KB) of each copy operation when mirroring
|
||||
mirror_region_size = 512
|
||||
|
||||
# How much stack (in KB) to reserve for use while devices suspended
|
||||
reserved_stack = 256
|
||||
|
||||
# How much memory (in KB) to reserve for use while devices suspended
|
||||
reserved_memory = 8192
|
||||
|
||||
# Nice value used while devices suspended
|
||||
process_priority = -18
|
||||
|
||||
# If volume_list is defined, each LV is only activated if there is a
|
||||
# match against the list.
|
||||
# "vgname" and "vgname/lvname" are matched exactly.
|
||||
# "@tag" matches any tag set in the LV or VG.
|
||||
# "@*" matches if any tag defined on the host is also set in the LV or VG
|
||||
#
|
||||
# volume_list = [ "vg1", "vg2/lvol1", "@tag1", "@*" ]
|
||||
}
|
||||
|
||||
|
||||
####################
|
||||
# Advanced section #
|
||||
####################
|
||||
|
||||
# Metadata settings
|
||||
#
|
||||
# metadata {
|
||||
# Default number of copies of metadata to hold on each PV. 0, 1 or 2.
|
||||
# It's best to leave this at 2.
|
||||
# You might want to override it from the command line with 0 or 1
|
||||
# when running pvcreate on new PVs which are to be added to large VGs.
|
||||
|
||||
# pvmetadatacopies = 2
|
||||
|
||||
# Approximate default size of on-disk metadata areas in sectors.
|
||||
# You should increase this if you have large volume groups or
|
||||
# you want to retain a large on-disk history of your metadata changes.
|
||||
|
||||
# pvmetadatasize = 255
|
||||
|
||||
# List of directories holding live copies of text format metadata.
|
||||
# These directories must not be on logical volumes!
|
||||
# It's possible to use LVM2 with a couple of directories here,
|
||||
# preferably on different (non-LV) filesystems, and with no other
|
||||
# on-disk metadata (pvmetadatacopies = 0). Or this can be in
|
||||
# addition to on-disk metadata areas.
|
||||
# The feature was originally added to simplify testing and is not
|
||||
# supported under low memory situations - the machine could lock up.
|
||||
#
|
||||
# Never edit any files in these directories by hand unless you
|
||||
# you are absolutely sure you know what you are doing! Use
|
||||
# the supplied toolset to make changes (e.g. vgcfgrestore).
|
||||
|
||||
# dirs = [ "/etc/lvm/metadata", "/mnt/disk2/lvm/metadata2" ]
|
||||
#}
|
||||
|
||||
|
520
lvm2.changes
Normal file
520
lvm2.changes
Normal file
@ -0,0 +1,520 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 18 10:39:49 CET 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.17
|
||||
Add missing pvremove error message when device doesn't exist.
|
||||
When lvconvert allocates a mirror log, respect parallel area constraints.
|
||||
Use loop to iterate through the now-ordered policy list in _allocate().
|
||||
Check for failure to allocate just the mirror log.
|
||||
Introduce calc_area_multiple().
|
||||
Support mirror log allocation when there is only one PV: area_count now 0.
|
||||
Fix detection of smallest area in _alloc_parallel_area() for cling policy.
|
||||
Add manpage entry for clvmd -T
|
||||
Fix gulm operation of clvmd, including a hang when doing lvchange -aey
|
||||
Fix hang in clvmd if a pre-command failed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 10:07:57 CET 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.16
|
||||
Fix VG clustered read locks to use PR not CR.
|
||||
Adjust some alignments for ia64/sparc.
|
||||
Fix mirror segment removal to use temporary error segment.
|
||||
Add -T (startup timeout) switch to clvmd.
|
||||
Install lvmdump by default.
|
||||
Fix check for snapshot module when activating snapshot.
|
||||
Fix pvremove error path for case when PV is in use.
|
||||
Warn if certain duplicate config file entries are seen.
|
||||
Fix --autobackup argument which could never disable backups.
|
||||
Fix a label_verify error path.
|
||||
Fix adjusted_mirror_region_size() to handle 64-bit size.
|
||||
Add some missing bounds checks on 32-bit extent counters.
|
||||
Add Petabyte and Exabyte support.
|
||||
Fix lvcreate error message when 0 extents requested.
|
||||
lvremove man page: volumes must be cluster inactive before being removed.
|
||||
Protect .cache manipulations with fcntl locking.
|
||||
Change .cache timestamp comparisons to use ctime.
|
||||
Fix mirror log LV writing to set all bits in whole LV.
|
||||
Fix high-level free space check for partial allocations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 12:19:07 CET 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.13 to finally fix bug #178321
|
||||
Add couple of missing files to tools/Makefile CLEAN_TARGETS.
|
||||
When adding snapshot leave cow LV mapped device active after zeroing.
|
||||
Fix a clvmd debug message.
|
||||
Add dev_flush() to set_lv().
|
||||
Add lvchange --resync.
|
||||
Perform high-level free space check before each allocation attempt.
|
||||
Don't allow a node to remove an LV that's exclusively active on anther node.
|
||||
Cope if same PV is included more than once in cmdline PE range list.
|
||||
Set PV size to current device size if it is found to be zero.
|
||||
Add segment parameter to target_present functions.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 17 10:55:33 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.12
|
||||
Fix pvdisplay to use vg_read() for non-orphans.
|
||||
Fall back to internal locking if external locking lib is missing or fails.
|
||||
Retain activation state after changing LV minor number with --force.
|
||||
Propagate clustered flag in vgsplit and require resizeable flag.
|
||||
Add clvmd function to return the cluster name. not used by LVM yet.
|
||||
Add cling allocation policy.
|
||||
Change _check_contiguous() to use _for_each_pv().
|
||||
Extend _for_each_pv() to allow termination without error.
|
||||
Abstract _is_contiguous().
|
||||
Remove duplicated pv arg from _check_contiguous().
|
||||
Accept regionsize with lvconvert.
|
||||
Add report columns with underscore before field names ending 'size'.
|
||||
Correct regionsize default on lvcreate man page (MB).
|
||||
Fix clvmd bug that could cause it to die when a node with a long name crashed
|
||||
Add device size to text metadata.
|
||||
Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
|
||||
Fix _for_each_pv() for mirror with core log.
|
||||
Add lvm_dump.sh script to create a tarball of debugging info from a system.
|
||||
Capture error messages in clvmd and pass them back to the user.
|
||||
Remove unused #defines from filter-md.c.
|
||||
Make clvmd restart init script wait until clvmd has died before starting it.
|
||||
Add -R to clvmd which tells running clvmds to reload their device cache.
|
||||
Add LV column to reports listing kernel modules needed for activation.
|
||||
Show available fields if report given invalid field. (e.g. lvs -o list)
|
||||
Add timestamp functions with --disable-realtime configure option.
|
||||
Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
|
||||
Fix two potential NULL pointer derefs in error cases in vg_read().
|
||||
Separate --enable-cluster from locking lib options in lvmconf.sh.
|
||||
Add a missing comma in lvcreate man page.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 13:26:58 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.10
|
||||
Fix lvconvert mirror change case detection logic.
|
||||
Fix mirror log detachment so it correctly becomes a standalone LV.
|
||||
Extend _check_contiguous() to detect single-area LVs.
|
||||
Include mirror log (untested) in _for_each_pv() processing.
|
||||
Use MIRROR_LOG_SIZE constant.
|
||||
Remove struct seg_pvs from _for_each_pv() to generalise.
|
||||
Avoid adding duplicates to list of parallel PVs to avoid.
|
||||
Fix several incorrect comparisons in parallel area avoidance code.
|
||||
Fix segment lengths when flattening existing parallel areas.
|
||||
Log existing parallel areas prior to allocation.
|
||||
Fix mirror log creation when activation disabled.
|
||||
Don't attempt automatic recovery without proper locking.
|
||||
When using local file locking, skip clustered VGs.
|
||||
Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
|
||||
lvm.static uses built-in cluster locking instead of external locking.
|
||||
Don't attempt to load shared libraries if built statically.
|
||||
Change default locking_lib to liblvm2clusterlock.so.
|
||||
Add skip_dev_dir() to process command line VGs.
|
||||
Stop clvmd complaining about nodes that have left the cluster.
|
||||
Move lvm_snprintf(), split_words() and split_dm_name() into libdevmapper.
|
||||
Add lvconvert man page.
|
||||
Add mirror options to man pages.
|
||||
Prevent mirror renames.
|
||||
Move CMDLIB code into separate file and record whether static build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 13 13:00:55 CEST 2006 - fehr@suse.de
|
||||
|
||||
- change BuildRequires to device-mapper-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 21 12:26:17 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.09
|
||||
Fix PE_ALIGN for pagesize over 32KB.
|
||||
Separate out LVM1_PE_ALIGN and pe_align().
|
||||
Add lvm_getpagesize wrapper.
|
||||
Add --maxphysicalvolumes to vgchange.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 11:16:13 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.08
|
||||
Add checks for duplicate LV name, lvid and PV id before writing metadata.
|
||||
Report all sanity check failures, not just the first.
|
||||
Fix missing lockfs on first snapshot creation. (#197850)
|
||||
Add unreliable --trustcache option to reporting commands.
|
||||
Fix locking for mimage removal.
|
||||
Fix clvmd_init_rhel4 'status' exit code.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 28 13:05:38 CEST 2006 - olh@suse.de
|
||||
|
||||
- remove dropped boot.ibmsis from boot.lvm
|
||||
- boot.rootfsck should start before boot.lvm (#181972)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 16:34:45 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.06
|
||||
Fix activation logic in lvchange --persistent.
|
||||
Don't ignore persistent minor numbers when activating.
|
||||
Fix vgreduce --removemissing to return success if VG is already consistent.
|
||||
Fix return code if VG specified on command line is not found.
|
||||
Fix PV tools to include orphaned PVs in default output again.
|
||||
Prevent snapshots of mirrors.
|
||||
Fix lvcreate corelog validation.
|
||||
Add --config for overriding most config file settings from cmdline.
|
||||
Quote arguments when printing command line.
|
||||
Remove linefeed from 'initialising logging' message.
|
||||
Add 'Completed' debug message.
|
||||
Don't attempt library exit after reloading config files.
|
||||
Always compile with libdevmapper, even if device-mapper is disabled.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 17:13:21 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.06
|
||||
Propagate --monitor around cluster.
|
||||
Add --monitor to vgcreate and lvcreate to control dmeventd registration.
|
||||
Filter LCK_NONBLOCK in clvmd lock_vg.
|
||||
Add --nosync to lvcreate with LV flag NOTSYNCED.
|
||||
Use mirror's uuid for a core log.
|
||||
Add mirror log fault-handling policy.
|
||||
Improve mirror warning messages and tidy dmeventd syslog output.
|
||||
Propagate nosync flag around cluster.
|
||||
Allow vgreduce to handle mirror log failures.
|
||||
Add --corelog to lvcreate and lvconvert.
|
||||
Create a log header for replacement in-sync mirror log.
|
||||
Use set_lv() and dev_set() to wipe sections of devices.
|
||||
Add mirror_library description to example.conf.
|
||||
Fix uuid_from_num() buffer overrun.
|
||||
Increase maximum stripe size limit to physical extent size for lvm2 metadata.
|
||||
Fix activation code to check for pre-existing mirror logs.
|
||||
Ignore empty strings in config files.
|
||||
Require non-zero regionsize and document parameter on lvcreate man page.
|
||||
Invalidate cache if composition of VG changed externally.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 26 10:01:52 CEST 2006 - hare@suse.de
|
||||
|
||||
- add LVM_DEVICE_TIMEOUT sysconfig variable to make sure
|
||||
udev has finished processing (#149979)
|
||||
- Fix init script dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 18:32:56 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.05
|
||||
Fix vgid string termination in recent cache code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 17:11:07 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.04
|
||||
Check for libsepol.
|
||||
Add some cflow & scope support.
|
||||
Separate out DEFS from CFLAGS.
|
||||
Remove inlines and use unique function names.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 19 09:48:51 CEST 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.03
|
||||
vgrename accepts vgid and exported VG.
|
||||
Add --partial to pvs.
|
||||
When choosing between identically-named VGs, also consider creation_host.
|
||||
Provide total log suppression with 2.
|
||||
Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
|
||||
Add vgid to struct physical_volume and pass with vg_name to some functions.
|
||||
If two or more VGs are found with the same name, use one that is not exported.
|
||||
Whenever vgname is captured, also capture vgid and whether exported.
|
||||
Remove an incorrect unlock_vg() from process_each_lv().
|
||||
Update extent size information in vgchange and vgcreate man pages.
|
||||
Introduce origin_from_cow() and lv_is_visible().
|
||||
pvremove without -f now fails if there's no PV label.
|
||||
Support lvconvert -s.
|
||||
Suppress locking library load failure message if --ignorelockingfailure.
|
||||
Propagate partial mode around cluster.
|
||||
Fix archive file expiration.
|
||||
Fix dmeventd build.
|
||||
clvmd now uses libcman rather than cman ioctls.
|
||||
clvmd will allow new cman to shutdown on request.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 15:57:04 CEST 2006 - fehr@suse.de
|
||||
|
||||
- add option --mknodes to vgscan call in /etc/init.d/boot.lvm to
|
||||
avoid potential inconsistencies in minor number of dm devices after
|
||||
reboot when root fs is LVM LV (#139740)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 14 11:25:42 CET 2006 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.02
|
||||
Add %.so: %.a make template rule.
|
||||
Switchover library building to use LIB_SUFFIX.
|
||||
Only do lockfs filesystem sync when suspending snapshots.
|
||||
Always print warning if activation is disabled.
|
||||
vgreduce removes mirror images.
|
||||
Add --mirrorsonly to vgreduce.
|
||||
vgreduce replaces active LVs with error segment before removing them.
|
||||
Set block_on_error parameter if available.
|
||||
Add target_version.
|
||||
Add details to format1 'Invalid LV in extent map' error message.
|
||||
Fix lvscan snapshot full display.
|
||||
Bring lvdisplay man page example into line.
|
||||
Add mirror dmeventd library.
|
||||
Add some activation logic to remove_mirror_images().
|
||||
lvconvert can remove specified PVs from a mirror.
|
||||
lvconvert turns an existing LV into a mirror.
|
||||
Allow signed mirrors arguments.
|
||||
Move create_mirror_log() into toollib.
|
||||
Determine parallel PVs to avoid with ALLOC_NORMAL allocation.
|
||||
Fix lv_empty.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:38:06 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 11:19:41 CET 2005 - fehr@suse.de
|
||||
|
||||
- add new binary /sbin/lvconvert to file list
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 13 13:09:21 CET 2005 - fehr@suse.de
|
||||
|
||||
- add patch lvm-lock.diff to fix bug #138128
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 16:10:12 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.02.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 12:05:32 CET 2005 - fehr@suse.de
|
||||
|
||||
- add fix_striped_old_format.diff to allow striped volumes with
|
||||
old metadata format (#130433)
|
||||
- add fix_dm_as_pv.diff to allow usage of dm devices as PVs (#129960)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 17 12:38:18 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 13:39:41 CEST 2005 - fehr@suse.de
|
||||
|
||||
- fix bug in pvscan.c with PVs larger than 2TB in VGs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 14:49:51 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.14
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 19:05:08 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 16 10:21:03 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 15 13:36:23 CEST 2005 - meissner@suse.de
|
||||
|
||||
- add libselinux to nfb to enable selinux support.
|
||||
- use RPM_OPT_FLAGS.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 10:55:51 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 4 11:01:23 CEST 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 12:43:23 CEST 2005 - fehr@suse.de
|
||||
|
||||
- use -y instead of -Y in options for call to fillup_and_insserv
|
||||
(#76689)
|
||||
- update to new version 2.01.09
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 11:12:58 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.07
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 7 12:03:14 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.06
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 16:28:53 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.04
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 2 13:01:12 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.03
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 12:08:59 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.02
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 14:48:58 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.01
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 19 11:13:53 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.01.00
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 17:41:04 CET 2005 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.33
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 05 12:33:00 CET 2005 - arvin@suse.de
|
||||
|
||||
- update to new version 2.00.32
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 17 10:12:03 CET 2004 - arvin@suse.de
|
||||
|
||||
- fixed -s option of vgdisplay (bug #49177)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 13:01:31 CET 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.29
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 25 11:39:49 CET 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.27
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 12:40:10 CET 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.26
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 29 17:24:52 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.25
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 22 17:40:28 CEST 2004 - fehr@suse.de
|
||||
|
||||
- prevent buggy macro for MAJOR in kdev_t.h creep into code via
|
||||
include of linux/fs.h
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 20 11:45:30 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.24
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 16 15:03:58 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.23
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 12:09:54 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.22
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 23 12:46:37 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.21
|
||||
- new version obsoletes lvm2-vgscan.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 15:21:48 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.20
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 7 11:45:15 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.16
|
||||
- add forgotten patch no-inc-audit.diff needed for STABLE
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 24 14:14:37 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.15 to fix bug #41020
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 24 08:31:31 CEST 2004 - hare@suse.de
|
||||
|
||||
- Fixed vgscan on S/390 (readdir returned DT_UNKNOWN)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 13 17:49:47 CEST 2004 - fehr@suse.de
|
||||
|
||||
- ignore udev names in default configuration to prevent yast2
|
||||
confusion (#36869)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 19 18:09:49 CEST 2004 - fehr@suse.de
|
||||
|
||||
- accept additional devices (IDE->64, iseries/vd->8, #39114)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 1 10:28:39 CEST 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.09 (fixes #34657 and #36877)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 2 02:03:07 CET 2004 - ro@suse.de
|
||||
|
||||
- boot.lvm: root-fs is mounted-rw by boot.rootfsck
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 26 20:14:53 CET 2004 - fehr@suse.de
|
||||
|
||||
- skip cdroms and device with zero size on probing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 10:58:46 CET 2004 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.08
|
||||
- now lvm2 obsoletes lvm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 13:05:20 CEST 2003 - fehr@suse.de
|
||||
|
||||
- fix boot.lvm to cope with LABEL= and UUID= in /etc/fstab
|
||||
also check reiser filesystem (#31060)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 16:20:18 CEST 2003 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.07
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 10:00:04 CEST 2003 - fehr@suse.de
|
||||
|
||||
- update to new version 2.00.06
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 17:41:31 CEST 2003 - garloff@suse.de
|
||||
|
||||
- (#29083) Add # X-UnitedLinux-Should-Start: boot.scsidev
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 16:13:06 CEST 2003 - fehr@suse.de
|
||||
|
||||
- created initial version of a SuSE package
|
||||
|
||||
-------------------------------------------------------------------
|
502
lvm2.spec
Normal file
502
lvm2.spec
Normal file
@ -0,0 +1,502 @@
|
||||
#
|
||||
# spec file for package lvm2 (Version 2.02.17)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: lvm2
|
||||
BuildRequires: device-mapper-devel
|
||||
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||
Group: System/Base
|
||||
Requires: device-mapper
|
||||
Provides: lvm
|
||||
Obsoletes: lvm
|
||||
%if %suse_version > 800
|
||||
PreReq: %fillup_prereq %insserv_prereq
|
||||
%endif
|
||||
Autoreqprov: on
|
||||
Version: 2.02.17
|
||||
Release: 1
|
||||
Summary: LVM2 Tools
|
||||
Source: LVM2.%{version}.tar.bz2
|
||||
Source1: lvm.conf
|
||||
Source2: boot.lvm
|
||||
Source3: sysconfig.lvm
|
||||
Patch: improve_probing.diff
|
||||
Patch2: no-inc-audit.diff
|
||||
Patch3: no_buildroot_shared.diff
|
||||
Patch4: sys_mount_instead_linux_fs.diff
|
||||
Patch5: pvscan_2TB_limit.diff
|
||||
Patch9: fix_striped_old_format.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Programs and man pages for configuring and using the LVM2 Logical
|
||||
Volume Manager.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n LVM2.%{version}
|
||||
%patch
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch5
|
||||
%patch9
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" \
|
||||
./configure --prefix=$RPM_BUILD_ROOT --mandir=$RPM_BUILD_ROOT/usr/share/man \
|
||||
--includedir=$RPM_BUILD_ROOT/usr/include \
|
||||
--libdir=$RPM_BUILD_ROOT/%_lib
|
||||
make
|
||||
|
||||
%install
|
||||
make install
|
||||
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 -d -m 755 $RPM_BUILD_ROOT/var/lock/lvm
|
||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/lvm
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||
install -m 744 %{SOURCE2} $RPM_BUILD_ROOT/etc/init.d
|
||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" != / ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
||||
|
||||
%post
|
||||
%{fillup_and_insserv -n lvm -py boot.lvm}
|
||||
|
||||
%postun
|
||||
%{insserv_cleanup}
|
||||
|
||||
%files
|
||||
%doc INSTALL COPYING COPYING.LIB README WHATS_NEW doc/*
|
||||
%dir /etc/lvm
|
||||
%dir /etc/lvm/backup
|
||||
%dir /etc/lvm/archive
|
||||
%dir /etc/lvm/metadata
|
||||
%dir /var/lock/lvm
|
||||
%config /etc/lvm/lvm.conf
|
||||
%config /etc/init.d/boot.lvm
|
||||
/var/adm/fillup-templates/sysconfig.lvm
|
||||
/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
|
||||
/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
|
||||
/sbin/vgmerge
|
||||
/sbin/vgmknodes
|
||||
/sbin/vgreduce
|
||||
/sbin/vgremove
|
||||
/sbin/vgrename
|
||||
/sbin/vgs
|
||||
/sbin/vgscan
|
||||
/sbin/vgsplit
|
||||
%{_mandir}/man5/lvm.conf.5.gz
|
||||
%{_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
|
||||
%{_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
|
||||
%{_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
|
||||
|
||||
%changelog -n lvm2
|
||||
* Mon Dec 18 2006 - fehr@suse.de
|
||||
- update to new version 2.02.17
|
||||
Add missing pvremove error message when device doesn't exist.
|
||||
When lvconvert allocates a mirror log, respect parallel area constraints.
|
||||
Use loop to iterate through the now-ordered policy list in _allocate().
|
||||
Check for failure to allocate just the mirror log.
|
||||
Introduce calc_area_multiple().
|
||||
Support mirror log allocation when there is only one PV: area_count now 0.
|
||||
Fix detection of smallest area in _alloc_parallel_area() for cling policy.
|
||||
Add manpage entry for clvmd -T
|
||||
Fix gulm operation of clvmd, including a hang when doing lvchange -aey
|
||||
Fix hang in clvmd if a pre-command failed.
|
||||
* Wed Dec 06 2006 - fehr@suse.de
|
||||
- update to new version 2.02.16
|
||||
Fix VG clustered read locks to use PR not CR.
|
||||
Adjust some alignments for ia64/sparc.
|
||||
Fix mirror segment removal to use temporary error segment.
|
||||
Add -T (startup timeout) switch to clvmd.
|
||||
Install lvmdump by default.
|
||||
Fix check for snapshot module when activating snapshot.
|
||||
Fix pvremove error path for case when PV is in use.
|
||||
Warn if certain duplicate config file entries are seen.
|
||||
Fix --autobackup argument which could never disable backups.
|
||||
Fix a label_verify error path.
|
||||
Fix adjusted_mirror_region_size() to handle 64-bit size.
|
||||
Add some missing bounds checks on 32-bit extent counters.
|
||||
Add Petabyte and Exabyte support.
|
||||
Fix lvcreate error message when 0 extents requested.
|
||||
lvremove man page: volumes must be cluster inactive before being removed.
|
||||
Protect .cache manipulations with fcntl locking.
|
||||
Change .cache timestamp comparisons to use ctime.
|
||||
Fix mirror log LV writing to set all bits in whole LV.
|
||||
Fix high-level free space check for partial allocations.
|
||||
* Mon Oct 30 2006 - fehr@suse.de
|
||||
- update to new version 2.02.13 to finally fix bug #178321
|
||||
Add couple of missing files to tools/Makefile CLEAN_TARGETS.
|
||||
When adding snapshot leave cow LV mapped device active after zeroing.
|
||||
Fix a clvmd debug message.
|
||||
Add dev_flush() to set_lv().
|
||||
Add lvchange --resync.
|
||||
Perform high-level free space check before each allocation attempt.
|
||||
Don't allow a node to remove an LV that's exclusively active on anther node.
|
||||
Cope if same PV is included more than once in cmdline PE range list.
|
||||
Set PV size to current device size if it is found to be zero.
|
||||
Add segment parameter to target_present functions.
|
||||
* Tue Oct 17 2006 - fehr@suse.de
|
||||
- update to new version 2.02.12
|
||||
Fix pvdisplay to use vg_read() for non-orphans.
|
||||
Fall back to internal locking if external locking lib is missing or fails.
|
||||
Retain activation state after changing LV minor number with --force.
|
||||
Propagate clustered flag in vgsplit and require resizeable flag.
|
||||
Add clvmd function to return the cluster name. not used by LVM yet.
|
||||
Add cling allocation policy.
|
||||
Change _check_contiguous() to use _for_each_pv().
|
||||
Extend _for_each_pv() to allow termination without error.
|
||||
Abstract _is_contiguous().
|
||||
Remove duplicated pv arg from _check_contiguous().
|
||||
Accept regionsize with lvconvert.
|
||||
Add report columns with underscore before field names ending 'size'.
|
||||
Correct regionsize default on lvcreate man page (MB).
|
||||
Fix clvmd bug that could cause it to die when a node with a long name crashed
|
||||
Add device size to text metadata.
|
||||
Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
|
||||
Fix _for_each_pv() for mirror with core log.
|
||||
Add lvm_dump.sh script to create a tarball of debugging info from a system.
|
||||
Capture error messages in clvmd and pass them back to the user.
|
||||
Remove unused #defines from filter-md.c.
|
||||
Make clvmd restart init script wait until clvmd has died before starting it.
|
||||
Add -R to clvmd which tells running clvmds to reload their device cache.
|
||||
Add LV column to reports listing kernel modules needed for activation.
|
||||
Show available fields if report given invalid field. (e.g. lvs -o list)
|
||||
Add timestamp functions with --disable-realtime configure option.
|
||||
Add %%VG, %%LV and %%FREE suffices to lvcreate/lvresize --extents arg.
|
||||
Fix two potential NULL pointer derefs in error cases in vg_read().
|
||||
Separate --enable-cluster from locking lib options in lvmconf.sh.
|
||||
Add a missing comma in lvcreate man page.
|
||||
* Wed Sep 20 2006 - fehr@suse.de
|
||||
- update to new version 2.02.10
|
||||
Fix lvconvert mirror change case detection logic.
|
||||
Fix mirror log detachment so it correctly becomes a standalone LV.
|
||||
Extend _check_contiguous() to detect single-area LVs.
|
||||
Include mirror log (untested) in _for_each_pv() processing.
|
||||
Use MIRROR_LOG_SIZE constant.
|
||||
Remove struct seg_pvs from _for_each_pv() to generalise.
|
||||
Avoid adding duplicates to list of parallel PVs to avoid.
|
||||
Fix several incorrect comparisons in parallel area avoidance code.
|
||||
Fix segment lengths when flattening existing parallel areas.
|
||||
Log existing parallel areas prior to allocation.
|
||||
Fix mirror log creation when activation disabled.
|
||||
Don't attempt automatic recovery without proper locking.
|
||||
When using local file locking, skip clustered VGs.
|
||||
Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
|
||||
lvm.static uses built-in cluster locking instead of external locking.
|
||||
Don't attempt to load shared libraries if built statically.
|
||||
Change default locking_lib to liblvm2clusterlock.so.
|
||||
Add skip_dev_dir() to process command line VGs.
|
||||
Stop clvmd complaining about nodes that have left the cluster.
|
||||
Move lvm_snprintf(), split_words() and split_dm_name() into libdevmapper.
|
||||
Add lvconvert man page.
|
||||
Add mirror options to man pages.
|
||||
Prevent mirror renames.
|
||||
Move CMDLIB code into separate file and record whether static build.
|
||||
* Wed Sep 13 2006 - fehr@suse.de
|
||||
- change BuildRequires to device-mapper-devel
|
||||
* Mon Aug 21 2006 - fehr@suse.de
|
||||
- update to new version 2.02.09
|
||||
Fix PE_ALIGN for pagesize over 32KB.
|
||||
Separate out LVM1_PE_ALIGN and pe_align().
|
||||
Add lvm_getpagesize wrapper.
|
||||
Add --maxphysicalvolumes to vgchange.
|
||||
* Wed Aug 16 2006 - fehr@suse.de
|
||||
- update to new version 2.02.08
|
||||
Add checks for duplicate LV name, lvid and PV id before writing metadata.
|
||||
Report all sanity check failures, not just the first.
|
||||
Fix missing lockfs on first snapshot creation. (#197850)
|
||||
Add unreliable --trustcache option to reporting commands.
|
||||
Fix locking for mimage removal.
|
||||
Fix clvmd_init_rhel4 'status' exit code.
|
||||
* Fri Jul 28 2006 - olh@suse.de
|
||||
- remove dropped boot.ibmsis from boot.lvm
|
||||
- boot.rootfsck should start before boot.lvm (#181972)
|
||||
* Wed Jul 26 2006 - fehr@suse.de
|
||||
- update to new version 2.02.06
|
||||
Fix activation logic in lvchange --persistent.
|
||||
Don't ignore persistent minor numbers when activating.
|
||||
Fix vgreduce --removemissing to return success if VG is already consistent.
|
||||
Fix return code if VG specified on command line is not found.
|
||||
Fix PV tools to include orphaned PVs in default output again.
|
||||
Prevent snapshots of mirrors.
|
||||
Fix lvcreate corelog validation.
|
||||
Add --config for overriding most config file settings from cmdline.
|
||||
Quote arguments when printing command line.
|
||||
Remove linefeed from 'initialising logging' message.
|
||||
Add 'Completed' debug message.
|
||||
Don't attempt library exit after reloading config files.
|
||||
Always compile with libdevmapper, even if device-mapper is disabled.
|
||||
* Mon May 22 2006 - fehr@suse.de
|
||||
- update to new version 2.02.06
|
||||
Propagate --monitor around cluster.
|
||||
Add --monitor to vgcreate and lvcreate to control dmeventd registration.
|
||||
Filter LCK_NONBLOCK in clvmd lock_vg.
|
||||
Add --nosync to lvcreate with LV flag NOTSYNCED.
|
||||
Use mirror's uuid for a core log.
|
||||
Add mirror log fault-handling policy.
|
||||
Improve mirror warning messages and tidy dmeventd syslog output.
|
||||
Propagate nosync flag around cluster.
|
||||
Allow vgreduce to handle mirror log failures.
|
||||
Add --corelog to lvcreate and lvconvert.
|
||||
Create a log header for replacement in-sync mirror log.
|
||||
Use set_lv() and dev_set() to wipe sections of devices.
|
||||
Add mirror_library description to example.conf.
|
||||
Fix uuid_from_num() buffer overrun.
|
||||
Increase maximum stripe size limit to physical extent size for lvm2 metadata.
|
||||
Fix activation code to check for pre-existing mirror logs.
|
||||
Ignore empty strings in config files.
|
||||
Require non-zero regionsize and document parameter on lvcreate man page.
|
||||
Invalidate cache if composition of VG changed externally.
|
||||
* Wed Apr 26 2006 - hare@suse.de
|
||||
- add LVM_DEVICE_TIMEOUT sysconfig variable to make sure
|
||||
udev has finished processing (#149979)
|
||||
- Fix init script dependencies
|
||||
* Mon Apr 24 2006 - fehr@suse.de
|
||||
- update to new version 2.02.05
|
||||
Fix vgid string termination in recent cache code
|
||||
* Thu Apr 20 2006 - fehr@suse.de
|
||||
- update to new version 2.02.04
|
||||
Check for libsepol.
|
||||
Add some cflow & scope support.
|
||||
Separate out DEFS from CFLAGS.
|
||||
Remove inlines and use unique function names.
|
||||
* Wed Apr 19 2006 - fehr@suse.de
|
||||
- update to new version 2.02.03
|
||||
vgrename accepts vgid and exported VG.
|
||||
Add --partial to pvs.
|
||||
When choosing between identically-named VGs, also consider creation_host.
|
||||
Provide total log suppression with 2.
|
||||
Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
|
||||
Add vgid to struct physical_volume and pass with vg_name to some functions.
|
||||
If two or more VGs are found with the same name, use one that is not exported.
|
||||
Whenever vgname is captured, also capture vgid and whether exported.
|
||||
Remove an incorrect unlock_vg() from process_each_lv().
|
||||
Update extent size information in vgchange and vgcreate man pages.
|
||||
Introduce origin_from_cow() and lv_is_visible().
|
||||
pvremove without -f now fails if there's no PV label.
|
||||
Support lvconvert -s.
|
||||
Suppress locking library load failure message if --ignorelockingfailure.
|
||||
Propagate partial mode around cluster.
|
||||
Fix archive file expiration.
|
||||
Fix dmeventd build.
|
||||
clvmd now uses libcman rather than cman ioctls.
|
||||
clvmd will allow new cman to shutdown on request.
|
||||
* Thu Apr 06 2006 - fehr@suse.de
|
||||
- add option --mknodes to vgscan call in /etc/init.d/boot.lvm to
|
||||
avoid potential inconsistencies in minor number of dm devices after
|
||||
reboot when root fs is LVM LV (#139740)
|
||||
* Tue Mar 14 2006 - fehr@suse.de
|
||||
- update to new version 2.02.02
|
||||
Add %%.so: %%.a make template rule.
|
||||
Switchover library building to use LIB_SUFFIX.
|
||||
Only do lockfs filesystem sync when suspending snapshots.
|
||||
Always print warning if activation is disabled.
|
||||
vgreduce removes mirror images.
|
||||
Add --mirrorsonly to vgreduce.
|
||||
vgreduce replaces active LVs with error segment before removing them.
|
||||
Set block_on_error parameter if available.
|
||||
Add target_version.
|
||||
Add details to format1 'Invalid LV in extent map' error message.
|
||||
Fix lvscan snapshot full display.
|
||||
Bring lvdisplay man page example into line.
|
||||
Add mirror dmeventd library.
|
||||
Add some activation logic to remove_mirror_images().
|
||||
lvconvert can remove specified PVs from a mirror.
|
||||
lvconvert turns an existing LV into a mirror.
|
||||
Allow signed mirrors arguments.
|
||||
Move create_mirror_log() into toollib.
|
||||
Determine parallel PVs to avoid with ALLOC_NORMAL allocation.
|
||||
Fix lv_empty.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Dec 19 2005 - fehr@suse.de
|
||||
- add new binary /sbin/lvconvert to file list
|
||||
* Tue Dec 13 2005 - fehr@suse.de
|
||||
- add patch lvm-lock.diff to fix bug #138128
|
||||
* Tue Dec 06 2005 - fehr@suse.de
|
||||
- update to new version 2.02.01
|
||||
* Tue Nov 08 2005 - fehr@suse.de
|
||||
- add fix_striped_old_format.diff to allow striped volumes with
|
||||
old metadata format (#130433)
|
||||
- add fix_dm_as_pv.diff to allow usage of dm devices as PVs (#129960)
|
||||
* Mon Oct 17 2005 - fehr@suse.de
|
||||
- update to new version 2.01.15
|
||||
* Mon Sep 26 2005 - fehr@suse.de
|
||||
- fix bug in pvscan.c with PVs larger than 2TB in VGs
|
||||
* Thu Aug 04 2005 - fehr@suse.de
|
||||
- update to new version 2.01.14
|
||||
* Mon Jul 18 2005 - fehr@suse.de
|
||||
- update to new version 2.01.13
|
||||
* Thu Jun 16 2005 - fehr@suse.de
|
||||
- update to new version 2.01.12
|
||||
* Wed Jun 15 2005 - meissner@suse.de
|
||||
- add libselinux to nfb to enable selinux support.
|
||||
- use RPM_OPT_FLAGS.
|
||||
* Tue Jun 14 2005 - fehr@suse.de
|
||||
- update to new version 2.01.11
|
||||
* Wed May 04 2005 - fehr@suse.de
|
||||
- update to new version 2.01.10
|
||||
* Mon Apr 11 2005 - fehr@suse.de
|
||||
- use -y instead of -Y in options for call to fillup_and_insserv
|
||||
(#76689)
|
||||
- update to new version 2.01.09
|
||||
* Wed Mar 09 2005 - fehr@suse.de
|
||||
- update to new version 2.01.07
|
||||
* Mon Mar 07 2005 - fehr@suse.de
|
||||
- update to new version 2.01.06
|
||||
* Thu Feb 10 2005 - fehr@suse.de
|
||||
- update to new version 2.01.04
|
||||
* Wed Feb 02 2005 - fehr@suse.de
|
||||
- update to new version 2.01.03
|
||||
* Mon Jan 24 2005 - fehr@suse.de
|
||||
- update to new version 2.01.02
|
||||
* Thu Jan 20 2005 - fehr@suse.de
|
||||
- update to new version 2.01.01
|
||||
* Wed Jan 19 2005 - fehr@suse.de
|
||||
- update to new version 2.01.00
|
||||
* Tue Jan 11 2005 - fehr@suse.de
|
||||
- update to new version 2.00.33
|
||||
* Wed Jan 05 2005 - arvin@suse.de
|
||||
- update to new version 2.00.32
|
||||
* Fri Dec 17 2004 - arvin@suse.de
|
||||
- fixed -s option of vgdisplay (bug #49177)
|
||||
* Mon Nov 29 2004 - fehr@suse.de
|
||||
- update to new version 2.00.29
|
||||
* Thu Nov 25 2004 - fehr@suse.de
|
||||
- update to new version 2.00.27
|
||||
* Wed Nov 24 2004 - fehr@suse.de
|
||||
- update to new version 2.00.26
|
||||
* Wed Sep 29 2004 - fehr@suse.de
|
||||
- update to new version 2.00.25
|
||||
* Wed Sep 22 2004 - fehr@suse.de
|
||||
- prevent buggy macro for MAJOR in kdev_t.h creep into code via
|
||||
include of linux/fs.h
|
||||
* Mon Sep 20 2004 - fehr@suse.de
|
||||
- update to new version 2.00.24
|
||||
* Thu Sep 16 2004 - fehr@suse.de
|
||||
- update to new version 2.00.23
|
||||
* Mon Sep 06 2004 - fehr@suse.de
|
||||
- update to new version 2.00.22
|
||||
* Mon Aug 23 2004 - fehr@suse.de
|
||||
- update to new version 2.00.21
|
||||
- new version obsoletes lvm2-vgscan.patch
|
||||
* Wed Jul 14 2004 - fehr@suse.de
|
||||
- update to new version 2.00.20
|
||||
* Mon Jun 07 2004 - fehr@suse.de
|
||||
- update to new version 2.00.16
|
||||
- add forgotten patch no-inc-audit.diff needed for STABLE
|
||||
* Mon May 24 2004 - fehr@suse.de
|
||||
- update to new version 2.00.15 to fix bug #41020
|
||||
* Mon May 24 2004 - hare@suse.de
|
||||
- Fixed vgscan on S/390 (readdir returned DT_UNKNOWN)
|
||||
* Thu May 13 2004 - fehr@suse.de
|
||||
- ignore udev names in default configuration to prevent yast2
|
||||
confusion (#36869)
|
||||
* Mon Apr 19 2004 - fehr@suse.de
|
||||
- accept additional devices (IDE->64, iseries/vd->8, #39114)
|
||||
* Thu Apr 01 2004 - fehr@suse.de
|
||||
- update to new version 2.00.09 (fixes #34657 and #36877)
|
||||
* Tue Mar 02 2004 - ro@suse.de
|
||||
- boot.lvm: root-fs is mounted-rw by boot.rootfsck
|
||||
* Thu Feb 26 2004 - fehr@suse.de
|
||||
- skip cdroms and device with zero size on probing
|
||||
* Wed Feb 04 2004 - fehr@suse.de
|
||||
- update to new version 2.00.08
|
||||
- now lvm2 obsoletes lvm
|
||||
* Thu Sep 18 2003 - fehr@suse.de
|
||||
- fix boot.lvm to cope with LABEL= and UUID= in /etc/fstab
|
||||
also check reiser filesystem (#31060)
|
||||
* Wed Sep 17 2003 - fehr@suse.de
|
||||
- update to new version 2.00.07
|
||||
* Thu Aug 21 2003 - fehr@suse.de
|
||||
- update to new version 2.00.06
|
||||
* Mon Aug 18 2003 - garloff@suse.de
|
||||
- (#29083) Add # X-UnitedLinux-Should-Start: boot.scsidev
|
||||
* Tue Jul 01 2003 - fehr@suse.de
|
||||
- created initial version of a SuSE package
|
20
no-inc-audit.diff
Normal file
20
no-inc-audit.diff
Normal file
@ -0,0 +1,20 @@
|
||||
--- lib/device/dev-io.c
|
||||
+++ lib/device/dev-io.c
|
||||
@@ -31,6 +31,7 @@
|
||||
# define u64 uint64_t /* Missing without __KERNEL__ */
|
||||
# undef WNOHANG /* Avoid redefinition */
|
||||
# undef WUNTRACED /* Avoid redefinition */
|
||||
+# define _LINUX_AUDIT_H_ /* Avoid inclusion */
|
||||
# include <linux/fs.h> /* For block ioctl definitions */
|
||||
# define BLKSIZE_SHIFT SECTOR_SHIFT
|
||||
# ifndef BLKGETSIZE64 /* fs.h out-of-date */
|
||||
--- lib/filters/filter.c
|
||||
+++ lib/filters/filter.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <limits.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#define _LINUX_AUDIT_H_
|
||||
#include <linux/fs.h>
|
||||
|
||||
#define NUMBER_OF_MAJORS 256
|
11
no_buildroot_shared.diff
Normal file
11
no_buildroot_shared.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- tools/Makefile.in
|
||||
+++ tools/Makefile.in 2006/04/20 15:25:48
|
||||
@@ -95,7 +95,7 @@
|
||||
LVMLIBS += -ldevmapper
|
||||
endif
|
||||
|
||||
-DEFS += -DLVM_SHARED_PATH=\"$(exec_prefix)/sbin/lvm\"
|
||||
+DEFS += -DLVM_SHARED_PATH=\"/sbin/lvm\"
|
||||
|
||||
include $(top_srcdir)/make.tmpl
|
||||
|
11
pvscan_2TB_limit.diff
Normal file
11
pvscan_2TB_limit.diff
Normal file
@ -0,0 +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;
|
||||
} else
|
||||
- size_total += pv->pe_count * pv->pe_size;
|
||||
+ size_total += (uint64_t)pv->pe_count * pv->pe_size;
|
||||
}
|
||||
|
||||
/* find maximum pv name length */
|
22
sys_mount_instead_linux_fs.diff
Normal file
22
sys_mount_instead_linux_fs.diff
Normal file
@ -0,0 +1,22 @@
|
||||
--- lib/device/dev-io.c
|
||||
+++ lib/device/dev-io.c 2005/04/11 10:53:52
|
||||
@@ -32,7 +32,7 @@
|
||||
# undef WNOHANG /* Avoid redefinition */
|
||||
# undef WUNTRACED /* Avoid redefinition */
|
||||
# define _LINUX_AUDIT_H_ /* Avoid inclusion */
|
||||
-# include <linux/fs.h> /* For block ioctl definitions */
|
||||
+# include <sys/mount.h> /* For block ioctl definitions */
|
||||
# define BLKSIZE_SHIFT SECTOR_SHIFT
|
||||
# ifndef BLKGETSIZE64 /* fs.h out-of-date */
|
||||
# define BLKGETSIZE64 _IOR(0x12, 114, size_t)
|
||||
--- lib/filters/filter.c
|
||||
+++ lib/filters/filter.c 2005/04/11 10:54:57
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
#define _LINUX_AUDIT_H_
|
||||
-#include <linux/fs.h>
|
||||
+#include <sys/mount.h>
|
||||
#undef MAJOR
|
||||
#undef MINOR
|
||||
#undef MKDEV
|
11
sysconfig.lvm
Normal file
11
sysconfig.lvm
Normal file
@ -0,0 +1,11 @@
|
||||
## Path: System/File systems/LVM
|
||||
## Description: LVM configuration
|
||||
## Type: string
|
||||
## Default: ""
|
||||
#
|
||||
# This variable allows to only activate the LVM volume groups listed at
|
||||
# bootup. If it is empty, all LVM volume groups are activated at bootup.
|
||||
# This variable needs setting only under very special circumstances.
|
||||
# For almost all standard LVM installations it can safely stay empty.
|
||||
#
|
||||
LVM_VGS_ACTIVATED_ON_BOOT=""
|
Loading…
Reference in New Issue
Block a user