]> sourceware.org Git - lvm2.git/blame - WHATS_NEW
Don't create backup and archive dirs till needed.
[lvm2.git] / WHATS_NEW
CommitLineData
4a0623f9
AK
1Version 2.01.10 -
2================================
abe198c0 3 Don't create backup and archive dirs till needed.
15db9fcf
AK
4 Reinstate full PV size when removing from VG.
5 Support loopfiles for testing.
e40d124e 6 Tidy lv_segment interface.
15db9fcf 7 pv_segment support.
66278a80 8 vgchange --physicalextentsize
90395b8d 9 Internal snapshot restructuring.
69b2cc0e 10 Remove unused internal non-persistent snapshot option.
864de9ce 11 Allow offline extension of snapshot volumes.
367b9cb1 12 Move from 2-step to 3-step on-disk metadata commit.
864de9ce 13 Scan ramdisks too and allow non-O_DIRECT fallback.
1128f56b 14 Annotate, tidy and extend list.h.
1165258c 15 Alignment tidying.
2b7e4013 16 Make clvmd work around some "bugs" in gulm's node state notifications.
30bda776 17 Tidy clvmd's SIGHUP handler
4a0623f9 18
37baa586
AK
19Version 2.01.09 - 4th April 2005
20================================
0a0f13e6 21 Add --ignorelockingfailure to vgmknodes.
11270d07 22 clvmd: Don't allow user operations to start until the lvm thread is fully up.
a478de3d 23 clvmd-gulm: set KEEPALIVE on sockets.
11270d07 24
c8f9c82d
AK
25Version 2.01.08 - 22nd March 2005
26=================================
343a8c92 27 Add clustered attribute so vgchange can identify clustered VGs w/o locking.
e5b836d2 28 Improve detection of external changes affecting internal cache.
162d85b9 29 Add 'already in device cache' debug message.
200ef4db 30 Add -a to pvdisplay -C.
0aa8e5be 31 Avoid rmdir opendir error messsages when dir was already removed.
779b7713 32 Tighten signal handlers.
7e0b7fd0 33 Avoid some compiler warnings.
e5def0ba 34 Additional rename failure error message.
1cbfe699 35 read/write may be macros.
02c6d3f2 36 clvmd: don't take out lvm thread lock at startup, it only protects jobs list.
47de3990 37
b9565b40 38Version 2.01.07 - 8th March 2005
4c908521 39================================
b9565b40 40 Cope with new devices appearing by rescanning /dev if a uuid can't be found.
8f5d81cb 41 Remove DESTDIR from LVM_SHARED_PATH.
3329bbfd
PC
42 clvmd fixes: make FDs close-on-exec
43 gulm unlocks VG & orphan locks at startup in case they are stale
44 gulm now unlocks VG & orphan locks if client dies.
4c908521 45
9a56fc81
AK
46Version 2.01.06 - 1st March 2005
47================================
aa70fe8b 48 Suppress 'open failed' error messages during scanning.
432cd1e4 49 Option to suppress warnings of file descriptors left open.
f3b0ea28 50 Fix default value of metadatacopies in documentation (2->1).
ce1aa2c3 51 Fix clvmd-gulm locking.
eb3037dd
PC
52 ./configure --enable-debug now enables debugging code in clvmd.
53 Fix clvmd-gulm node up/down code so it actually works.
54 clvmd-gulm now releases locks when shut down.
8b307a08 55
8e3a97ba
AK
56Version 2.01.05 - 18th February 2005
57====================================
58 Static binary invokes dynamic binary if appropriate.
a3dfa1c7 59 Make clvmd config check a little more tolerant.
c9808c32 60 gulm clvmd can now cope with >1 message arriving in a TCP message.
50e3a3f3 61
f1b2dad4 62Version 2.01.04 - 9th February 2005
939a307d 63===================================
f1b2dad4
AK
64 Add fixed offset to imported pool minor numbers.
65 Update binary pathnames in clvmd_init_rhel4.
3ef1acee 66 lvm2cmd.so should skip the check for open fds.
421c2a6a 67 Remove unused -f from pvmove.
28b4320c 68 Gulm clvmd doesn't report "connection refused" errors.
d9656543 69 clvmd does a basic config file sanity check at startup.
ceda2b14 70 Fix potential thread shutdown race in clvmd.
939a307d 71
07a2b9f8 72Version 2.01.03 - 1st February 2005
2efec8b2 73===================================
274c88be 74 More 64-bit display/report fixes.
51c2a813 75 More informative startup mesg if can't create /etc/lvm.
7851b13b 76 Fix snapshot device size bug (since 2.01.01).
c9f9a8b2 77 clvmd announces startup and cluster connection in syslog.
4e224cf0 78 Gulm clvmd doesn't hang trying to talk to a rebooted node.
9549da27 79 Gulm clvmd doesn't print cman error on startup.
2efec8b2 80
a918e733 81Version 2.01.02 - 21st January 2005
c44c015a 82===================================
eaafeaaa 83 Update clvmd_init_rhel4: use lvm.static and don't load dlm.
ed2799e7 84 Fix some size_t printing.
894a05ff 85 Fix 64 bit xlate consts.
da73b38d 86 Split out pool sptype_names to avoid unused const.
52f9afec 87 Always fail if random id generation fails.
c44c015a 88 Recognise gnbd devices.
6f4d25ec
PC
89 Fix clvmd startup bug introduced in cman/gulm amalgamation.
90 Improve reporting of node-specific locking errors.
c44c015a 91
5d0b9f47 92Version 2.01.01 - 19th January 2005
34d9b431 93===================================
5d0b9f47 94 Fix clvmd lv_info_by_lvid open_count.
c45a8a2c 95 Store snapshot and origin sizes separately.
73a9487f 96 Update vgcreate man page.
34d9b431 97
3833b9cc
AK
98Version 2.01.00 - 17th January 2005
99===================================
73543ee7 100 Fix vgscan metadata auto-correction.
e9c761b8 101 Only ask libdevmapper for open_count when we need it.
bfe848e1 102 Adjust RHEL4 clvmd init script priority.
5c7fc7c4 103 Enable building of CMAN & GULM versions of clvmd into a single binary
968b11a9 104
b7b17625
AK
105Version 2.00.33 - 7th January 2005
106==================================
2245e1c4 107 pvcreate wipes first 4 sectors unless given --zero n.
a057a834 108 gulm clvmd now uses new ccsd key names.
67443fad 109 gulm clvmd now doesn't ignore the first node in cluster.conf
0d194755
PC
110 Improve clvmd failure message if it's already running.
111 Allow user to kill clvmd during initialisation.
b9fb9b20 112 Fix off-by-one error in cluster_locking that could cause read hangs.
a057a834 113
01a0beed 114Version 2.00.32 - 22nd December 2004
158fe3d3 115====================================
7e9e9502 116 Drop static/dl restriction for now.
01a0beed 117 Fix an error fprintf.
bc0d0ce0 118 Fix vgdisplay -s. Breaks (undocumented) lvs/pvs/vgs -s instead for now.
165f49ba 119 Fix device reference counting on re-opens.
f6ab00eb 120 Ignore sysfs symlinks when DT_UNKNOWN.
57b08371 121 Add clvmd init script for RHEL4.
d46fd67f 122 Skip devices that are too small to be PVs.
8c9a1d6a 123 Fix pvchange -x segfault with lvm2-format orphan.
9ec48461 124 Cope with empty msdos partition tables.
db1cd377 125 Add CONTRIBUTORS file.
158fe3d3 126
9a2abb82 127Version 2.00.31 - 12th December 2004
6aad6545 128====================================
9a2abb82 129 Reopen RO file descriptors RW if necessary.
6aad6545 130
c4bb9aa6 131Version 2.00.30 - 10th December 2004
0ef6cc3f 132====================================
09a7dce6
AK
133 Additional device-handling debug messages.
134 Additional verbosity level -vvvv includes line numbers and backtraces.
135 Verbose messages now go to stderr not stdout.
136 Close any stray file descriptors before starting.
137 Refine partitionable checks for certain device types.
138 Allow devices/types to override built-ins.
21c42c7f 139 Fix lvreduce man page .i->.I
80b04895 140 Fix vgsplit man page title.
db7e9905 141 Fix clvmd man makefile.
39de4a2a
AK
142 Extend dev_open logging.
143 Make clvmd_fix_conf.sh UNDOable.
0ef6cc3f 144
66f04084
AK
145Version 2.00.29 - 27th November 2004
146====================================
147 xlate compilation fix.
148
bbdab3fc 149Version 2.00.28 - 27th November 2004
a266258f 150====================================
bbdab3fc 151 Fix partition table & md signature detection.
a266258f
AK
152 Minor configure/makefile tidy.
153 Export version.h from tools for clvmd.
154
2e605167 155Version 2.00.27 - 24th November 2004
a614641a 156====================================
c3a4c63c 157 Trap large memory allocation requests.
2e605167 158 Fix to partition table detection code.
7f1e8db7 159 Improve filter debug mesgs.
838ebb83 160 Make clvmd_fix_conf.sh UNDOable
a614641a 161
d528aaa6
AK
162Version 2.00.26 - 23rd November 2004
163====================================
bd46a496 164 Improve pool debugging stats.
985ef461 165 Detect partition table signature.
5ab925de 166 pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.)
b2dd0bb1 167 Separate out md superblock detection code.
0ec78e98
AK
168 Prevent snapshot origin resizing.
169 Improve a vgremove error message.
fcac0642
AK
170 Update some man pages.
171 Allow y/n with -ae args (exclusive activation).
cb8920e6 172 Fixes to lvcreate vgname parsing.
56f5c04d 173 Fix dm_name string size calculation.
bfd4b014 174 Improve clvmd error reporting during startup.
cf541774 175 Make clvmd cope with large gaps in node numbers IDs.
bfd4b014 176 Make clvmd initialisation cope better with debugging output.
63bea03e 177 Tidy clvmd socket callbacks so all work happens outside main loop.
3d4159b6 178 clvmd -V now displays lvm version too.
b1098701 179 Add optional gulm build for clvmd
b44dc25e 180
c3c9d9b0 181Version 2.00.25 - 29th September 2004
f2b2f485 182=====================================
be495a46
AK
183 Fix return code from rm_link for vgmknodes.
184 Make clvmd LV hash table thread-safe.
c3c9d9b0
AK
185 Fix clvmd locking so it will lock out multiple users on the same node.
186 Fix clvmd VG locking to it can cope with multiple VG locks.
187 Remove spurious trailing dot in lvreduce man page.
188 Fix vgremove locking.
f2b2f485 189
f663e437 190Version 2.00.24 - 16th September 2004
5b3d93c8 191=====================================
2b176f90 192 Fix pool_empty so it really does empty the memory pool.
c4ddb31a 193 Rename old segtypes files to segtype.
e26c4fd2
AK
194 Some fixes to memory debugging code.
195 Exclude internal commands formats & segtypes from install.
5b3d93c8 196
47ded66e
AK
197Version 2.00.23 - 15th September 2004
198=====================================
7f64c8e5 199 Export dm name build & split functions.
60bd7179 200 Use O_NOATIME on devices if available.
19d1e710 201 Write log message when each segtype/format gets initialised.
156dd4f1 202 New commands 'segtypes' and 'formats'.
17d1ae7e 203 Suppress pvmove abort message in test mode.
b9ade4bc 204 Improve pvcreate/remove device not found error message.
00b47204 205 Allow pvmove to move data within the same PV.
05503c5e 206 Describe how pvmove works on man page.
68eb9e3b 207 Test for incompatible format/segtype combinations in lv_extend.
075ab744
PC
208 Fix lvchange example on man page.
209
6e047bb5
AK
210Version 2.00.22 - 3rd September 2004
211====================================
b588726e 212 Fix /dev/vgname perms.
f15c75cb
AK
213 Restructure xlate.h.
214 Add clvmd man page.
9c2f42bd 215
311cea83
AK
216Version 2.00.21 - 19th August 2004
217==================================
218 Update cnxman-socket.h from cman.
acac21c4 219 Recognise iseries/vd devices.
cab8ea7c 220 Use 'make install_cluster' to install cluster extensions only.
cf076dd3 221 Cope with DT_UNKNOWN in sysfs.
392b28ec
AK
222 Fix extents_moved metadata size comment.
223 Remove duplicate line in pvremove help text.
224 Support variable mirror region size.
225 Support PE ranges in pvmove source PV.
226 Fixes to as-yet-unused LV segment splitting code.
eabaa339 227 Change alloc_areas to pe_ranges and allow suppression of availability checks.
a303dcde 228 Add dev_size column to pvs.
5fd24a89 229 Add report columns for in-kernel device number.
3b55d300 230
ad6254c5
AK
231Version 2.00.20 - 3 July 2004
232=============================
233 More autoconf fixes.
8bad0339 234 Fix device number handling for 2.6 kernels.
8630c7fb 235
8ce0cbda 236Version 2.00.19 - 29 June 2004
2e15e5e4 237==============================
8ce0cbda
AK
238 Reduce severity of setlocale failure message.
239 Recognise argv[0] "initrd-lvm" (pld-linux).
240 Make -O2 configurable.
80992638
AK
241 Added --disable-selinux to configure script.
242 LD_FLAGS->LDFLAGS & LD_DEPS->LDDEPS in configure script.
243 Add init_debug to clvmd.
2e15e5e4 244
d3c8211f
AK
245Version 2.00.18 - 24 June 2004
246==============================
88be836f 247 Fix vgchange activation.
d3c8211f
AK
248 Add cluster support.
249
809fae91
AK
250Version 2.00.17 - 20 June 2004
251==============================
252 configure --enable-fsadm to try out fsadm. fsadm is not tested yet.
c29d2465 253 Display all filtered devices, not just PVs, with pvs -a.
01c263e9 254 Fix sync_dir() when no / in filename
8d267798 255 vgcfgbackup -f accepts template with %s for VG name.
374df1cf 256 Extend hash functions to handle non-null-terminated data.
b86ef8e2 257 Add local activation support.
b7d0982a 258 Tidy relative paths in makefile includes.
1a9ea74d 259 fsadm support for fsck and resizing - needs testing.
d8ac0fbc 260 Add read-only GFS pool support.
8c670f83 261 Add lvm2create_initrd script from http://poochiereds.net/svn/lvm2/
30bab85b 262 Fix rounding of large diplayed sizes.
7d36b514 263 Suppress decimal point when using units of sectors/bytes.
abaf083d 264 Additional kernel target checks before pvmove & snapshot creation.
2ea0f30f 265 Add i2o_block.
abaf083d 266
ea556d1f 267Version 2.00.16 - 24 May 2004
25579907 268=============================
bfa258b3 269 Set area_count within alloc_lv_segment.
7f0dc9c4 270 Remove error labels from lvresize.
199fa12a 271 Fix a pvs error path.
36cfd887 272 xxchange -ae for exclusive activation.
29e94d95 273 Don't return non-zero status if there aren't any volume groups.
a0a23eff
AK
274 Add --alloc argument to tools.
275 Rename allocation policies to contiguous, normal, anywhere, inherit.
276 nextfree becomes normal; anywhere isn't implemented yet.
277 LV inherits allocation policy from VG. Defaults: LV - inherit; VG - normal
278 Additional status character added to vgs to indicate allocation policy.
b61702ce 279 Add reset_fn to external_locking.
e0a86d8c
AK
280 Ensure presence of virtual targets before attempting activating.
281 Attempt to fix resizing of snapshot origins.
241913fe 282 Restructure lvresize, bringing it closer to lvcreate.
6925cbe6 283 A quick sanity check on vg_disk struct when read in. More checks needed.
ff4b8b64 284 Only include visible LVs in active/open counts.
1832f310
AK
285 Add virtual segment types, zero and error. A large sparse device can be
286constructed as a writeable snapshot of a large zero segment.
287 Add --type to lvcreate/resize.
1d2ebf62
AK
288 Push lv_create & alloc policy up to tool level.
289 Fix pvdisplay return code.
e3adcd79 290 Detect invalid LV names in arg lists.
0e3d9452
AK
291 Reporting uses line-at-a-time output.
292 lvm2 format sets unlimited_vols format flag.
ea601b75
AK
293 Internal-only metadata flag support.
294 Basic checking for presence of device-mapper targets.
cb919290 295 Separate out polldaemon.
23289e6d
AK
296 Revise internal locking semantics.
297 Move find_pv_by_name to library.
0b2b87b7
AK
298 Rename move->copy.
299 Add devices to segments report.
4922197a
AK
300 Begin separating out segment code. There's a lot of change here.
301 Compress any (obsolete) long LVM1 pvids encountered.
25579907
AK
302 Support for tagged config files.
303 Don't abort operations if selinux present but disabled.
304 Fix typo in configure which left HAVE_LIBDL unset.
305
a38df97f
AK
306Version 2.00.15 - 19 Apr 2004
307=============================
308 configure --with-owner= --with-group= to avoid -o and -g args to 'install'
309
96185e9c
AK
310Version 2.00.14 - 16 Apr 2004
311=============================
312 Use 64-bit file functions by default.
313
01c6121b 314Version 2.00.13 - 16 Apr 2004
121c5c06 315=============================
01c6121b
AK
316 Set devices/md_component_detection = 1 to ignore devices containing md
317 superblocks. [Luca Berra]
121c5c06
AK
318 Ignore error setting selinux file context if fs doesn't support it.
319
a218a29c
AK
320Version 2.00.12 - 14 Apr 2004
321=============================
4563e036
AK
322 Install a default lvm.conf into /etc/lvm if there isn't one already.
323 Allow different installation dir for lvm.static (configure --staticdir=)
324 Fix inverted selinux error check.
325 Recognise power2 in /proc/devices.
326 Fix counting in lvs_in_vg_opened. [It ignored devices open more than once.]
327
e5b28125
AK
328Version 2.00.11 - 8 Apr 2004
329============================
330 Set fallback_to_lvm1 in lvm.conf (or configure --enable-lvm1_fallback)
331 to run lvm1 binaries if running a 2.4 kernel without device-mapper.
332
0d0b3357 333Version 2.00.10 - 7 Apr 2004
35030bb0
AK
334============================
335 More fixes for static build.
0d0b3357
AK
336 Add basic selinux support.
337 Fix sysfs detection.
35030bb0 338
6b493d07
AK
339Version 2.00.09 - 31 Mar 2004
340=============================
cd242223
AK
341 Update copyright notices for Red Hat.
342 Fix vgmknodes to remove dud /dev/mapper entries. (libdevmapper update reqd).
343 Add LVM1-style colon output to vgdisplay.
344 lvchange --refresh to reload active LVs.
345 Add string display to memory leak dump.
346 Add locking flags & memlock option.
347 Add list_versions to library.
348 Ignore open hidden LVs when checking if deactivation is OK.
349 Suppress move percentage when device inactive.
350 Add lv_info_by_lvid.
351 Various tidy-ups to the build process.
352 Rebaseline internal verbose level.
353 Add --nolocking option for read operations if locking is failing.
354 Add option to compile into a library.
355 When compiled without libdevmapper, only print warning message once.
356 Fix lvreduce PV extent calculations.
357 Fix DESTDIR to work with configure path overrides.
358 Always use / as config file separator & rename internal config file variables.
359 Add support for tagging PV/VG/LVs and hosts.
360 Fix rare bug in recognition of long cmdline argument forms.
361 Add basic internationalisation infrastructure.
362 Don't recurse symlinked dirs such as /dev/fd on 2.6 kernels.
363 Update autoconf files.
364 Add sysfs block device filtering for 2.6 kernels.
365 Update refs for move to sources.redhat.com.
366
f74d51d9
AK
367Friday 14th November 2003
368=========================
369Some bug fixes & minor enhancements, including:
370 Backwards compatibility with LVM1 metadata improved.
371 Missing man pages written.
372 Tool error codes made more consistent.
373 vgmknodes written.
374 O_DIRECT can be turned off if it doesn't work in your kernel.
b2bb7264 375 dumpconfig to display the active configuration file
f74d51d9
AK
376
377You need to update libdevmapper before using 'vgmknodes' or 'vgscan --mknodes'.
378If your root filesystem is on an LV, you should run one of those two
379commands to fix up the special files in /dev in your real root filesystem
380after finishing with your initrd. Also, remember you can use
381'vgchange --ignorelockingfailure' on your initrd if the tool fails because
382it can't write a lock file to a read-only filesystem.
383
541f8753
AK
384Wednesday 30th April 2003
385=========================
386A pvmove implementation is now available for the new metadata format.
387
388When running a command that allocates space (e.g. lvcreate), you can now
389restrict not only which disk(s) may be used but also the Physical Extents
390on those disks. e.g. lvcreate -L 10 vg1 /dev/hda6:1000-2000:3000-4000
391
392
393Monday 18th November 2002
5a52dca9
AK
394========================
395
396The new format of LVM metadata is ready for you to test!
397 We expect it to be more efficient and more robust than the original format.
398 It's more compact and supports transactional changes and replication.
399 Should things go wrong on a system, it's human-readable (and editable).
400
401Please report any problems you find to the mailing list,
402linux-lvm@sistina.com. The software has NOT yet been thoroughly
403tested and so quite possibly there'll still be some bugs in it.
404Be aware of the disclaimer in the COPYING file.
405
406While testing, we recommend turning logging on in the configuration file
407to provide us with diagnostic information:
408 log {
409 file="/tmp/lvm2.log"
541f8753 410 level=7
5518374b 411 activation=1
5a52dca9
AK
412 }
413
414You should schedule regular backups of your configuration file and
415metadata backups and archives (normally kept under /etc/lvm).
416
417Please read docs/example.conf and "man lvm.conf" to find out more about
418the configuration file.
419
420To convert an existing volume group called vg1 to the new format using
421the default settings, use "vgconvert -M2 vg1". See "man vgconvert".
422
423-M (or --metadatatype in its long form) is a new flag to indicate which
424format of metadata the command should use for anything it creates.
425Currently, the valid types are "lvm1" and "lvm2" and they can be
426abbreviated to "1" and "2" respectively. The default value for this
427flag can be changed in the global section in the config file.
428
429Backwards-compatible support for the original LVM1 metadata format is
430maintained, but it can be moved into a shared library or removed
431completely with configure's --with-lvm1 option.
432
433Under LVM2, the basic unit of metadata is the volume group. Different
434volume groups can use different formats of metadata - vg1 could use
435the original LVM1 format while vg2 used the new format - but you can't
436mix formats within a volume group. So to add a PV to an LVM2-format
437volume group you must run "pvcreate -M2" on it, followed by "vgextend".
438
439With LVM2-format metadata, lvextend will let you specify striping
440parameters. So an LV could consist of two or more "segments" - the
441first segment could have 3 stripes while the second segment has just 2.
442
443LVM2 maintains a backup of the current metadata for each volume group
444in /etc/lvm/backup, and puts copies of previous versions in
445/etc/lvm/archive. "vgcfgbackup" and "vgcfgrestore" can be used to
446create and restore from these files. If you fully understand what
447you're doing, metadata can be changed by editing a copy of a current
448backup file and using vgcfgrestore to reload it.
449
450Please read the pvcreate man page for more information on the new
451format for metadata.
452
453All tools that can change things have a --test flag which can be used
454to check the effect of a set of cmdline args without really making the
455changes.
456
457
458What's not finished?
459====================
460The internal cache. If you turn on debugging output you'll see lots of
914c9723 461repeated messages, many of which will eventually get optimised out.
5a52dca9
AK
462
463--test sometimes causes a command to fail (e.g. vgconvert --test) even
464though the real command would work: again, fixing this is waiting for
465the work on the cache.
466
467Several of the tools do not yet contain the logic to handle full
468recovery: combinations of pvcreate and vgcfgrestore may sometimes be
469needed to restore metadata if a tool gets interrupted or crashes or
470finds something unexpected. This applies particularly to tools that
471work on more than one volume group at once (e.g. vgsplit).
472
473Display output. Some metadata information cannot yet be displayed.
5a52dca9
AK
474
475Recovery tools to salvage "lost" metadata directly from the disks:
476but we hope the new format will mean such tools are hardly ever needed!
477
This page took 0.095023 seconds and 5 git commands to generate.