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