Alasdair Kergon
30b95041de
add preferred_names to man page.
2007-04-26 17:14:57 +00:00
Alasdair Kergon
4f2f566b06
Add devices/preferred_names config regex list for displayed device names.
...
Free a temporary dir string in fcntl_lock_file() after use.
Fix a dm_pool_destroy() in matcher_create().
Introduce goto_bad macro.
2007-04-26 16:44:59 +00:00
Dave Wysochanski
867c3249cb
Fix warnings on x86_64 involving ptrdiff_t:
...
config/config.c:493: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
Modified original patch from Jim Meyering <jim@meyering.net>
2007-04-26 16:40:46 +00:00
Dave Wysochanski
28d1c4d7e2
Update pvck to include text metadata area and record detection.
...
--
2007-04-25 21:10:55 +00:00
Dave Wysochanski
084a8bdcbc
Add support functions for analysis of config sections,
...
and hence, on-disk LVM2 metadata.
--
2007-04-25 20:38:39 +00:00
Dave Wysochanski
d915579c6b
Update pvck to read labels on disk, with flexible --labelsector
...
parameter.
--
2007-04-25 20:03:16 +00:00
Dave Wysochanski
15309c57bd
Add count_chars and count_chars_len functions, two
...
generic string utility functions.
--
2007-04-25 18:24:19 +00:00
Bryn M. Reeves
69e0f4039f
Make lvm_dump.sh capture a listing of /sys/block entries.
2007-04-25 14:49:27 +00:00
Patrick Caulfield
05aa860fd7
Fix thread race in clvmd.
2007-04-24 15:13:13 +00:00
Petr Rockai
6e23a8aa20
Fix the regression introduced by dmeventd leak fixes.
2007-04-24 13:29:02 +00:00
Dave Wysochanski
17a6fc0b45
Add 'scan_sector' parameter to label_read and _find_labeller to add
...
flexibility in searching for disk labels.
2007-04-23 18:21:01 +00:00
Petr Rockai
727f266227
Fix some memory leaks in dmeventd.
2007-04-23 15:06:03 +00:00
Patrick Caulfield
0b65565e6b
Make clvmd cope with quorum devices in RHEL5
...
bz#237386
2007-04-23 14:55:28 +00:00
Bryn M. Reeves
89f2bf252e
re-commit lvm_dump.sh change
2007-04-19 23:06:05 +00:00
Bryn M. Reeves
864c77a0a7
Make lvm_dump.sh list /dev recursively to aid identifying devices.
2007-04-19 22:56:16 +00:00
Alasdair Kergon
7b74504f40
Introduce _add_field() and _is_same_field() to libdm-report.c.
2007-04-19 20:24:00 +00:00
Milan Broz
0329281b49
Fix libdevmapper-event memory leaks
2007-04-19 19:10:19 +00:00
Dave Wysochanski
662e0238f0
Add dev_read_circular, read 2 regions on same device.
2007-04-19 02:10:42 +00:00
Dave Wysochanski
cc5a4e1d38
Add stub for pvck, a command to check physical volume consistency.
2007-03-30 21:00:26 +00:00
Patrick Caulfield
02c83d6edf
Add some extra error checking & robustness.
...
Thanks to the Crosswalk engineering team:
Leonard Maiorani
Henry Harris
Scott Cannata
2007-03-29 13:59:33 +00:00
Alasdair Kergon
b4fb5226c0
Update lists of attribute characters in man pages.
...
Change cling alloc policy attribute character from 'C' to l'.
2007-03-27 13:35:33 +00:00
Milan Broz
5d06515c0b
Fix creation and conversion of mirrors with tags.
2007-03-26 16:10:10 +00:00
Milan Broz
851002b87d
Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
...
Split metadata areas in vgsplit properly.
2007-03-23 12:43:17 +00:00
Alasdair Kergon
a8f51fa2ae
post-release
2007-03-19 21:16:49 +00:00
Alasdair Kergon
91dc07af67
pre-release
2007-03-19 21:12:54 +00:00
Milan Broz
eca7ef180c
Fix processing of exit status in init scripts
2007-03-16 17:15:36 +00:00
Alasdair Kergon
c2784df48f
Remove unnecessary memset() return value checks. [Jim Meyering]
2007-03-16 14:36:14 +00:00
Milan Broz
d330e660ee
Fix vgremove to require at least one vg argument.
2007-03-15 14:00:30 +00:00
Alasdair Kergon
74e2acb680
Try to fix reading in of lvm1 striped LVs.
...
There are two fixes other than improving variable names and updating code
layout etc.
The loop counter is incremented by area_len instead of area_len * stripes;
the 3rd _check_stripe parameter is no longer multiplied by number of stripes.
2007-03-15 13:38:28 +00:00
Patrick Caulfield
5d47ed1161
Flag nolocking as a clustered locking module as we need to be able
...
to look at clustered LVs at clvmd startup
2007-03-13 14:59:21 +00:00
Alasdair Kergon
b9b260119f
Add a few missing pieces of vgname command line validation.
2007-03-09 21:25:33 +00:00
Alasdair Kergon
9397354a33
Support the /dev/mapper prefix on most command lines.
2007-03-09 20:47:41 +00:00
Alasdair Kergon
13e5d2420d
post-release
2007-03-08 21:37:48 +00:00
Alasdair Kergon
22826bdac6
pre-release
2007-03-08 21:28:13 +00:00
Alasdair Kergon
b45c9f49d0
Fix vgrename active LV check to ignore differing vgids.
2007-03-08 21:08:25 +00:00
Alasdair Kergon
8fe54fddba
Remove no-longer-used uuid_out parameter from activation info functions.
2007-03-08 19:58:04 +00:00
Alasdair Kergon
af91456949
Fix two more segfaults if an empty config file section encountered.
2007-03-08 19:22:52 +00:00
Alasdair Kergon
87cec8eb5e
Move .cache file into a new /etc/lvm/cache directory by default.
...
Add devices/cache_dir & devices/cache_file_prefix, deprecating devices/cache.
Create directory in fcntl_lock_file() if required.
2007-02-28 18:27:13 +00:00
Alasdair Kergon
f359c9b80f
Exclude readline support from lvm.static
2007-02-14 16:51:48 +00:00
Alasdair Kergon
0558b9284e
Fix a leak in a reporting error path.
2007-02-14 15:18:31 +00:00
Alasdair Kergon
012869d6d2
Fix a few leaks in reporting error paths.
2007-02-14 15:12:16 +00:00
Alasdair Kergon
2f2c993235
post-release
2007-02-13 16:16:15 +00:00
Alasdair Kergon
187c689f1c
pre-release
2007-02-13 16:12:24 +00:00
Alasdair Kergon
d8ff86fd09
Correct -b and -P on a couple of man pages.
...
Add global/units to example.conf.
2007-02-13 16:04:01 +00:00
Alasdair Kergon
e09dfed899
Fix loading of segment_libraries. [gentoo]
2007-02-08 17:31:02 +00:00
Alasdair Kergon
37fb985a82
If a PV reappears after it was removed from its VG, make it an orphan.
2007-02-07 13:29:52 +00:00
Alasdair Kergon
112d09deb1
Improve dmeventd messaging protocol: drain pipe and tag messages.
2007-02-02 17:08:51 +00:00
Alasdair Kergon
aa350ef426
Fix some &->&& vgreduce cmdline validation. [Andre Noll]
2007-01-31 16:26:23 +00:00
Alasdair Kergon
612209c8d9
post-release
2007-01-30 21:37:18 +00:00
Alasdair Kergon
f21f60d5ff
pre-release
2007-01-30 18:08:17 +00:00