2004-11-23 21:36:01 +03:00
Version 2.00.27 -
====================================
2004-11-24 23:36:52 +03:00
Improve filter debug mesgs.
2004-11-23 21:36:01 +03:00
2004-11-23 20:47:19 +03:00
Version 2.00.26 - 23rd November 2004
====================================
2004-11-23 21:23:23 +03:00
Improve pool debugging stats.
2004-11-23 14:44:04 +03:00
Detect partition table signature.
2004-11-19 22:25:07 +03:00
pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.)
2004-11-18 23:02:21 +03:00
Separate out md superblock detection code.
2004-11-18 22:49:48 +03:00
Prevent snapshot origin resizing.
Improve a vgremove error message.
2004-11-12 19:02:08 +03:00
Update some man pages.
Allow y/n with -ae args (exclusive activation).
2004-10-15 19:53:18 +04:00
Fixes to lvcreate vgname parsing.
2004-10-11 19:59:23 +04:00
Fix dm_name string size calculation.
2004-10-06 14:12:34 +04:00
Improve clvmd error reporting during startup.
2004-09-30 18:18:29 +04:00
Make clvmd cope with large gaps in node numbers IDs.
2004-10-06 14:12:34 +04:00
Make clvmd initialisation cope better with debugging output.
2004-11-16 21:09:32 +03:00
Tidy clvmd socket callbacks so all work happens outside main loop.
2004-10-06 16:36:47 +04:00
clvmd -V now displays lvm version too.
2004-11-03 13:45:07 +03:00
Add optional gulm build for clvmd
2004-09-29 19:25:43 +04:00
2004-09-29 19:08:20 +04:00
Version 2.00.25 - 29th September 2004
2004-09-17 01:48:26 +04:00
=====================================
2004-09-22 17:38:37 +04:00
Fix return code from rm_link for vgmknodes.
Make clvmd LV hash table thread-safe.
2004-09-29 19:08:20 +04:00
Fix clvmd locking so it will lock out multiple users on the same node.
Fix clvmd VG locking to it can cope with multiple VG locks.
Remove spurious trailing dot in lvreduce man page.
Fix vgremove locking.
2004-09-17 01:48:26 +04:00
2004-09-17 00:56:18 +04:00
Version 2.00.24 - 16th September 2004
2004-09-15 19:59:19 +04:00
=====================================
2004-09-17 00:09:55 +04:00
Fix pool_empty so it really does empty the memory pool.
2004-09-16 22:40:56 +04:00
Rename old segtypes files to segtype.
2004-09-16 20:53:39 +04:00
Some fixes to memory debugging code.
Exclude internal commands formats & segtypes from install.
2004-09-15 19:59:19 +04:00
2004-09-15 19:32:21 +04:00
Version 2.00.23 - 15th September 2004
=====================================
2004-09-15 19:02:36 +04:00
Export dm name build & split functions.
2004-09-15 02:23:23 +04:00
Use O_NOATIME on devices if available.
2004-09-14 21:37:51 +04:00
Write log message when each segtype/format gets initialised.
2004-09-14 20:42:46 +04:00
New commands 'segtypes' and 'formats'.
2004-09-14 19:23:42 +04:00
Suppress pvmove abort message in test mode.
2004-09-14 18:54:58 +04:00
Improve pvcreate/remove device not found error message.
2004-09-14 17:59:17 +04:00
Allow pvmove to move data within the same PV.
2004-09-14 17:58:11 +04:00
Describe how pvmove works on man page.
2004-09-14 17:56:18 +04:00
Test for incompatible format/segtype combinations in lv_extend.
2004-09-13 12:01:54 +04:00
Fix lvchange example on man page.
2004-09-03 23:08:50 +04:00
Version 2.00.22 - 3rd September 2004
====================================
2004-09-02 18:38:46 +04:00
Fix /dev/vgname perms.
2004-09-02 18:16:54 +04:00
Restructure xlate.h.
Add clvmd man page.
2004-08-19 21:13:49 +04:00
2004-08-19 20:10:15 +04:00
Version 2.00.21 - 19th August 2004
==================================
Update cnxman-socket.h from cman.
2004-08-18 23:13:01 +04:00
Recognise iseries/vd devices.
2004-08-18 22:57:40 +04:00
Use 'make install_cluster' to install cluster extensions only.
2004-08-18 22:50:21 +04:00
Cope with DT_UNKNOWN in sysfs.
2004-08-18 02:09:02 +04:00
Fix extents_moved metadata size comment.
Remove duplicate line in pvremove help text.
Support variable mirror region size.
Support PE ranges in pvmove source PV.
Fixes to as-yet-unused LV segment splitting code.
2004-08-18 01:55:23 +04:00
Change alloc_areas to pe_ranges and allow suppression of availability checks.
2004-08-11 17:15:05 +04:00
Add dev_size column to pvs.
2004-07-04 02:07:52 +04:00
Add report columns for in-kernel device number.
2004-07-03 22:29:48 +04:00
2004-07-03 22:21:13 +04:00
Version 2.00.20 - 3 July 2004
=============================
More autoconf fixes.
2004-07-01 19:14:29 +04:00
Fix device number handling for 2.6 kernels.
2004-06-29 17:46:44 +04:00
2004-06-29 17:29:25 +04:00
Version 2.00.19 - 29 June 2004
2004-06-25 14:31:04 +04:00
==============================
2004-06-29 17:29:25 +04:00
Reduce severity of setlocale failure message.
Recognise argv[0] "initrd-lvm" (pld-linux).
Make -O2 configurable.
2004-06-28 18:01:24 +04:00
Added --disable-selinux to configure script.
LD_FLAGS->LDFLAGS & LD_DEPS->LDDEPS in configure script.
Add init_debug to clvmd.
2004-06-25 14:31:04 +04:00
2004-06-24 12:02:38 +04:00
Version 2.00.18 - 24 June 2004
==============================
2004-06-24 18:48:01 +04:00
Fix vgchange activation.
2004-06-24 12:02:38 +04:00
Add cluster support.
2004-06-20 17:38:54 +04:00
Version 2.00.17 - 20 June 2004
==============================
configure --enable-fsadm to try out fsadm. fsadm is not tested yet.
2004-06-19 23:27:00 +04:00
Display all filtered devices, not just PVs, with pvs -a.
2004-06-19 23:24:33 +04:00
Fix sync_dir() when no / in filename
2004-06-19 22:55:29 +04:00
vgcfgbackup -f accepts template with %s for VG name.
2004-06-18 19:08:22 +04:00
Extend hash functions to handle non-null-terminated data.
2004-06-16 21:13:41 +04:00
Add local activation support.
2004-06-15 21:25:07 +04:00
Tidy relative paths in makefile includes.
2004-06-15 21:23:49 +04:00
fsadm support for fsck and resizing - needs testing.
2004-06-07 23:10:21 +04:00
Add read-only GFS pool support.
2004-06-07 20:20:05 +04:00
Add lvm2create_initrd script from http://poochiereds.net/svn/lvm2/
2004-06-07 19:22:43 +04:00
Fix rounding of large diplayed sizes.
2004-05-28 16:47:57 +04:00
Suppress decimal point when using units of sectors/bytes.
2004-05-25 00:51:56 +04:00
Additional kernel target checks before pvmove & snapshot creation.
2004-06-01 22:33:50 +04:00
Add i2o_block.
2004-05-25 00:51:56 +04:00
2004-05-24 23:20:57 +04:00
Version 2.00.16 - 24 May 2004
2004-05-04 22:28:15 +04:00
=============================
2004-05-24 21:30:00 +04:00
Set area_count within alloc_lv_segment.
2004-05-24 19:58:50 +04:00
Remove error labels from lvresize.
2004-05-24 18:14:10 +04:00
Fix a pvs error path.
2004-05-24 17:44:10 +04:00
xxchange -ae for exclusive activation.
2004-05-20 20:18:58 +04:00
Don't return non-zero status if there aren't any volume groups.
2004-05-19 02:12:53 +04:00
Add --alloc argument to tools.
Rename allocation policies to contiguous, normal, anywhere, inherit.
nextfree becomes normal; anywhere isn't implemented yet.
LV inherits allocation policy from VG. Defaults: LV - inherit; VG - normal
Additional status character added to vgs to indicate allocation policy.
2004-05-19 01:57:24 +04:00
Add reset_fn to external_locking.
2004-05-13 00:43:34 +04:00
Ensure presence of virtual targets before attempting activating.
Attempt to fix resizing of snapshot origins.
2004-05-11 22:47:40 +04:00
Restructure lvresize, bringing it closer to lvcreate.
2004-05-11 21:18:42 +04:00
A quick sanity check on vg_disk struct when read in. More checks needed.
2004-05-11 21:09:09 +04:00
Only include visible LVs in active/open counts.
2004-05-11 20:01:58 +04:00
Add virtual segment types, zero and error. A large sparse device can be
constructed as a writeable snapshot of a large zero segment.
Add --type to lvcreate/resize.
2004-05-05 22:49:21 +04:00
Push lv_create & alloc policy up to tool level.
Fix pvdisplay return code.
2004-05-05 22:31:38 +04:00
Detect invalid LV names in arg lists.
2004-05-05 22:23:11 +04:00
Reporting uses line-at-a-time output.
lvm2 format sets unlimited_vols format flag.
2004-05-05 22:15:47 +04:00
Internal-only metadata flag support.
Basic checking for presence of device-mapper targets.
2004-05-05 21:56:20 +04:00
Separate out polldaemon.
2004-05-05 16:03:07 +04:00
Revise internal locking semantics.
Move find_pv_by_name to library.
2004-05-05 14:58:44 +04:00
Rename move->copy.
Add devices to segments report.
2004-05-05 01:25:57 +04:00
Begin separating out segment code. There's a lot of change here.
Compress any (obsolete) long LVM1 pvids encountered.
2004-05-04 22:28:15 +04:00
Support for tagged config files.
Don't abort operations if selinux present but disabled.
Fix typo in configure which left HAVE_LIBDL unset.
2004-04-19 17:10:06 +04:00
Version 2.00.15 - 19 Apr 2004
=============================
configure --with-owner= --with-group= to avoid -o and -g args to 'install'
2004-04-16 22:43:29 +04:00
Version 2.00.14 - 16 Apr 2004
=============================
Use 64-bit file functions by default.
2004-04-16 20:12:04 +04:00
Version 2.00.13 - 16 Apr 2004
2004-04-16 16:24:46 +04:00
=============================
2004-04-16 20:12:04 +04:00
Set devices/md_component_detection = 1 to ignore devices containing md
superblocks. [Luca Berra]
2004-04-16 16:24:46 +04:00
Ignore error setting selinux file context if fs doesn't support it.
2004-04-15 00:09:25 +04:00
Version 2.00.12 - 14 Apr 2004
=============================
2004-04-14 22:31:35 +04:00
Install a default lvm.conf into /etc/lvm if there isn't one already.
Allow different installation dir for lvm.static (configure --staticdir=)
Fix inverted selinux error check.
Recognise power2 in /proc/devices.
Fix counting in lvs_in_vg_opened. [It ignored devices open more than once.]
2004-04-08 21:14:00 +04:00
Version 2.00.11 - 8 Apr 2004
============================
Set fallback_to_lvm1 in lvm.conf (or configure --enable-lvm1_fallback)
to run lvm1 binaries if running a 2.4 kernel without device-mapper.
2004-04-07 22:12:51 +04:00
Version 2.00.10 - 7 Apr 2004
2004-04-06 19:17:53 +04:00
============================
More fixes for static build.
2004-04-07 22:12:51 +04:00
Add basic selinux support.
Fix sysfs detection.
2004-04-06 19:17:53 +04:00
2004-04-01 00:14:02 +04:00
Version 2.00.09 - 31 Mar 2004
=============================
2004-03-31 00:33:26 +04:00
Update copyright notices for Red Hat.
Fix vgmknodes to remove dud /dev/mapper entries. (libdevmapper update reqd).
Add LVM1-style colon output to vgdisplay.
lvchange --refresh to reload active LVs.
Add string display to memory leak dump.
Add locking flags & memlock option.
Add list_versions to library.
Ignore open hidden LVs when checking if deactivation is OK.
Suppress move percentage when device inactive.
Add lv_info_by_lvid.
Various tidy-ups to the build process.
Rebaseline internal verbose level.
Add --nolocking option for read operations if locking is failing.
Add option to compile into a library.
When compiled without libdevmapper, only print warning message once.
Fix lvreduce PV extent calculations.
Fix DESTDIR to work with configure path overrides.
Always use / as config file separator & rename internal config file variables.
Add support for tagging PV/VG/LVs and hosts.
Fix rare bug in recognition of long cmdline argument forms.
Add basic internationalisation infrastructure.
Don't recurse symlinked dirs such as /dev/fd on 2.6 kernels.
Update autoconf files.
Add sysfs block device filtering for 2.6 kernels.
Update refs for move to sources.redhat.com.
2003-11-15 02:46:49 +03:00
Friday 14th November 2003
=========================
Some bug fixes & minor enhancements, including:
Backwards compatibility with LVM1 metadata improved.
Missing man pages written.
Tool error codes made more consistent.
vgmknodes written.
O_DIRECT can be turned off if it doesn't work in your kernel.
2003-11-21 22:53:05 +03:00
dumpconfig to display the active configuration file
2003-11-15 02:46:49 +03:00
You need to update libdevmapper before using 'vgmknodes' or 'vgscan --mknodes'.
If your root filesystem is on an LV, you should run one of those two
commands to fix up the special files in /dev in your real root filesystem
after finishing with your initrd. Also, remember you can use
'vgchange --ignorelockingfailure' on your initrd if the tool fails because
it can't write a lock file to a read-only filesystem.
2003-04-30 20:49:27 +04:00
Wednesday 30th April 2003
=========================
A pvmove implementation is now available for the new metadata format.
When running a command that allocates space (e.g. lvcreate), you can now
restrict not only which disk(s) may be used but also the Physical Extents
on those disks. e.g. lvcreate -L 10 vg1 /dev/hda6:1000-2000:3000-4000
Monday 18th November 2002
2002-11-18 17:04:08 +03:00
========================
The new format of LVM metadata is ready for you to test!
We expect it to be more efficient and more robust than the original format.
It's more compact and supports transactional changes and replication.
Should things go wrong on a system, it's human-readable (and editable).
Please report any problems you find to the mailing list,
linux-lvm@sistina.com. The software has NOT yet been thoroughly
tested and so quite possibly there'll still be some bugs in it.
Be aware of the disclaimer in the COPYING file.
While testing, we recommend turning logging on in the configuration file
to provide us with diagnostic information:
log {
file="/tmp/lvm2.log"
2003-04-30 20:49:27 +04:00
level=7
2003-07-18 04:41:04 +04:00
activation=1
2002-11-18 17:04:08 +03:00
}
You should schedule regular backups of your configuration file and
metadata backups and archives (normally kept under /etc/lvm).
Please read docs/example.conf and "man lvm.conf" to find out more about
the configuration file.
To convert an existing volume group called vg1 to the new format using
the default settings, use "vgconvert -M2 vg1". See "man vgconvert".
-M (or --metadatatype in its long form) is a new flag to indicate which
format of metadata the command should use for anything it creates.
Currently, the valid types are "lvm1" and "lvm2" and they can be
abbreviated to "1" and "2" respectively. The default value for this
flag can be changed in the global section in the config file.
Backwards-compatible support for the original LVM1 metadata format is
maintained, but it can be moved into a shared library or removed
completely with configure's --with-lvm1 option.
Under LVM2, the basic unit of metadata is the volume group. Different
volume groups can use different formats of metadata - vg1 could use
the original LVM1 format while vg2 used the new format - but you can't
mix formats within a volume group. So to add a PV to an LVM2-format
volume group you must run "pvcreate -M2" on it, followed by "vgextend".
With LVM2-format metadata, lvextend will let you specify striping
parameters. So an LV could consist of two or more "segments" - the
first segment could have 3 stripes while the second segment has just 2.
LVM2 maintains a backup of the current metadata for each volume group
in /etc/lvm/backup, and puts copies of previous versions in
/etc/lvm/archive. "vgcfgbackup" and "vgcfgrestore" can be used to
create and restore from these files. If you fully understand what
you're doing, metadata can be changed by editing a copy of a current
backup file and using vgcfgrestore to reload it.
Please read the pvcreate man page for more information on the new
format for metadata.
All tools that can change things have a --test flag which can be used
to check the effect of a set of cmdline args without really making the
changes.
What's not finished?
====================
The internal cache. If you turn on debugging output you'll see lots of
2003-07-05 02:34:56 +04:00
repeated messages, many of which will eventually get optimised out.
2002-11-18 17:04:08 +03:00
--test sometimes causes a command to fail (e.g. vgconvert --test) even
though the real command would work: again, fixing this is waiting for
the work on the cache.
Several of the tools do not yet contain the logic to handle full
recovery: combinations of pvcreate and vgcfgrestore may sometimes be
needed to restore metadata if a tool gets interrupted or crashes or
finds something unexpected. This applies particularly to tools that
work on more than one volume group at once (e.g. vgsplit).
Display output. Some metadata information cannot yet be displayed.
Recovery tools to salvage "lost" metadata directly from the disks:
but we hope the new format will mean such tools are hardly ever needed!