Zdeněk Kabeláč
52361c94e5
valid parameter for lvchange -p is 'rw'
2008-08-13 14:28:17 +00:00
Zdeněk Kabeláč
798be60fef
added test for coverage improvement
...
added test for metadata type 1
2008-08-13 13:49:07 +00:00
Zdeněk Kabeláč
6294154b15
get lv_list properly from vg->lst and fix compiler warning
2008-08-13 13:42:35 +00:00
Milan Broz
6594fe077d
Fix vgcfgbackup to properly check filename if template is used.
2008-08-13 12:44:24 +00:00
Milan Broz
582706cde6
add tests for pvchange and vgreduce usage (Jaroslav Stava)
2008-08-12 10:04:31 +00:00
Milan Broz
6537cbdc17
test vgsplit: reject to give away pv with the last mda copy (Jaroslav Stava)
2008-08-12 10:01:56 +00:00
Zdeněk Kabeláč
53959459bb
* more strict const
2008-08-07 14:02:32 +00:00
Zdeněk Kabeláč
22d6121099
added const modifiers
...
switched const char* to const char[] elements to save few relocation entries
2008-08-07 14:01:17 +00:00
Zdeněk Kabeláč
48d7f6f2f4
added const and saved relocation entry
2008-08-07 13:59:49 +00:00
Zdeněk Kabeláč
9fd4ddc490
configure aborts if lcov or genhtml are missing with --enable-profiling
2008-08-05 14:29:38 +00:00
Zdeněk Kabeláč
a4d2fddbb2
add test for pool labels gfs
...
add test for metadatacopies0 and snapshot manipulation
2008-08-05 12:33:41 +00:00
Zdeněk Kabeláč
c54a3f2721
put dmeventd into the LD_LIBRARY_PATH for lvm-wrapper
2008-08-05 12:32:08 +00:00
Zdeněk Kabeláč
04c0dba697
vgremove tries to remove lv snapshot first.
...
Added function lv_remove_with_dependencies().
2008-08-05 12:05:26 +00:00
Zdeněk Kabeláč
5406e3b7c5
avoid endless option parsing loop
...
add support for lvm verbose operation -vvvv
add dlsym path to the test config file
2008-08-05 11:39:54 +00:00
Zdeněk Kabeláč
6b624b7d00
* parse error output for 'auto' keyword
2008-08-04 09:15:15 +00:00
Alasdair Kergon
2d364d4d80
Improve file descriptor leak detection to display likely culprit and filename.
2008-08-01 19:51:27 +00:00
Zdeněk Kabeláč
1f27bf3774
disable mdadm test-case until a better solution is found
2008-08-01 15:44:53 +00:00
Alasdair Kergon
d30a2653b5
remove now-redundant slash-stripping
2008-07-31 15:38:52 +00:00
Alasdair Kergon
3086822cd2
Change clustered mirror kernel module name from cmirror to dm-log-clustered.
2008-07-31 14:43:39 +00:00
Alasdair Kergon
2c08336490
Avoid looping forever in _pv_analyze_mda_raw used by pvck.
2008-07-31 13:07:01 +00:00
Alasdair Kergon
5936ac58c2
Change lvchange exit status to indicate if any part of the operation failed.
2008-07-31 13:03:01 +00:00
Alasdair Kergon
ded77e3f5c
remove unused mdas variable
2008-07-31 12:40:52 +00:00
Alasdair Kergon
8a29df0a6c
fix pvremove for pvs without mdas
2008-07-31 12:38:31 +00:00
Alasdair Kergon
9db22babaf
Fix pvchange to handle PVs without mdas.
2008-07-31 12:28:51 +00:00
Alasdair Kergon
c318c5ed61
Refactor _text_pv_read and always return mda list if requested.
2008-07-31 10:50:18 +00:00
Dave Wysochanski
61243c65cd
Add pvcreate tests to verify failure on md array detection.
2008-07-29 21:05:20 +00:00
Dave Wysochanski
4a5d5cb462
Fix trivial typo in pvcreate man page.
2008-07-29 18:35:00 +00:00
Dave Wysochanski
cbf1447ebd
Refactor pvcreate - simplify return codes.
2008-07-25 14:59:51 +00:00
Dave Wysochanski
30104441bf
Refactor pvcreate - --yes argument
2008-07-25 14:45:24 +00:00
Dave Wysochanski
b4a70804f0
Refactor pvcreate - --force parameter.
2008-07-25 14:36:55 +00:00
Dave Wysochanski
74f6707bde
Refactor pvcreate - use '0' for no --uuid or --restorefile options.
2008-07-25 14:12:29 +00:00
Jim Meyering
223eb8c84d
configure: regenerate
2008-07-25 08:00:40 +00:00
Jim Meyering
107d000606
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
43e05607af
Refactor pvcreate - move uuid and restorefile options.
2008-07-25 00:30:57 +00:00
Dave Wysochanski
55793452d5
Add pvcreate tests for uuid and restorefile.
2008-07-24 17:33:40 +00:00
Alasdair Kergon
686ba37255
.
2008-07-24 15:39:47 +00:00
Alasdair Kergon
03ed19dad5
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
ad2b6e5de1
configure: regenerate
2008-07-24 14:54:26 +00:00
Jim Meyering
767676d6ff
Don't make configure fail when readline library is not available.
2008-07-24 14:54:06 +00:00
Dave Wysochanski
bc7a54c615
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
1bda393678
Refactor pvcreate - move labelsector parameter parsing & validation.
2008-07-23 19:29:58 +00:00
Dave Wysochanski
bb5495c6bd
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
484f905749
Refactor pvcreate to divide parameter parsing & validation from create logic.
2008-07-21 19:26:33 +00:00
Dave Wysochanski
e0d61a4336
Add more pvcreate tests to validate writing lvm2 label using --labelsector.
2008-07-21 18:50:10 +00:00
Dave Wysochanski
e643a16ba5
Refactor _lvcreate() - no functional change.
2008-07-17 15:19:42 +00:00
Dave Wysochanski
98fadec2b6
Only use lvm2 metadata for now.
2008-07-17 04:03:04 +00:00
Dave Wysochanski
14f464ecb0
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
2ecdaf9bd4
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
707c898f66
Fix pvchange -M1 -u to preserve existing extent locations when there's a VG.
2008-07-16 10:46:12 +00:00
Alasdair Kergon
69e4400774
Cease recognising snapshot-in-use percentages returned by early development kernels.
2008-07-15 00:25:52 +00:00