WHATS_NEW revision 1.1 1 1.1 haad Version 2.02.43 - 10th November 2008
2 1.1 haad ====================================
3 1.1 haad Merge device-mapper into the lvm2 tree.
4 1.1 haad Correct prototype for --permission on lvchange and lvcreate man pages.
5 1.1 haad Exit with non-zero status from vgdisplay if couldn't show any requested VG.
6 1.1 haad Move list.c into libdevmapper and rename functions.
7 1.1 haad Rename a couple of variables that matched function names.
8 1.1 haad Use simplified x.y.z version number in libdevmapper.pc.
9 1.1 haad Remove ancient debian directory.
10 1.1 haad Split out lvm-logging.h from log.h and lvm-globals.[ch] from log.[ch].
11 1.1 haad
12 1.1 haad Version 2.02.42 - 26th October 2008
13 1.1 haad ===================================
14 1.1 haad Accept locking fallback_to_* options in the global section as documented.
15 1.1 haad Fix temp table activation in mirror conversions not to happen in other cmds.
16 1.1 haad Fix temp table in mirror conversions to use always-present error not zero.
17 1.1 haad
18 1.1 haad Version 2.02.41 - 17th October 2008
19 1.1 haad ===================================
20 1.1 haad Use temp table to set device size when converting mirrors.
21 1.1 haad In resume_mirror_images replace activate_lv with resume_lv as workaround.
22 1.1 haad Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE.
23 1.1 haad Fix snapshot monitoring library to not cancel monitoring invalid snapshot.
24 1.1 haad Generate man pages from templates and include version.
25 1.1 haad Add usrlibdir and usrsbindir to configure.
26 1.1 haad Fix conversion of md chunk size into sectors.
27 1.1 haad Free text metadata buffer after a failure writing it.
28 1.1 haad Fix misleading error message when there are no allocatable extents in VG.
29 1.1 haad Fix handling of PVs which reappeared with old metadata version.
30 1.1 haad Fix mirror DSO to call vgreduce with proper parameters.
31 1.1 haad Fix validation of --minor and --major in lvcreate to require -My always.
32 1.1 haad Fix release: clvmd build, vgreduce consolidate & tests, /dev/ioerror warning.
33 1.1 haad
34 1.1 haad Version 2.02.40 - 19th September 2008
35 1.1 haad =====================================
36 1.1 haad Allow lvremove to remove LVs from VGs with missing PVs.
37 1.1 haad In VG with PVs missing, by default allow activation of LVs that are complete.
38 1.1 haad Track PARTIAL_LV and MISSING_PV flags internally.
39 1.1 haad Require --force with --removemissing in vgreduce to remove partial LVs.
40 1.1 haad No longer write out PARTIAL flag into metadata backups.
41 1.1 haad Treat new default activation/missing_stripe_filler "error" as an error target.
42 1.1 haad Remove internal partial_mode.
43 1.1 haad Add devices/md_chunk_alignment to lvm.conf.
44 1.1 haad Pass struct physical_volume to pe_align and adjust for md chunk size.
45 1.1 haad Store sysfs location in struct cmd_context.
46 1.1 haad Avoid shuffling remaining mirror images when removing one, retaining primary.
47 1.1 haad Add missing LV error target activation in _remove_mirror_images.
48 1.1 haad Prevent resizing an LV while lvconvert is using it.
49 1.1 haad Avoid repeatedly wiping cache while VG_GLOBAL is held in vgscan & pvscan.
50 1.1 haad Fix pvresize to not allow resize if PV has two metadata areas.
51 1.1 haad Fix setting of volume limit count if converting to lvm1 format.
52 1.1 haad Fix vgconvert logical volume id metadata validation.
53 1.1 haad Fix lvmdump metadata gather option (-m) to work correctly.
54 1.1 haad Fix allocation bug in text metadata format write error path.
55 1.1 haad Fix vgcfgbackup to properly check filename if template is used.
56 1.1 haad configure aborts if lcov or genhtml are missing with --enable-profiling
57 1.1 haad vgremove tries to remove lv snapshot first.
58 1.1 haad Added function lv_remove_with_dependencies().
59 1.1 haad Improve file descriptor leak detection to display likely culprit and filename.
60 1.1 haad Change clustered mirror kernel module name from cmirror to dm-log-clustered.
61 1.1 haad Avoid looping forever in _pv_analyze_mda_raw used by pvck.
62 1.1 haad Change lvchange exit status to indicate if any part of the operation failed.
63 1.1 haad Fix pvchange and pvremove to handle PVs without mdas.
64 1.1 haad Refactor _text_pv_read and always return mda list if requested.
65 1.1 haad Fix configure to work w/o readline unless --enable-readline used. (2.02.39)
66 1.1 haad Remove is_lvm_partition template which has not yet been coded.
67 1.1 haad Refactor pvcreate to separate parameter parsing from validation logic.
68 1.1 haad Check for label_write() failure in _text_pv_write().
69 1.1 haad Add pvcreate tests and update vgsplit tests to handle lvm1 and lvm2 metadata.
70 1.1 haad Fix pvchange -M1 -u to preserve existing extent locations when there's a VG.
71 1.1 haad Cease recognising snapshot-in-use percentages returned by early devt kernels.
72 1.1 haad Add backward-compatible flags field to on-disk format_text metadata.
73 1.1 haad Fix dmeventd monitoring libraries to link against liblvm2cmd again. (2.02.39)
74 1.1 haad
75 1.1 haad Version 2.02.39 - 27th June 2008
76 1.1 haad ================================
77 1.1 haad Enable readline by default if available.
78 1.1 haad Update autoconf to 2008-01-16.
79 1.1 haad Add $DISTCLEAN_DIRS to make.tmpl.in.
80 1.1 haad Create coverage reports with --enable-profiling and make lcov or lcov-dated.
81 1.1 haad Fix up cache for PVs without mdas after consistent VG metadata is processed.
82 1.1 haad Update validation of safe mirror log type conversions in lvconvert.
83 1.1 haad Fix lvconvert to disallow snapshot and mirror combinations.
84 1.1 haad Fix reporting of LV fields alongside unallocated PV segments.
85 1.1 haad Add --unquoted and --rows to reporting tools.
86 1.1 haad Add and use uninitialized_var() macro to suppress invalid compiler warnings.
87 1.1 haad Introduce enum for md minor sb version to suppress compiler warning.
88 1.1 haad Avoid undefined return value after _memlock manipulation in lvm2_run.
89 1.1 haad Avoid link failure if configured without --enable-cmdlib or --enable-readline.
90 1.1 haad Make clvmd return at once if other nodes down in a gulm or openais cluster.
91 1.1 haad Fix and improve readahead 'auto' calculation for stripe_size.
92 1.1 haad Fix lvchange output for -r auto setting if auto is already set.
93 1.1 haad Add test case for readahead.
94 1.1 haad Avoid ambiguous use of identifier error_message_produced.
95 1.1 haad Begin syncing configure.in for merge/unification with device-mapper.
96 1.1 haad Fix add_mirror_images not to dereference uninitialized log_lv upon failure.
97 1.1 haad Don't call openlog for every debug line output by clvmd.
98 1.1 haad Add --force to lvextend and lvresize.
99 1.1 haad Fix vgchange not to activate component mirror volumes directly.
100 1.1 haad Fix test directory clean up in make distclean.
101 1.1 haad
102 1.1 haad Version 2.02.38 - 11th June 2008
103 1.1 haad ================================
104 1.1 haad Fix tracking of validity of PVs with no mdas in lvmcache.
105 1.1 haad Fix return values for reporting commands when run with no PVs, LVs, or VGs.
106 1.1 haad Add omitted unlock_vg() call when sigint_caught() during vg processing.
107 1.1 haad Fix free_count when reading pool metadata.
108 1.1 haad Fix segfault when using pvcreate on a device containing pool metadata.
109 1.1 haad Fix segfault after _free_vginfo by remembering to remove vginfo from list.
110 1.1 haad Tweak detection of invalid fid after changes to PVs in VG in _vg_read.
111 1.1 haad Revert assuming precommitted metadata is live when activating (unnecessary).
112 1.1 haad Drop cached metadata for disappearing VG in vgmerge.
113 1.1 haad In script-processing mode, stop if any command fails.
114 1.1 haad Warn if command exits with non-zero status code without a prior log_error.
115 1.1 haad Check lv_count in vg_validate.
116 1.1 haad Add --nameprefixes to reporting tools for field name prefix output format.
117 1.1 haad
118 1.1 haad Version 2.02.37 - 6th June 2008
119 1.1 haad ===============================
120 1.1 haad Make clvmd-cman use a hash rather than an array for node updown info.
121 1.1 haad Correct config file line numbers in messages when parsing comments.
122 1.1 haad Drop cached metadata when renaming a VG.
123 1.1 haad Allow for vginfo changing during _vg_read.
124 1.1 haad Decode numbers in clvmd debugging output.
125 1.1 haad Add missing deactivation after activation failure in lvcreate -Zy.
126 1.1 haad When activating, if precommitted metadata is still cached, assume it's live.
127 1.1 haad When removing LV symlinks, skip any where the VG name is not determined.
128 1.1 haad Drop metadata cache if update fails in vg_revert or vg_commit.
129 1.1 haad Avoid spurious duplicate VG messages referring to VGs that are gone.
130 1.1 haad Drop dev_name_confirmed error message to debug level.
131 1.1 haad Fix setpriority error message to signed int.
132 1.1 haad Temporarily disable dmeventd mirror monitoring during lvchange --resync.
133 1.1 haad Refactor some vginfo manipulation code.
134 1.1 haad Add assertions to trap deprecated P_ and V_ lock usage.
135 1.1 haad Add missing mutex around clvmd lvmcache_drop_metadata library call.
136 1.1 haad Fix uninitialised mutex in clvmd if all daemons are not running at startup.
137 1.1 haad Avoid using DLM locks with LCK_CACHE type P_ lock requests.
138 1.1 haad When asked to drop cached committed VG metadata, invalidate cached PV labels.
139 1.1 haad Drop metadata cache before writing precommitted metadata instead of after.
140 1.1 haad Don't touch /dev in vgrename if activation is disabled.
141 1.1 haad
142 1.1 haad Version 2.02.36 - 29th April 2008
143 1.1 haad =================================
144 1.1 haad Fix fsadm.sh to work with older blockdev, blkid & readlink binaries.
145 1.1 haad Fix lvresize to pass new size to fsadm when extending device.
146 1.1 haad Remove unused struct in clvmd-openais, and use correct node count.
147 1.1 haad Fix nodes list in clvmd-openais, and allow for broadcast messages.
148 1.1 haad Exclude VG_GLOBAL from internal concurrent VG lock counter.
149 1.1 haad Fix vgsplit internal counting of snapshot LVs.
150 1.1 haad Fix vgmerge snapshot_count when source VG contains snapshots.
151 1.1 haad Simplify clvmd-openais by using non-async saLckResourceLock.
152 1.1 haad Fix internal LV counter when a snapshot is removed.
153 1.1 haad Fix metadata corruption writing lvm1-formatted metadata with snapshots.
154 1.1 haad Fix lvconvert -m0 allocatable space check.
155 1.1 haad
156 1.1 haad Version 2.02.35 - 15th April 2008
157 1.1 haad =================================
158 1.1 haad Drop cached VG metadata before and after committing changes to it.
159 1.1 haad Rename P_global to P_#global.
160 1.1 haad Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)
161 1.1 haad Don't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)
162 1.1 haad Update vgsplit tests to verify loosening of active LV restriction.
163 1.1 haad Update vgsplit to only restrict split with active LVs involved in split.
164 1.1 haad Add lv_is_active() to determine whether an lv is active.
165 1.1 haad
166 1.1 haad Version 2.02.34 - 10th April 2008
167 1.1 haad =================================
168 1.1 haad Improve preferred_names lvm.conf example.
169 1.1 haad Fix vgdisplay 'Cur LV' field to match lvdisplay output.
170 1.1 haad Fix lv_count report field to exclude hidden LVs.
171 1.1 haad Add vg_is_clustered() helper function.
172 1.1 haad Fix vgsplit to only move hidden 'snapshotN' LVs when necessary.
173 1.1 haad Update vgsplit tests for lvnames on the cmdline.
174 1.1 haad Update vgsplit man page to reflect lvnames on the cmdline.
175 1.1 haad Update vgsplit to take "-n LogicalVolumeName" on the cmdline.
176 1.1 haad Use clustered mirror log with pvmove in clustered VGs, if available.
177 1.1 haad Fix some pvmove error status codes.
178 1.1 haad Fix vgsplit error paths to release vg_to lock.
179 1.1 haad Indicate whether or not VG is clustered in vgcreate log message.
180 1.1 haad Mention default --clustered setting in vgcreate man page.
181 1.1 haad Add config file overrides to clvmd when it reads the active LVs list.
182 1.1 haad Fix vgreduce to use vg_split_mdas to check sufficient mdas remain.
183 1.1 haad Add (empty) orphan VGs to lvmcache during initialisation.
184 1.1 haad Fix orphan VG name used for format_pool.
185 1.1 haad Create a fid for internal orphan VGs.
186 1.1 haad Update lvmcache VG lock state for all locking types now.
187 1.1 haad Fix output if overriding command_names on cmdline.
188 1.1 haad Add detection of clustered mirror log capability.
189 1.1 haad Add check to vg_commit() ensuring VG lock held before writing new VG metadata.
190 1.1 haad Add validation of LV name to pvmove -n.
191 1.1 haad Make clvmd refresh the context correctly when lvm.conf is updated.
192 1.1 haad Add some basic internal VG lock validation.
193 1.1 haad Add per-command flags to control which commands use the VG metadata cache.
194 1.1 haad Fix vgsplit locking of new VG (2.02.30).
195 1.1 haad Avoid erroneous vgsplit error message for new VG. (2.02.29)
196 1.1 haad Suppress duplicate message when lvresize fails because of invalid vgname.
197 1.1 haad Cache VG metadata internally while VG lock is held.
198 1.1 haad Fix redundant lvresize message if vg doesn't exist.
199 1.1 haad Fix another allocation bug with clvmd and large node IDs.
200 1.1 haad Add find_lv_in_lv_list() and find_pv_in_pv_list().
201 1.1 haad Fix uninitialised variable in clvmd that could cause odd hangs.
202 1.1 haad Add vgmerge tests.
203 1.1 haad Add pvseg_is_allocated() for identifying a PV segment allocated to a LV.
204 1.1 haad Add list_move() for moving elements from one list to another.
205 1.1 haad Add 'is_reserved_lvname()' for identifying hidden LVs.
206 1.1 haad Correct command name in lvmdiskscan man page.
207 1.1 haad clvmd no longer crashes if it sees nodeids over 50.
208 1.1 haad Fix potential deadlock in clvmd thread handling.
209 1.1 haad Refactor text format initialisation into _init_text_import.
210 1.1 haad Escape double quotes and backslashes in external metadata and config data.
211 1.1 haad Add functions for escaping double quotes in strings.
212 1.1 haad Rename count_chars_len to count_chars.
213 1.1 haad Use return_0 in a couple more places.
214 1.1 haad Correct a function name typo in _line_append error message.
215 1.1 haad Include limits.h in clvmd so it compiles with newer headers.
216 1.1 haad Add VirtIO disks (virtblk) to filters.
217 1.1 haad Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV. (2.02.30)
218 1.1 haad Fix remove_layer_from_lv to empty the LV before removing it. (2.02.30)
219 1.1 haad Add missing no-longer-used segs_using_this_lv test to check_lv_segments.
220 1.1 haad Remove redundant non-NULL tests before calling free in clvmd.c.
221 1.1 haad Avoid a compiler warning: make is_orphan's parameter const.
222 1.1 haad Fix lvconvert detection of mirror conversion in progress. (2.02.30)
223 1.1 haad Avoid automatic lvconvert polldaemon invocation when -R specified. (2.02.30)
224 1.1 haad Fix 'pvs -a' to detect VGs of PVs without metadata areas.
225 1.1 haad Divide up internal orphan volume group by format type.
226 1.1 haad Update usage message for clvmd.
227 1.1 haad Fix clvmd man page not to print <br> and clarified debug options.
228 1.1 haad Fix lvresize to support /dev/mapper prefix in the LV name.
229 1.1 haad Fix unfilled parameter passed to fsadm from lvresize.
230 1.1 haad Update fsadm to call lvresize if the partition size differs (with option -l).
231 1.1 haad Fix fsadm to support VG/LV names.
232 1.1 haad
233 1.1 haad Version 2.02.33 - 31st January 2008
234 1.1 haad ===================================
235 1.1 haad Fix mirror log name construction during lvconvert. (2.02.30)
236 1.1 haad Make monitor_dev_for_events recurse through the stack of LVs.
237 1.1 haad Clean up some more compiler warnings.
238 1.1 haad Some whitespace tidy-ups.
239 1.1 haad Use stack return macros throughout.
240 1.1 haad Rely upon internally-cached PV labels while corresponding VG lock is held.
241 1.1 haad
242 1.1 haad Version 2.02.32 - 29th January 2008
243 1.1 haad ===================================
244 1.1 haad Fix two check_lv_segments error messages to show whole segment.
245 1.1 haad Refactor mirror log attachment code.
246 1.1 haad Fix internal metadata corruption in lvchange --resync. (2.02.30)
247 1.1 haad Fix new parameter validation in vgsplit and test mode. (2.02.30)
248 1.1 haad Remove redundant cnxman-socket.h file from clvmd directory.
249 1.1 haad Fix pvs, vgs, lvs error exit status on some error paths.
250 1.1 haad
251 1.1 haad Version 2.02.31 - 19th January 2008
252 1.1 haad ===================================
253 1.1 haad Fix lvcreate --nosync not to wait for non-happening sync. (2.02.30)
254 1.1 haad Add very_verbose lvconvert messages.
255 1.1 haad Avoid readahead error message with default setting of lvcreate -M1. (2.02.29)
256 1.1 haad
257 1.1 haad Version 2.02.30 - 17th January 2008
258 1.1 haad ===================================
259 1.1 haad Set default readahead to twice maximium stripe size.
260 1.1 haad Reinstate VG extent size and stripe size defaults (halved). (2.02.29)
261 1.1 haad Add lists of stacked LV segments using each LV to the internal metadata.
262 1.1 haad Change vgsplit -l (for unimplemented --list) into --maxlogicalvolumes.
263 1.1 haad Fix process_all_pvs to detect non-orphans with no MDAs correctly.
264 1.1 haad Don't use block_on_error with mirror targets version 1.12 and above.
265 1.1 haad Update vgsplit to accept vgcreate options when new VG is destination.
266 1.1 haad Update vgsplit to accept existing VG as destination.
267 1.1 haad lvconvert waits for completion of initial sync by default.
268 1.1 haad Refactor vgcreate for parameter validation and add tests.
269 1.1 haad Add new convert_lv field to lvs output.
270 1.1 haad Print warning when lvm tools are running as non-root.
271 1.1 haad Add snapshot dmeventd library (enables dmeventd snapshot monitoring).
272 1.1 haad Prevent pvcreate from overwriting MDA-less PVs belonging to active VGs.
273 1.1 haad Fix a segfault if using pvs with --all argument. (2.02.29)
274 1.1 haad Update --uuid argument description in man pages.
275 1.1 haad Fix vgreduce PV list processing not to process every PV in the VG. (2.02.29)
276 1.1 haad Extend lvconvert to use polldaemon.
277 1.1 haad Add support for stacked mirrors.
278 1.1 haad Major restructuring of pvmove and lvconvert layer manipulation code.
279 1.1 haad Replace tools/fsadm with scripts/fsadm.sh.
280 1.1 haad Append fields to report/pvsegs_cols_verbose.
281 1.1 haad Permit LV segment fields with PV segment reports.
282 1.1 haad Add seg_start_pe and seg_pe_ranges to reports.
283 1.1 haad
284 1.1 haad Version 2.02.29 - 5th December 2007
285 1.1 haad ===================================
286 1.1 haad Make clvmd backup vg metadata on remote nodes.
287 1.1 haad Refactor pvmove allocation code.
288 1.1 haad Decode cluster locking state in log message.
289 1.1 haad Change file locking state messages from debug to very verbose.
290 1.1 haad Fix --addtag to drop @ prefix from name.
291 1.1 haad Stop clvmd going haywire if a pre_function fails.
292 1.1 haad Convert some vg_reads into vg_lock_and_reads.
293 1.1 haad Avoid nested vg_reads when processing PVs in VGs and fix associated locking.
294 1.1 haad Accept sizes with --readahead argument.
295 1.1 haad Store size arguments as sectors internally.
296 1.1 haad Attempt to remove incomplete LVs with lvcreate zeroing/activation problems.
297 1.1 haad Add read_ahead activation code.
298 1.1 haad Add activation/readahead configuration option and FMT_RESTRICTED_READAHEAD.
299 1.1 haad Extend readahead arg to accept "auto" and "none".
300 1.1 haad Add lv_read_ahead and lv_kernel_read_ahead fields to reports and lvdisplay.
301 1.1 haad Prevent lvconvert -s from using same LV as origin and snapshot.
302 1.1 haad Fix human-readable output of odd numbers of sectors.
303 1.1 haad Add pv_mda_free and vg_mda_free fields to reports for raw text format.
304 1.1 haad Add LVM2 version to 'Generated by' comment in metadata.
305 1.1 haad Show 'not usable' space when PV is too large for device in pvdisplay.
306 1.1 haad Ignore and fix up any excessive device size found in metadata.
307 1.1 haad Fix error message when fixing up PV size in lvm2 metadata (2.02.11).
308 1.1 haad Fix orphan-related locking in pvdisplay and pvs.
309 1.1 haad Fix missing VG unlocks in some pvchange error paths.
310 1.1 haad Add some missing validation of VG names.
311 1.1 haad Rename validate_vg_name() to validate_new_vg_name().
312 1.1 haad Change orphan lock to VG_ORPHANS.
313 1.1 haad Change format1 to use ORPHAN as orphan VG name.
314 1.1 haad Convert pvchange, pvdisplay, pvscan to use is_orphan()
315 1.1 haad Add is_orphan_vg() and change all hard-coded checks to use it.
316 1.1 haad Detect md superblocks version 1.0, 1.1 and 1.2.
317 1.1 haad Add _alloc_pv() and _free_pv() from _pv_create() code and fix error paths.
318 1.1 haad Add pv_dev_name() to access PV device name.
319 1.1 haad Add const attributes to pv accessor functions.
320 1.1 haad Refactor vg_add_snapshot() and lv_create_empty().
321 1.1 haad Handle new sysfs subsystem/block/devices directory structure.
322 1.1 haad Run test with LVM_SYSTEM_DIR pointing to private root and /dev dirs.
323 1.1 haad Fix a bug in lvm_dump.sh checks for lvm/dmsetup binaries.
324 1.1 haad Fix underquotations in lvm_dump.sh.
325 1.1 haad Refactor lvcreate stripe and mirror parameter validation.
326 1.1 haad Print --help output to stdout, not stderr.
327 1.1 haad After a cmdline processing error, don't print help text but suggest --help.
328 1.1 haad Add %PVS extents option to lvresize, lvextend, and lvcreate.
329 1.1 haad Add 'make check' to run tests in new subdirectory 'test'.
330 1.1 haad Moved the obsolete test subdirectory to old-tests.
331 1.1 haad Cope with relative paths in configure --with-dmdir.
332 1.1 haad Remove no-longer-correct restrictions on PV arg count with stripes/mirrors.
333 1.1 haad Fix strdup memory leak in str_list_dup().
334 1.1 haad Link with -lpthread when static SELinux libraries require that.
335 1.1 haad Detect command line PE values that exceed their 32-bit range.
336 1.1 haad Include strerror string in dev_open_flags' stat failure message.
337 1.1 haad Move guts of pvresize into library.
338 1.1 haad Avoid error when --corelog is provided without --mirrorlog. (2.02.28)
339 1.1 haad Correct --mirrorlog argument name in man pages (not --log).
340 1.1 haad Clear MIRROR_NOTSYNCED LV flag when converting from mirror to linear.
341 1.1 haad Modify lvremove to prompt for removal if LV active on other cluster nodes.
342 1.1 haad Add '-f' to vgremove to force removal of VG even if LVs exist.
343 1.1 haad
344 1.1 haad Version 2.02.28 - 24th August 2007
345 1.1 haad ==================================
346 1.1 haad Fix clvmd logging so you can get lvm-level debugging out of it.
347 1.1 haad Introduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.
348 1.1 haad Change locking_flags from int to uint32_t.
349 1.1 haad Fix clvmd -R, so it fully refreshes the caches.
350 1.1 haad Change lvconvert_mirrors to use mirror segtype not striped.
351 1.1 haad Fix lvconvert_mirrors detection of number of existing mirrors.
352 1.1 haad Clean up numerous compiler warnings that appeared in recent releases.
353 1.1 haad Remove several unused parameters from _allocate().
354 1.1 haad Only permit --force, --verbose and --debug arguments to be repeated.
355 1.1 haad Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
356 1.1 haad Move guts of vgremove and lvremove into library, including yes_no_prompt.
357 1.1 haad Allow clvmd debug to be turned on in a running daemon using clvmd -d [-C].
358 1.1 haad Update to use autoconf 2.61, while still supporting 2.57.
359 1.1 haad Add more cluster info to lvmdump.
360 1.1 haad Add further const attributes throughout.
361 1.1 haad Add support for renaming mirrored LVs.
362 1.1 haad Factor out core of lvrename() to library function.
363 1.1 haad Add --mirrorlog argument to specify log type for mirrors.
364 1.1 haad Don't attempt to monitor devices if their creation failed in _lv_activate.
365 1.1 haad Don't leak a file descriptor in fcntl_lock_file() when fcntl fails.
366 1.1 haad Replace create_dir with dm_create_dir.
367 1.1 haad Detect stream write failure reliably with lvm_fclose using dm_fclose.
368 1.1 haad Fix clvmd if compiled with gulm support. (2.02.26)
369 1.1 haad Fix lvdisplay man page to say LV size is reported in sectors, not KB.
370 1.1 haad Add vg_lock_and_read() external library function.
371 1.1 haad Fix loading of persistent cache if cache_dir is used. (2.02.23)
372 1.1 haad Reduce _compare_paths lstat error message from log_error to log_very_verbose.
373 1.1 haad Create util.h with last_path_component replacing strdup + basename.
374 1.1 haad Use gcc's printf attribute wherever possible.
375 1.1 haad In _line_append, use "sizeof buf - 1" rather than equivalent "4095".
376 1.1 haad Introduce is_same_inode macro, now including a comparison of st_dev.
377 1.1 haad Don't leak a file descriptor in _lock_file() when flock fails.
378 1.1 haad Add SUN's LDOM virtual block device (vdisk) and ps3disk to filters.
379 1.1 haad Split metadata-external.h out from metadata.h for the tools to use.
380 1.1 haad
381 1.1 haad Version 2.02.27 - 17th July 2007
382 1.1 haad ================================
383 1.1 haad Fix snapshot cow area deactivation if origin is not active. (2.02.13)
384 1.1 haad Fix configure libdevmapper.h check when --with-dmdir is used.
385 1.1 haad Turn _add_pv_to_vg() into external library function add_pv_to_vg().
386 1.1 haad Add pv_by_path() external library function.
387 1.1 haad Tidy clvmd-openais of redundant bits, and improve an error report.
388 1.1 haad Cope with find_seg_by_le() failure in check_lv_segments().
389 1.1 haad Call dev_iter_destroy() if _process_all_devs() is interrupted by sigint.
390 1.1 haad Add vg_mda_count and pv_mda_count columns to reports.
391 1.1 haad Fix dumpconfig to use log_print instead of stdout directly.
392 1.1 haad Remove unused parameter 'fid' from _add_pv_to_vg.
393 1.1 haad Add kernel and device-mapper targets versions to lvmdump.
394 1.1 haad Replace BSD (r)index with C89 str(r)chr.
395 1.1 haad Handle vgsplit of an entire VG as a vgrename.
396 1.1 haad Reinitialise internal lvmdiskscan variables when called repeatedly.
397 1.1 haad Fix missing lvm_shell symbol in lvm2cmd library. (2.02.23)
398 1.1 haad Add vg_status function and clean up vg->status in tools directory.
399 1.1 haad Add --ignoremonitoring to disable all dmeventd interaction.
400 1.1 haad Remove get_ prefix from get_pv_* functions.
401 1.1 haad clvmd-openais now uses cpg_local_get() to get nodeid, rather than Clm.
402 1.1 haad Print warnings to stderr instead of stdout.
403 1.1 haad
404 1.1 haad Version 2.02.26 - 15th June 2007
405 1.1 haad ================================
406 1.1 haad Update vgcfgrestore man page.
407 1.1 haad Allow keyboard interrupt during user prompts when appropriate.
408 1.1 haad Remove unused clvmd system-lv code.
409 1.1 haad Replace many physical_volume struct dereferences with new get_pv_* functions.
410 1.1 haad Suppress a benign compile-time warning.
411 1.1 haad Convert find_pv_in_vg_by_uuid and pv_create to use PV handles.
412 1.1 haad Add wrappers to some functions in preparation for external LVM library.
413 1.1 haad Add -f to vgcfgrestore to list metadata backup files.
414 1.1 haad Add vg_check_status to consolidate vg status checks and error messages.
415 1.1 haad Add pvdisplay --maps implementation.
416 1.1 haad Remove unsupported LVM1 options from vgcfgrestore man page.
417 1.1 haad Update vgcfgrestore man page to show mandatory VG name.
418 1.1 haad Update vgrename man page to include UUID and be consistent with lvrename.
419 1.1 haad Add (experimental) OpenAIS support to clvmd.
420 1.1 haad Fix deactivation code to follow dependencies and remove symlinks.
421 1.1 haad Fix and clarify vgsplit error messages.
422 1.1 haad Fix a segfault in device_is_usable() if a device has no table.
423 1.1 haad Add some more debug messages to clvmd startup.
424 1.1 haad Misc clvmd cleanups.
425 1.1 haad
426 1.1 haad Version 2.02.25 - 27th April 2007
427 1.1 haad =================================
428 1.1 haad Fix get_config_uint64() to read a 64-bit value not a 32-bit one.
429 1.1 haad Add -Wformat-security and change one fprintf() to fputs().
430 1.1 haad Move regex functions into libdevmapper.
431 1.1 haad Change some #include lines to search only standard system directories.
432 1.1 haad Add devices/preferred_names config regex list for displayed device names.
433 1.1 haad Free a temporary dir string in fcntl_lock_file() after use.
434 1.1 haad Fix a dm_pool_destroy() in matcher_create().
435 1.1 haad Introduce goto_bad macro.
436 1.1 haad Fix warnings on x86_64 involving ptrdiff_t in log_error messages.
437 1.1 haad Update pvck to include text metadata area and record detection.
438 1.1 haad Add support functions for token counting in config file extracts.
439 1.1 haad Update pvck to read labels on disk, with --labelsector parameter.
440 1.1 haad Add count_chars and count_chars_len functions.
441 1.1 haad Add /sys/block listings to lvm_dump.sh.
442 1.1 haad Make lvm_dump.sh list /dev recursively.
443 1.1 haad Fix thread race in clvmd.
444 1.1 haad Add scan_sector param to label_read and _find_labeller.
445 1.1 haad Make clvmd cope with quorum devices.
446 1.1 haad Add extra internal error checking to clvmd.
447 1.1 haad Add dev_read_circular.
448 1.1 haad Add pvck command stub.
449 1.1 haad Update lists of attribute characters in man pages.
450 1.1 haad Change cling alloc policy attribute character from 'C' to l'.
451 1.1 haad Fix creation and conversion of mirrors with tags.
452 1.1 haad Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
453 1.1 haad Split metadata areas in vgsplit properly.
454 1.1 haad
455 1.1 haad Version 2.02.24 - 19th March 2007
456 1.1 haad =================================
457 1.1 haad Fix processing of exit status in init scripts
458 1.1 haad Fix vgremove to require at least one vg argument.
459 1.1 haad Fix reading of striped LVs in LVM1 format.
460 1.1 haad Flag nolocking as clustered so clvmd startup sees clustered LVs. (2.02.10)
461 1.1 haad Add a few missing pieces of vgname command line validation.
462 1.1 haad Support the /dev/mapper prefix on most command lines.
463 1.1 haad
464 1.1 haad Version 2.02.23 - 8th March 2007
465 1.1 haad ================================
466 1.1 haad Fix vgrename active LV check to ignore differing vgids.
467 1.1 haad Remove no-longer-used uuid_out parameter from activation info functions.
468 1.1 haad Fix two more segfaults if an empty config file section encountered.
469 1.1 haad Move .cache file into a new /etc/lvm/cache directory by default.
470 1.1 haad Add devices/cache_dir & devices/cache_file_prefix, deprecating devices/cache.
471 1.1 haad Create directory in fcntl_lock_file() if required.
472 1.1 haad Exclude readline support from lvm.static.
473 1.1 haad Fix a leak in a reporting error path (2.02.19).
474 1.1 haad
475 1.1 haad Version 2.02.22 - 13th February 2007
476 1.1 haad ====================================
477 1.1 haad Correct -b and -P on a couple of man pages.
478 1.1 haad Add global/units to example.conf.
479 1.1 haad Fix loading of segment_libraries.
480 1.1 haad If a PV reappears after it was removed from its VG, make it an orphan.
481 1.1 haad Don't update metadata automatically if VGIDs don't match.
482 1.1 haad Fix some vgreduce --removemissing command line validation.
483 1.1 haad
484 1.1 haad Version 2.02.21 - 30th January 2007
485 1.1 haad ===================================
486 1.1 haad Add warning to lvm2_monitoring_init_rhel4 if attempting to stop monitoring.
487 1.1 haad Fix vgsplit to handle mirrors.
488 1.1 haad Reorder fields in reporting field definitions.
489 1.1 haad Fix vgs to treat args as VGs even when PV fields are displayed.
490 1.1 haad Fix md signature check to handle both endiannesses.
491 1.1 haad
492 1.1 haad Version 2.02.20 - 25th January 2007
493 1.1 haad ===================================
494 1.1 haad dmeventd mirror sets ignore_suspended_devices and avoids scanning mirrors.
495 1.1 haad Add devices/ignore_suspended_devices to ignore suspended dm devices.
496 1.1 haad Add some missing close() and fclose() return code checks.
497 1.1 haad Fix exit statuses of reporting tools (2.02.19).
498 1.1 haad Add init script for dmeventd monitoring.
499 1.1 haad lvm.static no longer interacts with dmeventd unless explicitly asked to.
500 1.1 haad Add field definitions to report help text.
501 1.1 haad Remove unnecessary cmd arg from target_*monitor_events().
502 1.1 haad Add private variable to dmeventd shared library interface.
503 1.1 haad Long-lived processes write out persistent dev cache in refresh_toolcontext().
504 1.1 haad Fix refresh_toolcontext() always to wipe persistent device filter cache.
505 1.1 haad Add is_long_lived to toolcontext.
506 1.1 haad Add --clustered to man pages.
507 1.1 haad Streamline dm_report_field_* interface.
508 1.1 haad Change remaining dmeventd terminology 'register' to 'monitor'.
509 1.1 haad Update reporting man pages.
510 1.1 haad No longer necessary to specify alignment type for report fields.
511 1.1 haad
512 1.1 haad Version 2.02.19 - 17th January 2007
513 1.1 haad ===================================
514 1.1 haad Fix a segfault if an empty config file section encountered.
515 1.1 haad Move basic reporting functions into libdevmapper.
516 1.1 haad Fix partition table processing after sparc changes (2.02.16).
517 1.1 haad Fix cmdline PE range processing segfault (2.02.13).
518 1.1 haad Some libdevmapper-event interface changes.
519 1.1 haad Report dmeventd mirror monitoring status.
520 1.1 haad Fix dmeventd mirror status line processing.
521 1.1 haad
522 1.1 haad Version 2.02.18 - 11th January 2007
523 1.1 haad ===================================
524 1.1 haad Revised libdevmapper-event interface for dmeventd.
525 1.1 haad Remove dmeventd mirror status line word limit.
526 1.1 haad Use CFLAGS when linking so mixed sparc builds can supply -m64.
527 1.1 haad Prevent permission changes on active mirrors.
528 1.1 haad Print warning instead of error message if lvconvert cannot zero volume.
529 1.1 haad Add snapshot options to lvconvert man page.
530 1.1 haad dumpconfig accepts a list of configuration variables to display.
531 1.1 haad Change dumpconfig to use --file to redirect output to a file.
532 1.1 haad Avoid vgreduce error when mirror code removes the log LV.
533 1.1 haad Remove 3 redundant AC_MSG_RESULTs from configure.in.
534 1.1 haad Free memory in _raw_read_mda_header() error paths.
535 1.1 haad Fix ambiguous vgsplit error message for split LV.
536 1.1 haad Fix lvextend man page typo.
537 1.1 haad Add configure --with-dmdir to compile against a device-mapper source tree.
538 1.1 haad Use no flush suspending for mirrors.
539 1.1 haad Add dmeventd_mirror register_mutex, tidy initialisation & add memlock.
540 1.1 haad Fix create mirror with name longer than 22 chars.
541 1.1 haad Fix some activate.c prototypes when compiled without devmapper.
542 1.1 haad Fix dmeventd mirror to cope if monitored device disappears.
543 1.1 haad
544 1.1 haad Version 2.02.17 - 14th December 2006
545 1.1 haad ====================================
546 1.1 haad Add missing pvremove error message when device doesn't exist.
547 1.1 haad When lvconvert allocates a mirror log, respect parallel area constraints.
548 1.1 haad Use loop to iterate through the now-ordered policy list in _allocate().
549 1.1 haad Check for failure to allocate just the mirror log.
550 1.1 haad Introduce calc_area_multiple().
551 1.1 haad Support mirror log allocation when there is only one PV: area_count now 0.
552 1.1 haad Fix detection of smallest area in _alloc_parallel_area() for cling policy.
553 1.1 haad Add manpage entry for clvmd -T
554 1.1 haad Fix gulm operation of clvmd, including a hang when doing lvchange -aey
555 1.1 haad Fix hang in clvmd if a pre-command failed.
556 1.1 haad
557 1.1 haad Version 2.02.16 - 1st December 2006
558 1.1 haad ===================================
559 1.1 haad Fix VG clustered read locks to use PR not CR.
560 1.1 haad Adjust some alignments for ia64/sparc.
561 1.1 haad Fix mirror segment removal to use temporary error segment.
562 1.1 haad Always compile debug logging into clvmd.
563 1.1 haad Add startup timeout to RHEL4 clvmd startup script.
564 1.1 haad Add -T (startup timeout) switch to clvmd.
565 1.1 haad Improve lvm_dump.sh robustness.
566 1.1 haad Update lvm2create_initrd to support gentoo.
567 1.1 haad
568 1.1 haad Version 2.02.15 - 21st November 2006
569 1.1 haad ====================================
570 1.1 haad Fix clvmd_init_rhel4 line truncation (2.02.14).
571 1.1 haad Install lvmdump by default.
572 1.1 haad Fix check for snapshot module when activating snapshot.
573 1.1 haad Fix pvremove error path for case when PV is in use.
574 1.1 haad Warn if certain duplicate config file entries are seen.
575 1.1 haad Enhance lvm_dump.sh for sysreport integration and add man page.
576 1.1 haad Fix --autobackup argument which could never disable backups.
577 1.1 haad Fix a label_verify error path.
578 1.1 haad
579 1.1 haad Version 2.02.14 - 10th November 2006
580 1.1 haad ====================================
581 1.1 haad Fix adjusted_mirror_region_size() to handle 64-bit size.
582 1.1 haad Add some missing bounds checks on 32-bit extent counters.
583 1.1 haad Add Petabyte and Exabyte support.
584 1.1 haad Fix lvcreate error message when 0 extents requested.
585 1.1 haad lvremove man page: volumes must be cluster inactive before being removed.
586 1.1 haad Protect .cache manipulations with fcntl locking.
587 1.1 haad Change .cache timestamp comparisons to use ctime.
588 1.1 haad Fix mirror log LV writing to set all bits in whole LV.
589 1.1 haad Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
590 1.1 haad Fix high-level free space check for partial allocations.
591 1.1 haad
592 1.1 haad Version 2.02.13 - 27th October 2006
593 1.1 haad ===================================
594 1.1 haad Add couple of missing files to tools/Makefile CLEAN_TARGETS.
595 1.1 haad When adding snapshot leave cow LV mapped device active after zeroing.
596 1.1 haad Fix a clvmd debug message.
597 1.1 haad Add dev_flush() to set_lv().
598 1.1 haad Add lvchange --resync.
599 1.1 haad Perform high-level free space check before each allocation attempt.
600 1.1 haad Don't allow a node to remove an LV that's exclusively active on anther node.
601 1.1 haad Cope if same PV is included more than once in cmdline PE range list.
602 1.1 haad Set PV size to current device size if it is found to be zero.
603 1.1 haad Add segment parameter to target_present functions.
604 1.1 haad
605 1.1 haad Version 2.02.12 - 16th October 2006
606 1.1 haad ===================================
607 1.1 haad Fix pvdisplay to use vg_read() for non-orphans.
608 1.1 haad Fall back to internal locking if external locking lib is missing or fails.
609 1.1 haad Retain activation state after changing LV minor number with --force.
610 1.1 haad Propagate clustered flag in vgsplit and require resizeable flag.
611 1.1 haad
612 1.1 haad Version 2.02.11 - 12th October 2006
613 1.1 haad ===================================
614 1.1 haad Add clvmd function to return the cluster name. not used by LVM yet.
615 1.1 haad Add cling allocation policy.
616 1.1 haad Change _check_contiguous() to use _for_each_pv().
617 1.1 haad Extend _for_each_pv() to allow termination without error.
618 1.1 haad Abstract _is_contiguous().
619 1.1 haad Remove duplicated pv arg from _check_contiguous().
620 1.1 haad Accept regionsize with lvconvert.
621 1.1 haad Add report columns with underscore before field names ending 'size'.
622 1.1 haad Correct regionsize default on lvcreate man page (MB).
623 1.1 haad Fix clvmd bug that could cause it to die when a node with a long name crashed.
624 1.1 haad Add device size to text metadata.
625 1.1 haad Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
626 1.1 haad Fix _for_each_pv() for mirror with core log.
627 1.1 haad Add lvm_dump.sh script to create a tarball of debugging info from a system.
628 1.1 haad Capture error messages in clvmd and pass them back to the user.
629 1.1 haad Remove unused #defines from filter-md.c.
630 1.1 haad Make clvmd restart init script wait until clvmd has died before starting it.
631 1.1 haad Add -R to clvmd which tells running clvmds to reload their device cache.
632 1.1 haad Add LV column to reports listing kernel modules needed for activation.
633 1.1 haad Show available fields if report given invalid field. (e.g. lvs -o list)
634 1.1 haad Add timestamp functions with --disable-realtime configure option.
635 1.1 haad Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
636 1.1 haad Fix two potential NULL pointer derefs in error cases in vg_read().
637 1.1 haad Separate --enable-cluster from locking lib options in lvmconf.sh.
638 1.1 haad Add a missing comma in lvcreate man page.
639 1.1 haad
640 1.1 haad Version 2.02.10 - 19th September 2006
641 1.1 haad =====================================
642 1.1 haad Fix lvconvert mirror change case detection logic.
643 1.1 haad Fix mirror log detachment so it correctly becomes a standalone LV.
644 1.1 haad Extend _check_contiguous() to detect single-area LVs.
645 1.1 haad Include mirror log (untested) in _for_each_pv() processing.
646 1.1 haad Use MIRROR_LOG_SIZE constant.
647 1.1 haad Remove struct seg_pvs from _for_each_pv() to generalise.
648 1.1 haad Avoid adding duplicates to list of parallel PVs to avoid.
649 1.1 haad Fix several incorrect comparisons in parallel area avoidance code.
650 1.1 haad Fix segment lengths when flattening existing parallel areas.
651 1.1 haad Log existing parallel areas prior to allocation.
652 1.1 haad Fix mirror log creation when activation disabled.
653 1.1 haad Don't attempt automatic recovery without proper locking.
654 1.1 haad When using local file locking, skip clustered VGs.
655 1.1 haad Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
656 1.1 haad lvm.static uses built-in cluster locking instead of external locking.
657 1.1 haad Don't attempt to load shared libraries if built statically.
658 1.1 haad Change default locking_lib to liblvm2clusterlock.so.
659 1.1 haad Add skip_dev_dir() to process command line VGs.
660 1.1 haad Stop clvmd complaining about nodes that have left the cluster.
661 1.1 haad Move lvm_snprintf(), split_words() and split_dm_name() into libdevmapper.
662 1.1 haad Add lvconvert man page.
663 1.1 haad Add mirror options to man pages.
664 1.1 haad Prevent mirror renames.
665 1.1 haad Move CMDLIB code into separate file and record whether static build.
666 1.1 haad
667 1.1 haad Version 2.02.09 - 17th August 2006
668 1.1 haad ==================================
669 1.1 haad Fix PE_ALIGN for pagesize over 32KB.
670 1.1 haad Separate out LVM1_PE_ALIGN and pe_align().
671 1.1 haad Add lvm_getpagesize wrapper.
672 1.1 haad Add --maxphysicalvolumes to vgchange.
673 1.1 haad
674 1.1 haad Version 2.02.08 - 15th August 2006
675 1.1 haad ==================================
676 1.1 haad Add checks for duplicate LV name, lvid and PV id before writing metadata.
677 1.1 haad Report all sanity check failures, not just the first.
678 1.1 haad Fix missing lockfs on first snapshot creation.
679 1.1 haad Add unreliable --trustcache option to reporting commands.
680 1.1 haad Fix locking for mimage removal.
681 1.1 haad Fix clvmd_init_rhel4 'status' exit code.
682 1.1 haad
683 1.1 haad Version 2.02.07 - 17th July 2006
684 1.1 haad ================================
685 1.1 haad Fix activation logic in lvchange --persistent.
686 1.1 haad Don't ignore persistent minor numbers when activating.
687 1.1 haad Use RTLD_GLOBAL when loading shared libraries.
688 1.1 haad Add some forgotten memlock checks to _vg_read to protect against full scans.
689 1.1 haad Add mutex to dmeventd_mirror to avoid concurrent execution.
690 1.1 haad Fix vgreduce --removemissing to return success if VG is already consistent.
691 1.1 haad Fix return code if VG specified on command line is not found.
692 1.1 haad Fix PV tools to include orphaned PVs in default output again.
693 1.1 haad Fixed unaligned access when using clvm.
694 1.1 haad Fix an extra dev_close in a label_read error path.
695 1.1 haad Append patches to commit emails.
696 1.1 haad Fix target_register_events args.
697 1.1 haad Prevent snapshots of mirrors.
698 1.1 haad Add DISTCLEAN_TARGETS to make template for configure.h.
699 1.1 haad More fixes to error paths.
700 1.1 haad Fix lvcreate corelog validation.
701 1.1 haad Add --config for overriding most config file settings from cmdline.
702 1.1 haad Quote arguments when printing command line.
703 1.1 haad Remove linefeed from 'initialising logging' message.
704 1.1 haad Add 'Completed' debug message.
705 1.1 haad Don't attempt library exit after reloading config files.
706 1.1 haad Always compile with libdevmapper, even if device-mapper is disabled.
707 1.1 haad
708 1.1 haad Version 2.02.06 - 12th May 2006
709 1.1 haad ===============================
710 1.1 haad Propagate --monitor around cluster.
711 1.1 haad Add --monitor to vgcreate and lvcreate to control dmeventd registration.
712 1.1 haad Filter LCK_NONBLOCK in clvmd lock_vg.
713 1.1 haad Add --nosync to lvcreate with LV flag NOTSYNCED.
714 1.1 haad Use mirror's uuid for a core log.
715 1.1 haad Add mirror log fault-handling policy.
716 1.1 haad Improve mirror warning messages and tidy dmeventd syslog output.
717 1.1 haad Propagate nosync flag around cluster.
718 1.1 haad Allow vgreduce to handle mirror log failures.
719 1.1 haad Add --corelog to lvcreate and lvconvert.
720 1.1 haad Create a log header for replacement in-sync mirror log.
721 1.1 haad Use set_lv() and dev_set() to wipe sections of devices.
722 1.1 haad Add mirror_in_sync() flag to avoid unnecessary resync on activation.
723 1.1 haad Add mirror_library description to example.conf.
724 1.1 haad Fix uuid_from_num() buffer overrun.
725 1.1 haad Make SIZE_SHORT the default for display_size().
726 1.1 haad Fix some memory leaks in error paths found by coverity.
727 1.1 haad Use C99 struct initialisers.
728 1.1 haad Move DEFS into configure.h.
729 1.1 haad Clean-ups to remove miscellaneous compiler warnings.
730 1.1 haad Improve stripe size validation.
731 1.1 haad Increase maximum stripe size limit to physical extent size for lvm2 metadata.
732 1.1 haad Fix activation code to check for pre-existing mirror logs.
733 1.1 haad Tighten region size validation.
734 1.1 haad Ignore empty strings in config files.
735 1.1 haad Require non-zero regionsize and document parameter on lvcreate man page.
736 1.1 haad Invalidate cache if composition of VG changed externally.
737 1.1 haad
738 1.1 haad Version 2.02.05 - 21st April 2006
739 1.1 haad =================================
740 1.1 haad Fix vgid string termination in recent cache code.
741 1.1 haad
742 1.1 haad Version 2.02.04 - 19th April 2006
743 1.1 haad =================================
744 1.1 haad Check for libsepol.
745 1.1 haad Add some cflow & scope support.
746 1.1 haad Separate out DEFS from CFLAGS.
747 1.1 haad Remove inlines and use unique function names.
748 1.1 haad
749 1.1 haad Version 2.02.03 - 14th April 2006
750 1.1 haad =================================
751 1.1 haad vgrename accepts vgid and exported VG.
752 1.1 haad Add --partial to pvs.
753 1.1 haad When choosing between identically-named VGs, also consider creation_host.
754 1.1 haad Provide total log suppression with 2.
755 1.1 haad Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
756 1.1 haad Add vgid to struct physical_volume and pass with vg_name to some functions.
757 1.1 haad If two or more VGs are found with the same name, use one that is not exported.
758 1.1 haad Whenever vgname is captured, also capture vgid and whether exported.
759 1.1 haad Remove an incorrect unlock_vg() from process_each_lv().
760 1.1 haad Update extent size information in vgchange and vgcreate man pages.
761 1.1 haad Introduce origin_from_cow() and lv_is_visible().
762 1.1 haad pvremove without -f now fails if there's no PV label.
763 1.1 haad Support lvconvert -s.
764 1.1 haad Suppress locking library load failure message if --ignorelockingfailure.
765 1.1 haad Propagate partial mode around cluster.
766 1.1 haad Fix archive file expiration.
767 1.1 haad Fix dmeventd build.
768 1.1 haad clvmd now uses libcman rather than cman ioctls.
769 1.1 haad clvmd will allow new cman to shutdown on request.
770 1.1 haad
771 1.1 haad Version 2.02.02 - 7th February 2006
772 1.1 haad ===================================
773 1.1 haad Add %.so: %.a make template rule.
774 1.1 haad Switchover library building to use LIB_SUFFIX.
775 1.1 haad Only do lockfs filesystem sync when suspending snapshots.
776 1.1 haad Always print warning if activation is disabled.
777 1.1 haad vgreduce removes mirror images.
778 1.1 haad Add --mirrorsonly to vgreduce.
779 1.1 haad vgreduce replaces active LVs with error segment before removing them.
780 1.1 haad Set block_on_error parameter if available.
781 1.1 haad Add target_version.
782 1.1 haad Add details to format1 'Invalid LV in extent map' error message.
783 1.1 haad Fix lvscan snapshot full display.
784 1.1 haad Bring lvdisplay man page example into line.
785 1.1 haad Add mirror dmeventd library.
786 1.1 haad Add some activation logic to remove_mirror_images().
787 1.1 haad lvconvert can remove specified PVs from a mirror.
788 1.1 haad lvconvert turns an existing LV into a mirror.
789 1.1 haad Allow signed mirrors arguments.
790 1.1 haad Move create_mirror_log() into toollib.
791 1.1 haad Determine parallel PVs to avoid with ALLOC_NORMAL allocation.
792 1.1 haad Fix lv_empty.
793 1.1 haad
794 1.1 haad Version 2.02.01 - 23rd November 2005
795 1.1 haad ====================================
796 1.1 haad Fix lvdisplay cmdline to accept snapshots.
797 1.1 haad Fix open RO->RW promotion.
798 1.1 haad Fix missing vg_revert in lvcreate error path.
799 1.1 haad
800 1.1 haad Version 2.02.00 - 10th November 2005
801 1.1 haad ====================================
802 1.1 haad Extend allocation areas to avoid overflow with contiguous with other PVs.
803 1.1 haad Stop lvcreate attempting to wipe zero or error segments.
804 1.1 haad Added new lvs table attributes.
805 1.1 haad Separated out activation preload.
806 1.1 haad Moved activation functions into libdevmapper.
807 1.1 haad Fixed build_dm_name.
808 1.1 haad Add return macros.
809 1.1 haad Added xen xvd devices.
810 1.1 haad Clear up precommitted metadata better.
811 1.1 haad A pvresize implementation.
812 1.1 haad Fix contiguous allocation when there are no preceding segments.
813 1.1 haad Add mirror_seg pointer to lv_segment struct.
814 1.1 haad Only keep a device open if it's known to belong to a locked VG.
815 1.1 haad Fix lvdisplay to show all mirror destinations.
816 1.1 haad Replacement suspend code using libdevmapper dependency tree.
817 1.1 haad Add DEFS to make.tmpl.
818 1.1 haad Use dm_is_dm_major instead of local copy.
819 1.1 haad Allow mapped devices to be used as PVs.
820 1.1 haad Move set_selinux_context into libdevmapper.
821 1.1 haad Fix automatic text metadata buffer expansion (using macro).
822 1.1 haad Cache formatted text metadata buffer between metadata area writes.
823 1.1 haad Add pe_start field to pvs.
824 1.1 haad Add 'LVM-' prefix to uuids.
825 1.1 haad Split lv_segment_area from lv_segment to permit extension.
826 1.1 haad Replacement deactivation code using libdevmapper dependency tree.
827 1.1 haad Simplify dev_manager_info().
828 1.1 haad Attempt to load missing targets using modprobe.
829 1.1 haad Add -a to lvscan.
830 1.1 haad Move mknodes into libdevmapper.
831 1.1 haad Move bitset, hash, pool and dbg_malloc into libdevmapper.
832 1.1 haad
833 1.1 haad Version 2.01.15 - 16th October 2005
834 1.1 haad ===================================
835 1.1 haad Refuse to run pvcreate/pvremove on devices we can't open exclusively.
836 1.1 haad Use ORPHAN lock definition throughout.
837 1.1 haad Validate chunksize in lvcreate.
838 1.1 haad Reduce chunksize limit to 512k.
839 1.1 haad Fix chunksize field in reports.
840 1.1 haad Don't hide snapshots from default 'lvs' output.
841 1.1 haad Add is_dm_major() for use in duplicate device detection in lvmcache_add().
842 1.1 haad Really switch device number in lvmcache when it says it is doing so.
843 1.1 haad Option for bitset memory allocation using malloc as well as pool.
844 1.1 haad Don't assume exactly two mirrors when parsing mirror status.
845 1.1 haad Suppress fsync() error message on filesystems that don't support it.
846 1.1 haad Fix yes_no_prompt() error handling.
847 1.1 haad Add lvm.conf comment warning against multiple filter lines.
848 1.1 haad Tidy lvmconf.sh.
849 1.1 haad Add format1 dev_write debug messages.
850 1.1 haad Add clustered VG attribute to report.
851 1.1 haad Move lvconvert parameters into struct lvconvert_params.
852 1.1 haad Add clustered VG flag to LV lock requests.
853 1.1 haad Change LV locking macros to take lv instead of lvid.
854 1.1 haad Prepend 'cluster' activation parameter to mirror log when appropriate.
855 1.1 haad Pass exclusive flag to lv_activate and on to target activation code.
856 1.1 haad Prevent snapshot creation in a clustered VG for now.
857 1.1 haad Factor out adjusted_mirror_region_size() and generate_log_name_format().
858 1.1 haad Move compose_log_line() into mirror directory.
859 1.1 haad Factor out _get_library_path().
860 1.1 haad Don't kill idling clvmd threads.
861 1.1 haad clvmd no longer takes out locks for non-clustered LVs.
862 1.1 haad Recognise ATA over Ethernet (aoe) devices.
863 1.1 haad
864 1.1 haad Version 2.01.14 - 4th August 2005
865 1.1 haad =================================
866 1.1 haad Fix lvconvert PV parameter in help string.
867 1.1 haad Prevent snapshots getting activated in a clustered VG.
868 1.1 haad Separate out _build_dev_string.
869 1.1 haad Move zero_lv to toollib.
870 1.1 haad Fix pool format handler to work with pv segment code.
871 1.1 haad
872 1.1 haad Version 2.01.13 - 13th July 2005
873 1.1 haad ================================
874 1.1 haad Fix pvmove segment splitting.
875 1.1 haad Abstract vg_validate.
876 1.1 haad Only make one attempt at contiguous allocation.
877 1.1 haad Fix lvm1 format metadata read.
878 1.1 haad Fix lvm1 format non-mirror lvcreate.
879 1.1 haad
880 1.1 haad Version 2.01.12 - 14th June 2005
881 1.1 haad ================================
882 1.1 haad Various allocation-related pvmove fixes.
883 1.1 haad Log an error if clvmd can't resolve a host name got from CCS.
884 1.1 haad Fix potential spin loop in clvmd.
885 1.1 haad
886 1.1 haad Version 2.01.11 - 13th June 2005
887 1.1 haad ================================
888 1.1 haad Added lvmconf.sh.
889 1.1 haad Use matchpathcon mode parameter.
890 1.1 haad Don't defer closing dead FDs in clvmd.
891 1.1 haad Remove hard-coded 64k text metadata writing restriction.
892 1.1 haad Make VG name restrictions consistent.
893 1.1 haad Introduce lvconvert. So far only removes mirror images.
894 1.1 haad Allow mirror images to be resized.
895 1.1 haad Allow mirror images to have more than one segment.
896 1.1 haad Centralise restrictions on LV names.
897 1.1 haad Always insert an intermediate layer for mirrors.
898 1.1 haad Suppress hidden LVs from reports unless --all is given.
899 1.1 haad Use square brackets for hidden LVs in reports.
900 1.1 haad Allow the creation of mirrors with contiguous extents.
901 1.1 haad Always perform sanity checks against metadata before committing it to disk.
902 1.1 haad Split lv_extend into two steps: choosing extents + allocation to LV(s).
903 1.1 haad Add mirror log region size to metadata.
904 1.1 haad Use list_iterate_items throughout and add list*back macros.
905 1.1 haad Introduce seg_ macros to access areas.
906 1.1 haad Add segtype_is_ macros.
907 1.1 haad Support tiny metadata areas for pool conversions.
908 1.1 haad Mirror activation handles disk log as well as core.
909 1.1 haad Activation code recognises mirror log dependency.
910 1.1 haad Add mirror_log and regionsize fields to report.
911 1.1 haad Fix non-orphan pvchange -u.
912 1.1 haad Fix vgmerge to handle duplicate LVIDs.
913 1.1 haad Move archiver code from tools into library.
914 1.1 haad vgscan/change/display/vgs automatically create metadata backups if needed.
915 1.1 haad Merge cloned allocation functions.
916 1.1 haad Fix contiguous allocation policy with linear.
917 1.1 haad Cope with missing format1 PVs again.
918 1.1 haad Remove lists of free PV segments.
919 1.1 haad Simplify pv_maps code and remove slow bitset algorithm.
920 1.1 haad Red-Hat-ify the clvmd rhel4 initscript.
921 1.1 haad %Zu->%zu
922 1.1 haad Fix loopfiles alias alloc & mem debugging.
923 1.1 haad Un-inline dbg_strdup.
924 1.1 haad lv_reduce tidying.
925 1.1 haad Remove some unnecessary parameters.
926 1.1 haad Introduce seg_is macros.
927 1.1 haad
928 1.1 haad Version 2.01.10 - 3rd May 2005
929 1.1 haad ==============================
930 1.1 haad Don't create backup and archive dirs till needed.
931 1.1 haad Reinstate full PV size when removing from VG.
932 1.1 haad Support loopfiles for testing.
933 1.1 haad Tidy lv_segment interface.
934 1.1 haad pv_segment support.
935 1.1 haad vgchange --physicalextentsize
936 1.1 haad Internal snapshot restructuring.
937 1.1 haad Remove unused internal non-persistent snapshot option.
938 1.1 haad Allow offline extension of snapshot volumes.
939 1.1 haad Move from 2-step to 3-step on-disk metadata commit.
940 1.1 haad Scan ramdisks too and allow non-O_DIRECT fallback.
941 1.1 haad Annotate, tidy and extend list.h.
942 1.1 haad Alignment tidying.
943 1.1 haad Make clvmd work around some "bugs" in gulm's node state notifications.
944 1.1 haad Tidy clvmd's SIGHUP handler
945 1.1 haad
946 1.1 haad Version 2.01.09 - 4th April 2005
947 1.1 haad ================================
948 1.1 haad Add --ignorelockingfailure to vgmknodes.
949 1.1 haad clvmd: Don't allow user operations to start until the lvm thread is fully up.
950 1.1 haad clvmd-gulm: set KEEPALIVE on sockets.
951 1.1 haad
952 1.1 haad Version 2.01.08 - 22nd March 2005
953 1.1 haad =================================
954 1.1 haad Add clustered attribute so vgchange can identify clustered VGs w/o locking.
955 1.1 haad Improve detection of external changes affecting internal cache.
956 1.1 haad Add 'already in device cache' debug message.
957 1.1 haad Add -a to pvdisplay -C.
958 1.1 haad Avoid rmdir opendir error messsages when dir was already removed.
959 1.1 haad Tighten signal handlers.
960 1.1 haad Avoid some compiler warnings.
961 1.1 haad Additional rename failure error message.
962 1.1 haad read/write may be macros.
963 1.1 haad clvmd: don't take out lvm thread lock at startup, it only protects jobs list.
964 1.1 haad
965 1.1 haad Version 2.01.07 - 8th March 2005
966 1.1 haad ================================
967 1.1 haad Cope with new devices appearing by rescanning /dev if a uuid can't be found.
968 1.1 haad Remove DESTDIR from LVM_SHARED_PATH.
969 1.1 haad clvmd fixes: make FDs close-on-exec
970 1.1 haad gulm unlocks VG & orphan locks at startup in case they are stale
971 1.1 haad gulm now unlocks VG & orphan locks if client dies.
972 1.1 haad
973 1.1 haad Version 2.01.06 - 1st March 2005
974 1.1 haad ================================
975 1.1 haad Suppress 'open failed' error messages during scanning.
976 1.1 haad Option to suppress warnings of file descriptors left open.
977 1.1 haad Fix default value of metadatacopies in documentation (2->1).
978 1.1 haad Fix clvmd-gulm locking.
979 1.1 haad ./configure --enable-debug now enables debugging code in clvmd.
980 1.1 haad Fix clvmd-gulm node up/down code so it actually works.
981 1.1 haad clvmd-gulm now releases locks when shut down.
982 1.1 haad
983 1.1 haad Version 2.01.05 - 18th February 2005
984 1.1 haad ====================================
985 1.1 haad Static binary invokes dynamic binary if appropriate.
986 1.1 haad Make clvmd config check a little more tolerant.
987 1.1 haad gulm clvmd can now cope with >1 message arriving in a TCP message.
988 1.1 haad
989 1.1 haad Version 2.01.04 - 9th February 2005
990 1.1 haad ===================================
991 1.1 haad Add fixed offset to imported pool minor numbers.
992 1.1 haad Update binary pathnames in clvmd_init_rhel4.
993 1.1 haad lvm2cmd.so should skip the check for open fds.
994 1.1 haad Remove unused -f from pvmove.
995 1.1 haad Gulm clvmd doesn't report "connection refused" errors.
996 1.1 haad clvmd does a basic config file sanity check at startup.
997 1.1 haad Fix potential thread shutdown race in clvmd.
998 1.1 haad
999 1.1 haad Version 2.01.03 - 1st February 2005
1000 1.1 haad ===================================
1001 1.1 haad More 64-bit display/report fixes.
1002 1.1 haad More informative startup mesg if can't create /etc/lvm.
1003 1.1 haad Fix snapshot device size bug (since 2.01.01).
1004 1.1 haad clvmd announces startup and cluster connection in syslog.
1005 1.1 haad Gulm clvmd doesn't hang trying to talk to a rebooted node.
1006 1.1 haad Gulm clvmd doesn't print cman error on startup.
1007 1.1 haad
1008 1.1 haad Version 2.01.02 - 21st January 2005
1009 1.1 haad ===================================
1010 1.1 haad Update clvmd_init_rhel4: use lvm.static and don't load dlm.
1011 1.1 haad Fix some size_t printing.
1012 1.1 haad Fix 64 bit xlate consts.
1013 1.1 haad Split out pool sptype_names to avoid unused const.
1014 1.1 haad Always fail if random id generation fails.
1015 1.1 haad Recognise gnbd devices.
1016 1.1 haad Fix clvmd startup bug introduced in cman/gulm amalgamation.
1017 1.1 haad Improve reporting of node-specific locking errors.
1018 1.1 haad
1019 1.1 haad Version 2.01.01 - 19th January 2005
1020 1.1 haad ===================================
1021 1.1 haad Fix clvmd lv_info_by_lvid open_count.
1022 1.1 haad Store snapshot and origin sizes separately.
1023 1.1 haad Update vgcreate man page.
1024 1.1 haad
1025 1.1 haad Version 2.01.00 - 17th January 2005
1026 1.1 haad ===================================
1027 1.1 haad Fix vgscan metadata auto-correction.
1028 1.1 haad Only ask libdevmapper for open_count when we need it.
1029 1.1 haad Adjust RHEL4 clvmd init script priority.
1030 1.1 haad Enable building of CMAN & GULM versions of clvmd into a single binary
1031 1.1 haad
1032 1.1 haad Version 2.00.33 - 7th January 2005
1033 1.1 haad ==================================
1034 1.1 haad pvcreate wipes first 4 sectors unless given --zero n.
1035 1.1 haad gulm clvmd now uses new ccsd key names.
1036 1.1 haad gulm clvmd now doesn't ignore the first node in cluster.conf
1037 1.1 haad Improve clvmd failure message if it's already running.
1038 1.1 haad Allow user to kill clvmd during initialisation.
1039 1.1 haad Fix off-by-one error in cluster_locking that could cause read hangs.
1040 1.1 haad
1041 1.1 haad Version 2.00.32 - 22nd December 2004
1042 1.1 haad ====================================
1043 1.1 haad Drop static/dl restriction for now.
1044 1.1 haad Fix an error fprintf.
1045 1.1 haad Fix vgdisplay -s. Breaks (undocumented) lvs/pvs/vgs -s instead for now.
1046 1.1 haad Fix device reference counting on re-opens.
1047 1.1 haad Ignore sysfs symlinks when DT_UNKNOWN.
1048 1.1 haad Add clvmd init script for RHEL4.
1049 1.1 haad Skip devices that are too small to be PVs.
1050 1.1 haad Fix pvchange -x segfault with lvm2-format orphan.
1051 1.1 haad Cope with empty msdos partition tables.
1052 1.1 haad Add CONTRIBUTORS file.
1053 1.1 haad
1054 1.1 haad Version 2.00.31 - 12th December 2004
1055 1.1 haad ====================================
1056 1.1 haad Reopen RO file descriptors RW if necessary.
1057 1.1 haad
1058 1.1 haad Version 2.00.30 - 10th December 2004
1059 1.1 haad ====================================
1060 1.1 haad Additional device-handling debug messages.
1061 1.1 haad Additional verbosity level -vvvv includes line numbers and backtraces.
1062 1.1 haad Verbose messages now go to stderr not stdout.
1063 1.1 haad Close any stray file descriptors before starting.
1064 1.1 haad Refine partitionable checks for certain device types.
1065 1.1 haad Allow devices/types to override built-ins.
1066 1.1 haad Fix lvreduce man page .i->.I
1067 1.1 haad Fix vgsplit man page title.
1068 1.1 haad Fix clvmd man makefile.
1069 1.1 haad Extend dev_open logging.
1070 1.1 haad Make clvmd_fix_conf.sh UNDOable.
1071 1.1 haad
1072 1.1 haad Version 2.00.29 - 27th November 2004
1073 1.1 haad ====================================
1074 1.1 haad xlate compilation fix.
1075 1.1 haad
1076 1.1 haad Version 2.00.28 - 27th November 2004
1077 1.1 haad ====================================
1078 1.1 haad Fix partition table & md signature detection.
1079 1.1 haad Minor configure/makefile tidy.
1080 1.1 haad Export version.h from tools for clvmd.
1081 1.1 haad
1082 1.1 haad Version 2.00.27 - 24th November 2004
1083 1.1 haad ====================================
1084 1.1 haad Trap large memory allocation requests.
1085 1.1 haad Fix to partition table detection code.
1086 1.1 haad Improve filter debug mesgs.
1087 1.1 haad Make clvmd_fix_conf.sh UNDOable
1088 1.1 haad
1089 1.1 haad Version 2.00.26 - 23rd November 2004
1090 1.1 haad ====================================
1091 1.1 haad Improve pool debugging stats.
1092 1.1 haad Detect partition table signature.
1093 1.1 haad pvcreate wipes md superblocks. (With --uuid or --restorefile it prompts.)
1094 1.1 haad Separate out md superblock detection code.
1095 1.1 haad Prevent snapshot origin resizing.
1096 1.1 haad Improve a vgremove error message.
1097 1.1 haad Update some man pages.
1098 1.1 haad Allow y/n with -ae args (exclusive activation).
1099 1.1 haad Fixes to lvcreate vgname parsing.
1100 1.1 haad Fix dm_name string size calculation.
1101 1.1 haad Improve clvmd error reporting during startup.
1102 1.1 haad Make clvmd cope with large gaps in node numbers IDs.
1103 1.1 haad Make clvmd initialisation cope better with debugging output.
1104 1.1 haad Tidy clvmd socket callbacks so all work happens outside main loop.
1105 1.1 haad clvmd -V now displays lvm version too.
1106 1.1 haad Add optional gulm build for clvmd
1107 1.1 haad
1108 1.1 haad Version 2.00.25 - 29th September 2004
1109 1.1 haad =====================================
1110 1.1 haad Fix return code from rm_link for vgmknodes.
1111 1.1 haad Make clvmd LV hash table thread-safe.
1112 1.1 haad Fix clvmd locking so it will lock out multiple users on the same node.
1113 1.1 haad Fix clvmd VG locking to it can cope with multiple VG locks.
1114 1.1 haad Remove spurious trailing dot in lvreduce man page.
1115 1.1 haad Fix vgremove locking.
1116 1.1 haad
1117 1.1 haad Version 2.00.24 - 16th September 2004
1118 1.1 haad =====================================
1119 1.1 haad Fix pool_empty so it really does empty the memory pool.
1120 1.1 haad Rename old segtypes files to segtype.
1121 1.1 haad Some fixes to memory debugging code.
1122 1.1 haad Exclude internal commands formats & segtypes from install.
1123 1.1 haad
1124 1.1 haad Version 2.00.23 - 15th September 2004
1125 1.1 haad =====================================
1126 1.1 haad Export dm name build & split functions.
1127 1.1 haad Use O_NOATIME on devices if available.
1128 1.1 haad Write log message when each segtype/format gets initialised.
1129 1.1 haad New commands 'segtypes' and 'formats'.
1130 1.1 haad Suppress pvmove abort message in test mode.
1131 1.1 haad Improve pvcreate/remove device not found error message.
1132 1.1 haad Allow pvmove to move data within the same PV.
1133 1.1 haad Describe how pvmove works on man page.
1134 1.1 haad Test for incompatible format/segtype combinations in lv_extend.
1135 1.1 haad Fix lvchange example on man page.
1136 1.1 haad
1137 1.1 haad Version 2.00.22 - 3rd September 2004
1138 1.1 haad ====================================
1139 1.1 haad Fix /dev/vgname perms.
1140 1.1 haad Restructure xlate.h.
1141 1.1 haad Add clvmd man page.
1142 1.1 haad
1143 1.1 haad Version 2.00.21 - 19th August 2004
1144 1.1 haad ==================================
1145 1.1 haad Update cnxman-socket.h from cman.
1146 1.1 haad Recognise iseries/vd devices.
1147 1.1 haad Use 'make install_cluster' to install cluster extensions only.
1148 1.1 haad Cope with DT_UNKNOWN in sysfs.
1149 1.1 haad Fix extents_moved metadata size comment.
1150 1.1 haad Remove duplicate line in pvremove help text.
1151 1.1 haad Support variable mirror region size.
1152 1.1 haad Support PE ranges in pvmove source PV.
1153 1.1 haad Fixes to as-yet-unused LV segment splitting code.
1154 1.1 haad Change alloc_areas to pe_ranges and allow suppression of availability checks.
1155 1.1 haad Add dev_size column to pvs.
1156 1.1 haad Add report columns for in-kernel device number.
1157 1.1 haad
1158 1.1 haad Version 2.00.20 - 3 July 2004
1159 1.1 haad =============================
1160 1.1 haad More autoconf fixes.
1161 1.1 haad Fix device number handling for 2.6 kernels.
1162 1.1 haad
1163 1.1 haad Version 2.00.19 - 29 June 2004
1164 1.1 haad ==============================
1165 1.1 haad Reduce severity of setlocale failure message.
1166 1.1 haad Recognise argv[0] "initrd-lvm" (pld-linux).
1167 1.1 haad Make -O2 configurable.
1168 1.1 haad Added --disable-selinux to configure script.
1169 1.1 haad LD_FLAGS->LDFLAGS & LD_DEPS->LDDEPS in configure script.
1170 1.1 haad Add init_debug to clvmd.
1171 1.1 haad
1172 1.1 haad Version 2.00.18 - 24 June 2004
1173 1.1 haad ==============================
1174 1.1 haad Fix vgchange activation.
1175 1.1 haad Add cluster support.
1176 1.1 haad
1177 1.1 haad Version 2.00.17 - 20 June 2004
1178 1.1 haad ==============================
1179 1.1 haad configure --enable-fsadm to try out fsadm. fsadm is not tested yet.
1180 1.1 haad Display all filtered devices, not just PVs, with pvs -a.
1181 1.1 haad Fix sync_dir() when no / in filename
1182 1.1 haad vgcfgbackup -f accepts template with %s for VG name.
1183 1.1 haad Extend hash functions to handle non-null-terminated data.
1184 1.1 haad Add local activation support.
1185 1.1 haad Tidy relative paths in makefile includes.
1186 1.1 haad fsadm support for fsck and resizing - needs testing.
1187 1.1 haad Add read-only GFS pool support.
1188 1.1 haad Add lvm2create_initrd script from http://poochiereds.net/svn/lvm2/
1189 1.1 haad Fix rounding of large diplayed sizes.
1190 1.1 haad Suppress decimal point when using units of sectors/bytes.
1191 1.1 haad Additional kernel target checks before pvmove & snapshot creation.
1192 1.1 haad Add i2o_block.
1193 1.1 haad
1194 1.1 haad Version 2.00.16 - 24 May 2004
1195 1.1 haad =============================
1196 1.1 haad Set area_count within alloc_lv_segment.
1197 1.1 haad Remove error labels from lvresize.
1198 1.1 haad Fix a pvs error path.
1199 1.1 haad xxchange -ae for exclusive activation.
1200 1.1 haad Don't return non-zero status if there aren't any volume groups.
1201 1.1 haad Add --alloc argument to tools.
1202 1.1 haad Rename allocation policies to contiguous, normal, anywhere, inherit.
1203 1.1 haad nextfree becomes normal; anywhere isn't implemented yet.
1204 1.1 haad LV inherits allocation policy from VG. Defaults: LV - inherit; VG - normal
1205 1.1 haad Additional status character added to vgs to indicate allocation policy.
1206 1.1 haad Add reset_fn to external_locking.
1207 1.1 haad Ensure presence of virtual targets before attempting activating.
1208 1.1 haad Attempt to fix resizing of snapshot origins.
1209 1.1 haad Restructure lvresize, bringing it closer to lvcreate.
1210 1.1 haad A quick sanity check on vg_disk struct when read in. More checks needed.
1211 1.1 haad Only include visible LVs in active/open counts.
1212 1.1 haad Add virtual segment types, zero and error. A large sparse device can be
1213 1.1 haad constructed as a writeable snapshot of a large zero segment.
1214 1.1 haad Add --type to lvcreate/resize.
1215 1.1 haad Push lv_create & alloc policy up to tool level.
1216 1.1 haad Fix pvdisplay return code.
1217 1.1 haad Detect invalid LV names in arg lists.
1218 1.1 haad Reporting uses line-at-a-time output.
1219 1.1 haad lvm2 format sets unlimited_vols format flag.
1220 1.1 haad Internal-only metadata flag support.
1221 1.1 haad Basic checking for presence of device-mapper targets.
1222 1.1 haad Separate out polldaemon.
1223 1.1 haad Revise internal locking semantics.
1224 1.1 haad Move find_pv_by_name to library.
1225 1.1 haad Rename move->copy.
1226 1.1 haad Add devices to segments report.
1227 1.1 haad Begin separating out segment code. There's a lot of change here.
1228 1.1 haad Compress any (obsolete) long LVM1 pvids encountered.
1229 1.1 haad Support for tagged config files.
1230 1.1 haad Don't abort operations if selinux present but disabled.
1231 1.1 haad Fix typo in configure which left HAVE_LIBDL unset.
1232 1.1 haad
1233 1.1 haad Version 2.00.15 - 19 Apr 2004
1234 1.1 haad =============================
1235 1.1 haad configure --with-owner= --with-group= to avoid -o and -g args to 'install'
1236 1.1 haad
1237 1.1 haad Version 2.00.14 - 16 Apr 2004
1238 1.1 haad =============================
1239 1.1 haad Use 64-bit file functions by default.
1240 1.1 haad
1241 1.1 haad Version 2.00.13 - 16 Apr 2004
1242 1.1 haad =============================
1243 1.1 haad Set devices/md_component_detection = 1 to ignore devices containing md
1244 1.1 haad superblocks. [Luca Berra]
1245 1.1 haad Ignore error setting selinux file context if fs doesn't support it.
1246 1.1 haad
1247 1.1 haad Version 2.00.12 - 14 Apr 2004
1248 1.1 haad =============================
1249 1.1 haad Install a default lvm.conf into /etc/lvm if there isn't one already.
1250 1.1 haad Allow different installation dir for lvm.static (configure --staticdir=)
1251 1.1 haad Fix inverted selinux error check.
1252 1.1 haad Recognise power2 in /proc/devices.
1253 1.1 haad Fix counting in lvs_in_vg_opened. [It ignored devices open more than once.]
1254 1.1 haad
1255 1.1 haad Version 2.00.11 - 8 Apr 2004
1256 1.1 haad ============================
1257 1.1 haad Set fallback_to_lvm1 in lvm.conf (or configure --enable-lvm1_fallback)
1258 1.1 haad to run lvm1 binaries if running a 2.4 kernel without device-mapper.
1259 1.1 haad
1260 1.1 haad Version 2.00.10 - 7 Apr 2004
1261 1.1 haad ============================
1262 1.1 haad More fixes for static build.
1263 1.1 haad Add basic selinux support.
1264 1.1 haad Fix sysfs detection.
1265 1.1 haad
1266 1.1 haad Version 2.00.09 - 31 Mar 2004
1267 1.1 haad =============================
1268 1.1 haad Update copyright notices for Red Hat.
1269 1.1 haad Fix vgmknodes to remove dud /dev/mapper entries. (libdevmapper update reqd).
1270 1.1 haad Add LVM1-style colon output to vgdisplay.
1271 1.1 haad lvchange --refresh to reload active LVs.
1272 1.1 haad Add string display to memory leak dump.
1273 1.1 haad Add locking flags & memlock option.
1274 1.1 haad Add list_versions to library.
1275 1.1 haad Ignore open hidden LVs when checking if deactivation is OK.
1276 1.1 haad Suppress move percentage when device inactive.
1277 1.1 haad Add lv_info_by_lvid.
1278 1.1 haad Various tidy-ups to the build process.
1279 1.1 haad Rebaseline internal verbose level.
1280 1.1 haad Add --nolocking option for read operations if locking is failing.
1281 1.1 haad Add option to compile into a library.
1282 1.1 haad When compiled without libdevmapper, only print warning message once.
1283 1.1 haad Fix lvreduce PV extent calculations.
1284 1.1 haad Fix DESTDIR to work with configure path overrides.
1285 1.1 haad Always use / as config file separator & rename internal config file variables.
1286 1.1 haad Add support for tagging PV/VG/LVs and hosts.
1287 1.1 haad Fix rare bug in recognition of long cmdline argument forms.
1288 1.1 haad Add basic internationalisation infrastructure.
1289 1.1 haad Don't recurse symlinked dirs such as /dev/fd on 2.6 kernels.
1290 1.1 haad Update autoconf files.
1291 1.1 haad Add sysfs block device filtering for 2.6 kernels.
1292 1.1 haad Update refs for move to sources.redhat.com.
1293 1.1 haad
1294 1.1 haad Friday 14th November 2003
1295 1.1 haad =========================
1296 1.1 haad Some bug fixes & minor enhancements, including:
1297 1.1 haad Backwards compatibility with LVM1 metadata improved.
1298 1.1 haad Missing man pages written.
1299 1.1 haad Tool error codes made more consistent.
1300 1.1 haad vgmknodes written.
1301 1.1 haad O_DIRECT can be turned off if it doesn't work in your kernel.
1302 1.1 haad dumpconfig to display the active configuration file
1303 1.1 haad
1304 1.1 haad You need to update libdevmapper before using 'vgmknodes' or 'vgscan --mknodes'.
1305 1.1 haad If your root filesystem is on an LV, you should run one of those two
1306 1.1 haad commands to fix up the special files in /dev in your real root filesystem
1307 1.1 haad after finishing with your initrd. Also, remember you can use
1308 1.1 haad 'vgchange --ignorelockingfailure' on your initrd if the tool fails because
1309 1.1 haad it can't write a lock file to a read-only filesystem.
1310 1.1 haad
1311 1.1 haad Wednesday 30th April 2003
1312 1.1 haad =========================
1313 1.1 haad A pvmove implementation is now available for the new metadata format.
1314 1.1 haad
1315 1.1 haad When running a command that allocates space (e.g. lvcreate), you can now
1316 1.1 haad restrict not only which disk(s) may be used but also the Physical Extents
1317 1.1 haad on those disks. e.g. lvcreate -L 10 vg1 /dev/hda6:1000-2000:3000-4000
1318 1.1 haad
1319 1.1 haad
1320 1.1 haad Monday 18th November 2002
1321 1.1 haad ========================
1322 1.1 haad
1323 1.1 haad The new format of LVM metadata is ready for you to test!
1324 1.1 haad We expect it to be more efficient and more robust than the original format.
1325 1.1 haad It's more compact and supports transactional changes and replication.
1326 1.1 haad Should things go wrong on a system, it's human-readable (and editable).
1327 1.1 haad
1328 1.1 haad Please report any problems you find to the mailing list,
1329 1.1 haad linux-lvm (a] sistina.com. The software has NOT yet been thoroughly
1330 1.1 haad tested and so quite possibly there'll still be some bugs in it.
1331 1.1 haad Be aware of the disclaimer in the COPYING file.
1332 1.1 haad
1333 1.1 haad While testing, we recommend turning logging on in the configuration file
1334 1.1 haad to provide us with diagnostic information:
1335 1.1 haad log {
1336 1.1 haad file="/tmp/lvm2.log"
1337 1.1 haad level=7
1338 1.1 haad activation=1
1339 1.1 haad }
1340 1.1 haad
1341 1.1 haad You should schedule regular backups of your configuration file and
1342 1.1 haad metadata backups and archives (normally kept under /etc/lvm).
1343 1.1 haad
1344 1.1 haad Please read docs/example.conf and "man lvm.conf" to find out more about
1345 1.1 haad the configuration file.
1346 1.1 haad
1347 1.1 haad To convert an existing volume group called vg1 to the new format using
1348 1.1 haad the default settings, use "vgconvert -M2 vg1". See "man vgconvert".
1349 1.1 haad
1350 1.1 haad -M (or --metadatatype in its long form) is a new flag to indicate which
1351 1.1 haad format of metadata the command should use for anything it creates.
1352 1.1 haad Currently, the valid types are "lvm1" and "lvm2" and they can be
1353 1.1 haad abbreviated to "1" and "2" respectively. The default value for this
1354 1.1 haad flag can be changed in the global section in the config file.
1355 1.1 haad
1356 1.1 haad Backwards-compatible support for the original LVM1 metadata format is
1357 1.1 haad maintained, but it can be moved into a shared library or removed
1358 1.1 haad completely with configure's --with-lvm1 option.
1359 1.1 haad
1360 1.1 haad Under LVM2, the basic unit of metadata is the volume group. Different
1361 1.1 haad volume groups can use different formats of metadata - vg1 could use
1362 1.1 haad the original LVM1 format while vg2 used the new format - but you can't
1363 1.1 haad mix formats within a volume group. So to add a PV to an LVM2-format
1364 1.1 haad volume group you must run "pvcreate -M2" on it, followed by "vgextend".
1365 1.1 haad
1366 1.1 haad With LVM2-format metadata, lvextend will let you specify striping
1367 1.1 haad parameters. So an LV could consist of two or more "segments" - the
1368 1.1 haad first segment could have 3 stripes while the second segment has just 2.
1369 1.1 haad
1370 1.1 haad LVM2 maintains a backup of the current metadata for each volume group
1371 1.1 haad in /etc/lvm/backup, and puts copies of previous versions in
1372 1.1 haad /etc/lvm/archive. "vgcfgbackup" and "vgcfgrestore" can be used to
1373 1.1 haad create and restore from these files. If you fully understand what
1374 1.1 haad you're doing, metadata can be changed by editing a copy of a current
1375 1.1 haad backup file and using vgcfgrestore to reload it.
1376 1.1 haad
1377 1.1 haad Please read the pvcreate man page for more information on the new
1378 1.1 haad format for metadata.
1379 1.1 haad
1380 1.1 haad All tools that can change things have a --test flag which can be used
1381 1.1 haad to check the effect of a set of cmdline args without really making the
1382 1.1 haad changes.
1383 1.1 haad
1384 1.1 haad
1385 1.1 haad What's not finished?
1386 1.1 haad ====================
1387 1.1 haad The internal cache. If you turn on debugging output you'll see lots of
1388 1.1 haad repeated messages, many of which will eventually get optimised out.
1389 1.1 haad
1390 1.1 haad --test sometimes causes a command to fail (e.g. vgconvert --test) even
1391 1.1 haad though the real command would work: again, fixing this is waiting for
1392 1.1 haad the work on the cache.
1393 1.1 haad
1394 1.1 haad Several of the tools do not yet contain the logic to handle full
1395 1.1 haad recovery: combinations of pvcreate and vgcfgrestore may sometimes be
1396 1.1 haad needed to restore metadata if a tool gets interrupted or crashes or
1397 1.1 haad finds something unexpected. This applies particularly to tools that
1398 1.1 haad work on more than one volume group at once (e.g. vgsplit).
1399 1.1 haad
1400 1.1 haad Display output. Some metadata information cannot yet be displayed.
1401 1.1 haad
1402 1.1 haad Recovery tools to salvage "lost" metadata directly from the disks:
1403 1.1 haad but we hope the new format will mean such tools are hardly ever needed!
1404