Alasdair Kergon
6860fecb81
pre-release
2008-01-17 15:02:59 +00:00
Alasdair Kergon
db24ceca33
rename lv_remap_error
2008-01-17 13:54:05 +00:00
Alasdair Kergon
58a63ae973
mirror log stuff
2008-01-17 13:37:51 +00:00
Alasdair Kergon
5cf3c51857
lvconvert/vgreduce fixes
2008-01-17 13:13:54 +00:00
Dave Wysochanski
f43c66368b
Fixup vgsplit man page
2008-01-17 03:18:18 +00:00
Dave Wysochanski
5aed321d7b
Fix descriptions in the newly added test cases
2008-01-17 02:20:48 +00:00
Alasdair Kergon
ed903fae04
another lvconvert fix
2008-01-16 22:54:49 +00:00
Alasdair Kergon
70955d40a1
fix a _get_vgs return
2008-01-16 22:52:46 +00:00
Dave Wysochanski
9e6c1edc88
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
79182305ef
additional safety check on new segment list
2008-01-16 20:00:01 +00:00
Dave Wysochanski
d865615e9a
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
ba4d6ad8ea
adjust mirror log error message
2008-01-16 19:50:23 +00:00
Alasdair Kergon
c394e2c5b6
fix to earlier checkin
2008-01-16 19:40:42 +00:00
Alasdair Kergon
17431cddac
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
876003dc44
allow a mirror to contain only one mimage
2008-01-16 19:18:51 +00:00
Alasdair Kergon
c014417c46
fix mirror log manipulation during lv convert
2008-01-16 19:16:48 +00:00
Alasdair Kergon
171b53fb25
export find_temporary_mirror()
2008-01-16 19:13:51 +00:00
Alasdair Kergon
e344497277
move removable_pvs checking
2008-01-16 19:11:39 +00:00
Alasdair Kergon
7d18ea22eb
reorder funcs
2008-01-16 19:09:35 +00:00
Alasdair Kergon
72baf0c345
Maintain lists of stacked LV segments using each LV.
2008-01-16 19:00:59 +00:00
Alasdair Kergon
fb3226a3ed
use scan_vgs_for_pvs to detect non-orphans without MDAs
2008-01-16 18:15:26 +00:00
Dave Wysochanski
6ab424acda
Remove unused 'list' param from vgsplit - conflict with maxlogicalvolumes param.
...
Initialize lvm command getopt buffer to zero before building options string.
Bugzilla: bz251992
---
man/vgsplit.8 | 3 +--
tools/commands.h | 3 +--
tools/lvmcmdline.c | 1 +
3 files changed, 3 insertions(+), 4 deletions(-)
2008-01-16 17:14:56 +00:00
Alasdair Kergon
5f3a3e312c
revert temp change
2008-01-16 15:26:40 +00:00
Alasdair Kergon
f6dd48b08a
reword
2008-01-16 15:25:10 +00:00
Alasdair Kergon
a1ff319fda
Don't use block_on_error with mirror targets above version 1.12.
2008-01-16 15:24:25 +00:00
Dave Wysochanski
8868a4ffc2
Move more parameter validation into the library.
...
Update vgrename to call validate_vg_rename_params().
Fix vgcreate and vgsplit default arguments by adding defaults parameter to
fill_vg_create_params().
Add t-vgrename-usage.sh test.
Bugzilla: bz251992
---
tools/toollib.c | 32 ++++++++------------------------
tools/toollib.h | 5 ++---
tools/vgcreate.c | 35 +++++++++++++++++++++--------------
tools/vgrename.c | 35 ++++++-----------------------------
tools/vgsplit.c | 21 ++++++++++++++-------
5 files changed, 51 insertions(+), 77 deletions(-)
2008-01-15 22:56:30 +00:00
Jonathan Earl Brassow
d6d4661517
- The automatic log module loading patch proposed for the upstream kernel
...
works on '-'s, not '_'s. This is due to the preference to have log
module file names that do not mix '_'s and '-'s.
2008-01-15 22:48:11 +00:00
Dave Wysochanski
f9ddc76399
Update WHATS_NEW for vgsplit changes
2008-01-15 20:37:49 +00:00
Alasdair Kergon
272465eab4
lvconvert waits for initial completion by default
2008-01-14 21:11:47 +00:00
Dave Wysochanski
b8daca8570
Allow vgcreate options as input to vgsplit when new vg is split destination.
2008-01-14 21:07:58 +00:00
Dave Wysochanski
3853d11fc8
Allow vgsplit into existing vg.
...
Add vgsplit tests to validate operation for new and existing vg destinations.
2008-01-11 21:43:16 +00:00
Dave Wysochanski
746a2cdbaf
Fixup lvm man pg
2008-01-11 20:24:25 +00:00
Dave Wysochanski
6fcfb4048b
Refactor vgsplit for accepting existing vg as destination
2008-01-11 20:17:18 +00:00
Dave Wysochanski
dc5f6f1b4f
Update lvm man page to enumerate lvm tools.
2008-01-11 19:24:25 +00:00
Dave Wysochanski
f1bf446893
Fix warning on conditional compile, unused variable
2008-01-11 17:44:26 +00:00
Dave Wysochanski
2b0968b795
Refactor vgcreate for parameter validation and add tests
2008-01-11 07:02:35 +00:00
Alasdair Kergon
c9ea4988df
convert_lv
2008-01-10 22:21:44 +00:00
Alasdair Kergon
4d8033dc84
correct field name
2008-01-10 22:21:25 +00:00
Alasdair Kergon
114557c04b
Add lv_convert field to default lvs output.
2008-01-10 19:25:07 +00:00
Alasdair Kergon
06ea7eaa27
Various lvconvert/polldaemon-related fixes from NEC. See lvm-devel
...
for original patches & explanations.
2008-01-10 18:35:51 +00:00
Petr Rockai
4a898ae95b
Print warning when lvm tools are running as non-root.
2008-01-09 15:55:44 +00:00
Petr Rockai
a98a2d4a4e
Amend previous commit. * does not match .files...
2008-01-09 15:33:25 +00:00
Petr Rockai
67961c7c10
Add snapshot dmeventd library (enables dmeventd snapshot monitoring).
2008-01-09 15:32:19 +00:00
Zdenek Kabelac
0ed230fa43
install conditionally fsadm.8 manpage
2008-01-09 14:17:58 +00:00
Petr Rockai
7415ef77a1
Prevent pvcreate from overwriting MDA-less PVs belonging to active VGs.
2008-01-09 00:18:36 +00:00
Zdenek Kabelac
51fa42daf5
added manpage
2008-01-08 17:01:42 +00:00
Zdenek Kabelac
1c1b068ff8
readahead at least twice the strip size (same as raid0 driver does)
2008-01-08 16:47:10 +00:00
Zdenek Kabelac
50c41b09cd
added more safety checks
...
fixed error reporting commands
extended with Exa and Peta support
2008-01-08 16:45:43 +00:00
Milan Broz
a95892f77d
Fix a segfault if using pvs with --all argument. (2.02.29)
2008-01-07 20:42:57 +00:00
Milan Broz
48d9a74d16
Update --uuid argument description in man pages.
2008-01-04 11:48:40 +00:00