Alasdair Kergon
6930f60c06
only read labels once between each lock event
2008-01-30 16:18:37 +00:00
Alasdair Kergon
376b76e75c
undo a few 'stack' moves
2008-01-30 14:17:29 +00:00
Alasdair Kergon
1ddd4509dc
Some whitespace tidy-ups.
2008-01-30 14:00:02 +00:00
Alasdair Kergon
6af3f4f4cf
Use stack return macros throughout.
2008-01-30 13:19:47 +00:00
Alasdair Kergon
6726c5f958
Rely upon internally-cached PV labels while corresponding VG lock is held.
2008-01-29 23:45:48 +00:00
Alasdair Kergon
d5a9c43cb2
post-release
2008-01-29 12:02:04 +00:00
Alasdair Kergon
19a5a6a4eb
pre-release
2008-01-29 11:48:11 +00:00
Alasdair Kergon
617a599ee9
Fix two check_lv_segments error messages to show whole segment.
2008-01-26 00:30:28 +00:00
Alasdair Kergon
25e2d4da44
.
2008-01-26 00:25:45 +00:00
Alasdair Kergon
ad2e7218cb
Refactor mirror log attachment code.
2008-01-26 00:25:04 +00:00
Alasdair Kergon
917637fa9b
Fix internal metadata corruption in lvchange --resync.
2008-01-26 00:13:45 +00:00
Alasdair Kergon
b595ee1c0b
suppress compiler warning
2008-01-22 16:02:26 +00:00
Alasdair Kergon
c8260a4a56
update
2008-01-22 15:58:31 +00:00
Dave Wysochanski
d2eaff3204
Fix vgsplit test mode
2008-01-22 03:49:39 +00:00
Dave Wysochanski
b65f5a844f
Fix vgsplit tests 12-13
2008-01-22 03:30:14 +00:00
Dave Wysochanski
95a69f99ba
Fix vgsplit - print different message on successful split of existing / new vg
...
Fix vgsplit - fix a couple error paths that forgot to call unlock_vg
Update vgsplit test cases
2008-01-22 03:25:45 +00:00
Dave Wysochanski
71d609895a
Fix vgsplit - print error if vgcreate option given w/existing vg destination
...
Fix vgsplit - reject split if metadata types or clustered attributes differ
Fix vgsplit - remove physicalextentsize option
Add vgsplit test cases
2008-01-22 02:48:53 +00:00
Patrick Caulfield
9229630447
Remove redundant cnxman-socket.h file.
2008-01-21 14:07:46 +00:00
Alasdair Kergon
eb18a0b7dc
Fix pvs, vgs, lvs error exit status on some error paths.
...
(note -o help is now considered error)
2008-01-20 01:23:46 +00:00
Alasdair Kergon
05ed5c0d74
Use log_warn for reporting field help text instead of log_print.
2008-01-20 01:14:38 +00:00
Alasdair Kergon
41330ecc5e
clarify
2008-01-19 12:36:37 +00:00
Alasdair Kergon
16fbcc6e36
post-release
2008-01-19 12:30:55 +00:00
Alasdair Kergon
d87da9c7de
Pre-release
2008-01-19 12:28:03 +00:00
Alasdair Kergon
94563b6017
Fix lvcreate --nosync not to wait for non-happening sync.
2008-01-18 22:02:37 +00:00
Alasdair Kergon
34d22f7047
add lvconvert messages
2008-01-18 22:00:46 +00:00
Alasdair Kergon
e24d996fbe
Fix lvcreate -M1 readahead.
2008-01-18 21:56:39 +00:00
Dave Wysochanski
9b52617919
Add a test case for 'vgreduce --removemissing' on stacked mirror
2008-01-17 18:29:36 +00:00
Dave Wysochanski
efc1d46c89
More test script fixes.
2008-01-17 18:05:57 +00:00
Alasdair Kergon
9397833ceb
pre-release review cleanups
2008-01-17 17:17:09 +00:00
Dave Wysochanski
e9433e83cd
Minor test fix
2008-01-17 15:56:53 +00:00
Alasdair Kergon
f3c58100a0
fix default stripesize
2008-01-17 15:53:01 +00:00
Alasdair Kergon
8900231d99
fix default extent_size
2008-01-17 15:31:18 +00:00
Alasdair Kergon
c7a63b8a2b
pre-release
2008-01-17 15:02:59 +00:00
Alasdair Kergon
90e90672a4
rename lv_remap_error
2008-01-17 13:54:05 +00:00
Alasdair Kergon
fa51e5c762
mirror log stuff
2008-01-17 13:37:51 +00:00
Alasdair Kergon
911f55d005
lvconvert/vgreduce fixes
2008-01-17 13:13:54 +00:00
Dave Wysochanski
d30eb4e570
Fixup vgsplit man page
2008-01-17 03:18:18 +00:00
Dave Wysochanski
67bcfb6947
Fix descriptions in the newly added test cases
2008-01-17 02:20:48 +00:00
Alasdair Kergon
3915a61b1e
another lvconvert fix
2008-01-16 22:54:49 +00:00
Alasdair Kergon
c170d321e8
fix a _get_vgs return
2008-01-16 22:52:46 +00:00
Dave Wysochanski
2802c476ee
Fix 'make check' runnable with recent versions of dmsetup.
...
Fix 'make check' to use DMDIR to check DM_DEV_DIR support in dmsetup.
Add basic test cases for mirrored LV.
Add basic test cases for lvconvert mirror.
Add basic test cases for pvmove.
Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Add new vgsplit and vgmerge tests.
Dave Wysochanski <dwysocha@redhat.com>
2008-01-16 21:21:22 +00:00
Alasdair Kergon
1050cebf7f
additional safety check on new segment list
2008-01-16 20:00:01 +00:00
Dave Wysochanski
dad73465fc
Create vgs_are_compatible() fn to check whether vgs are compatible for merging.
...
Add new vgmerge and vgsplit tests to check rejection of incompatible vgs.
Cleanup comments.
Bugzilla: bz251992
---
lib/metadata/metadata-exported.h | 3 +
lib/metadata/metadata.c | 89 +++++++++++++++++++++++++++++++++-
test/t-vgmerge-usage.sh | 101 +++++++++++++++++++++++++++++++++++++++
test/t-vgsplit-operation.sh | 20 +++++++
tools/vgmerge.c | 69 --------------------------
tools/vgsplit.c | 5 -
6 files changed, 215 insertions(+), 72 deletions(-)
2008-01-16 19:54:39 +00:00
Alasdair Kergon
8e2ac98fe2
adjust mirror log error message
2008-01-16 19:50:23 +00:00
Alasdair Kergon
9aaf0c36d5
fix to earlier checkin
2008-01-16 19:40:42 +00:00
Alasdair Kergon
1cb07e9cfd
cope with stacked LVs as well as PVs when deciding which bits of mirrors to remove
2008-01-16 19:38:39 +00:00
Alasdair Kergon
f1ccdf25b1
allow a mirror to contain only one mimage
2008-01-16 19:18:51 +00:00
Alasdair Kergon
6dca497b27
fix mirror log manipulation during lv convert
2008-01-16 19:16:48 +00:00
Alasdair Kergon
42a83262a1
export find_temporary_mirror()
2008-01-16 19:13:51 +00:00
Alasdair Kergon
63ee9cbee6
move removable_pvs checking
2008-01-16 19:11:39 +00:00