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