Alasdair Kergon
29f7cbdabf
Refactor _text_pv_read and always return mda list if requested.
2008-07-31 10:50:18 +00:00
Dave Wysochanski
6ce652e3ec
Add pvcreate tests to verify failure on md array detection.
2008-07-29 21:05:20 +00:00
Dave Wysochanski
73e08af01a
Fix trivial typo in pvcreate man page.
2008-07-29 18:35:00 +00:00
Dave Wysochanski
65a431fe1f
Refactor pvcreate - simplify return codes.
2008-07-25 14:59:51 +00:00
Dave Wysochanski
0e74f8fc65
Refactor pvcreate - --yes argument
2008-07-25 14:45:24 +00:00
Dave Wysochanski
3cf01067cf
Refactor pvcreate - --force parameter.
2008-07-25 14:36:55 +00:00
Dave Wysochanski
8bb4eab0d7
Refactor pvcreate - use '0' for no --uuid or --restorefile options.
2008-07-25 14:12:29 +00:00
Jim Meyering
bc1024f8bc
configure: regenerate
2008-07-25 08:00:40 +00:00
Jim Meyering
0ad6b7e212
Avoid compiler warnings (provoked by new configure.in bug) on RHEL5.
...
Do not override the default action of AC_CHECK_LIB([readline],...
(i.e., leave the ACTION-IF-FOUND parameter blank) so that the
subsequent check for rl_completion_matches can use -lreadline.
Also, replace AC_CHECK_FUNC+AC_DEFINE with an equivalent AC_CHECK_FUNCS call.
2008-07-25 08:00:18 +00:00
Dave Wysochanski
1a02e2e43b
Refactor pvcreate - move uuid and restorefile options.
2008-07-25 00:30:57 +00:00
Dave Wysochanski
495a551e06
Add pvcreate tests for uuid and restorefile.
2008-07-24 17:33:40 +00:00
Alasdair Kergon
ca822ab44e
.
2008-07-24 15:39:47 +00:00
Alasdair Kergon
08c1745893
reinstate lost FIXME
...
- only if kernel gives the info, not to be worked out in userspace
- with lvm.conf option to enable/disable the check
2008-07-24 15:25:09 +00:00
Jim Meyering
06e459df4b
configure: regenerate
2008-07-24 14:54:26 +00:00
Jim Meyering
ea7cfb003f
Don't make configure fail when readline library is not available.
2008-07-24 14:54:06 +00:00
Dave Wysochanski
f2d0cc63fd
Remove dead code, is_lvm_partition() - no functional change.
...
This code does nothing. The function is #defined to 1 which ensures the only
two if statements referencing it will never be true.
2008-07-23 19:46:33 +00:00
Dave Wysochanski
61bc35aa12
Refactor pvcreate - move labelsector parameter parsing & validation.
2008-07-23 19:29:58 +00:00
Dave Wysochanski
7d400bc787
Refactor pvcreate - divide parameter parsing & validation from create logic.
...
Move size (setphysicalvolumesize option), metadatacopies and metadatasize
validation.
2008-07-21 19:27:22 +00:00
Dave Wysochanski
57376069bd
Refactor pvcreate to divide parameter parsing & validation from create logic.
2008-07-21 19:26:33 +00:00
Dave Wysochanski
3ea8df93b1
Add more pvcreate tests to validate writing lvm2 label using --labelsector.
2008-07-21 18:50:10 +00:00
Dave Wysochanski
2b6589c0d7
Refactor _lvcreate() - no functional change.
2008-07-17 15:19:42 +00:00
Dave Wysochanski
fa53d359d5
Only use lvm2 metadata for now.
2008-07-17 04:03:04 +00:00
Dave Wysochanski
4833ac3d3d
Update pvcreate and vgsplit tests.
...
Add more pvcreate tests.
Start handling lvm1 and lvm2 metadata and metadatacopies=0,1.
2008-07-17 03:17:01 +00:00
Dave Wysochanski
d2edd6ac07
Add pvcreate sanity tests, check for label_write() failure in _text_pv_write().
...
Failure to check for label_write() return code caused the following test
to indicate it passed when it really failed:
pvcreate rejects labelsector > 1000000000000
2008-07-16 21:32:38 +00:00
Alasdair Kergon
239c4fe6db
Fix pvchange -M1 -u to preserve existing extent locations when there's a VG.
2008-07-16 10:46:12 +00:00
Alasdair Kergon
82185ada82
Cease recognising snapshot-in-use percentages returned by early development kernels.
2008-07-15 00:25:52 +00:00
Petr Rockai
0745f76ebe
Fix gcc warnings.
2008-07-11 09:19:54 +00:00
Petr Rockai
bc437feded
Add "flags" metadata field (akin to "status") for backward-compatible flags.
...
The "status" field is treated as it ever has been, unknown flags there are
treated as fatal metadata errors. However, in the "flags" field, any unknown
flags will be ignored and silently dropped. This improves
backward-compatibility possibilities. (Any versions without support for this
new "flag" field will drop the field altogether, which is same as ignoring all
the flags there.)
2008-07-10 11:30:57 +00:00
Alasdair Kergon
367a0ac052
.
2008-07-10 09:50:23 +00:00
Petr Rockai
8153260792
Add #include <signal.h> to dmeventd.c, fixes compilation on NetBSD.
2008-07-09 13:26:07 +00:00
Petr Rockai
2a9a80c9bb
Fix dmeventd regression where mirror and snapshot monitoring libraries
...
failed to link against liblvm2cmd.
Dmeventd DSOs *require* lvm2cmd to be linked in.
For the future:
1) AC_SUBST does not create Makefile variables, only @foo@-style substitutions
2) When using `test', whitespace around `=' is essential:
test a=b is true, as is test a=a
2008-07-09 09:59:42 +00:00
Alasdair Kergon
f4fa433eff
post-release
2008-06-27 22:35:22 +00:00
Alasdair Kergon
20ee0a0609
pre-release
2008-06-27 21:56:35 +00:00
Alasdair Kergon
1b52334772
Enable readline by default if available.
2008-06-27 19:57:27 +00:00
Alasdair Kergon
5556819ac8
tweak lcov configuration/makefiles
2008-06-27 19:24:17 +00:00
Zdenek Kabelac
c454025a0f
Added generation of the versioned libdevmapper-event.so for LVM's test
2008-06-27 15:36:51 +00:00
Zdenek Kabelac
fddafd5125
extended configure with --enable-profiling for compiling code with gcov info
...
extended Makefile with targets:
cov-reset - reset counters
cov - generete report to covhtml subdirectory
covd - generate report to covhtml-DATE-TIME subdirectory
2008-06-27 15:35:09 +00:00
Alasdair Kergon
59743245b4
Fix up cache for PVs without mdas after consistent VG metadata is processed.
2008-06-27 15:18:31 +00:00
Alasdair Kergon
6db4136358
Update validation of safe mirror log type conversions in lvconvert. (brassow)
2008-06-26 23:05:11 +00:00
Alasdair Kergon
1049bc2f9c
Fix lvconvert to disallow snapshot and mirror combinations. (mpatocka)
2008-06-26 21:38:58 +00:00
Alasdair Kergon
b6943304c9
Underline longer report help text headings.
2008-06-25 19:52:52 +00:00
Alasdair Kergon
36081ccf2d
Fix reporting of LV fields alongside unallocated PV segments.
2008-06-25 16:52:27 +00:00
Dave Wysochanski
937a25249f
Test script cleanup.
2008-06-25 16:51:26 +00:00
Alasdair Kergon
5bb4711b22
post-release
2008-06-25 14:44:00 +00:00
Alasdair Kergon
6e1898a5a2
pre-commit
2008-06-25 14:24:17 +00:00
Alasdair Kergon
9070816ebb
Align struct memblock in dbg_malloc for sparc.
2008-06-25 14:10:33 +00:00
Alasdair Kergon
aa882ea539
Cope with missing field values.
2008-06-25 00:10:36 +00:00
Alasdair Kergon
ca8d363d2c
Add --rows to dmsetup.
2008-06-24 22:53:48 +00:00
Alasdair Kergon
1f787aca28
Add --rows to reports.
2008-06-24 22:48:53 +00:00
Alasdair Kergon
30ef4c738a
Add --unquoted to reporting tools.
2008-06-24 21:21:04 +00:00