]> sourceware.org Git - lvm2.git/log
lvm2.git
16 years agoUpdate vgsplit tests.
Dave Wysochanski [Tue, 4 Mar 2008 19:48:32 +0000 (19:48 +0000)]
Update vgsplit tests.
- Divide into 'usage' and 'operation' tests.
- Add operation tests for specific LV types.

16 years agoRefactor _move_pv() in vgsplit.
Dave Wysochanski [Fri, 29 Feb 2008 00:13:48 +0000 (00:13 +0000)]
Refactor _move_pv() in vgsplit.
Should be no functional change.

16 years agoAdd vgsplit test to check failure when PV not in source volume group.
Dave Wysochanski [Fri, 29 Feb 2008 00:09:21 +0000 (00:09 +0000)]
Add vgsplit test to check failure when PV not in source volume group.

16 years agoFix t-vgsplit-operation.sh lv2-3 definitions to include test signature.
Dave Wysochanski [Thu, 28 Feb 2008 17:39:47 +0000 (17:39 +0000)]
Fix t-vgsplit-operation.sh lv2-3 definitions to include test signature.

16 years agoFix t-vgsplit-operation.sh lv1 definition to include test signature.
Dave Wysochanski [Thu, 28 Feb 2008 16:48:09 +0000 (16:48 +0000)]
Fix t-vgsplit-operation.sh lv1 definition to include test signature.

16 years agoFix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV.
Alasdair Kergon [Fri, 22 Feb 2008 13:28:29 +0000 (13:28 +0000)]
Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV.

16 years agoFix remove_layer_from_lv to empty the LV before removing it. (2.02.30)
Alasdair Kergon [Fri, 22 Feb 2008 13:22:44 +0000 (13:22 +0000)]
Fix remove_layer_from_lv to empty the LV before removing it. (2.02.30)

16 years agoAdd missing no-longer-used segs_using_this_lv test to check_lv_segments.
Alasdair Kergon [Fri, 22 Feb 2008 13:22:21 +0000 (13:22 +0000)]
Add missing no-longer-used segs_using_this_lv test to check_lv_segments.

16 years agoRemove redundant if-before-free tests.
Jim Meyering [Fri, 15 Feb 2008 14:14:58 +0000 (14:14 +0000)]
Remove redundant if-before-free tests.

16 years agoRemove redundant if-before-free tests in clvmd.c.
Jim Meyering [Fri, 15 Feb 2008 14:12:32 +0000 (14:12 +0000)]
Remove redundant if-before-free tests in clvmd.c.

16 years agois_orphan: make parameter "const" to avoid compiler warning
Jim Meyering [Wed, 13 Feb 2008 20:01:48 +0000 (20:01 +0000)]
is_orphan: make parameter "const" to avoid compiler warning

16 years agoFix lvconvert detection of mirror conversion in progress.
Alasdair Kergon [Tue, 12 Feb 2008 13:29:08 +0000 (13:29 +0000)]
Fix lvconvert detection of mirror conversion in progress.

16 years agoAvoid automatic lvconvert polldaemon invocation when -R specified.
Alasdair Kergon [Tue, 12 Feb 2008 13:26:53 +0000 (13:26 +0000)]
Avoid automatic lvconvert polldaemon invocation when -R specified.

16 years agoReflect actual default setting of preferred_names in example.conf and
Dave Wysochanski [Mon, 11 Feb 2008 16:57:40 +0000 (16:57 +0000)]
Reflect actual default setting of preferred_names in example.conf and
update comments.

16 years agoFix 'pvs -a' to detect VGs of PVs without metadata areas.
Alasdair Kergon [Wed, 6 Feb 2008 16:09:51 +0000 (16:09 +0000)]
Fix 'pvs -a' to detect VGs of PVs without metadata areas.

16 years agosplit orphan VG by format type
Alasdair Kergon [Wed, 6 Feb 2008 15:47:28 +0000 (15:47 +0000)]
split orphan VG by format type

16 years ago Fix lvresize to support /dev/mapper prefix in the lvname
Zdenek Kabelac [Wed, 6 Feb 2008 12:45:32 +0000 (12:45 +0000)]
  Fix lvresize to support /dev/mapper prefix in the lvname
  Fix unfilled paramater passed to fsadm from lvresize
  Update fsadm to call lvresize if the partition size differs (with option -l)
  Fix fsadm to support vg/lv name (like the rest of lv-tools)

16 years agoUpdate usage message for clvmd.
Patrick Caulfield [Tue, 5 Feb 2008 09:38:04 +0000 (09:38 +0000)]
Update usage message for clvmd.
Fix clvmd man page printing <br>, clarified debug options.

16 years agoFix default preferred_names filter to use /dev/mapper/mpath devices.
Dave Wysochanski [Mon, 4 Feb 2008 20:26:14 +0000 (20:26 +0000)]
Fix default preferred_names filter to use /dev/mapper/mpath devices.
If these devices exist, we should be using them for multipath rather than any
underlying device names.
Reference: http://kbase.redhat.com/faq/FAQ_96_11196.shtma
bz195685

16 years agopost-release
Alasdair Kergon [Thu, 31 Jan 2008 12:41:13 +0000 (12:41 +0000)]
post-release

16 years agopre-release
Alasdair Kergon [Thu, 31 Jan 2008 12:36:58 +0000 (12:36 +0000)]
pre-release

16 years agoa couple more compiler warnings
Alasdair Kergon [Thu, 31 Jan 2008 12:35:31 +0000 (12:35 +0000)]
a couple more compiler warnings

16 years agoFix mirror log name construction during lvconvert. (2.02.30)
Alasdair Kergon [Thu, 31 Jan 2008 12:19:36 +0000 (12:19 +0000)]
Fix mirror log name construction during lvconvert. (2.02.30)
Make monitor_dev_for_events recurse through the stack of LVs.
Clean up some more compiler warnings.
Add mirror names test script.

16 years agoonly read labels once between each lock event
Alasdair Kergon [Wed, 30 Jan 2008 16:18:37 +0000 (16:18 +0000)]
only read labels once between each lock event

16 years agoundo a few 'stack' moves
Alasdair Kergon [Wed, 30 Jan 2008 14:17:29 +0000 (14:17 +0000)]
undo a few 'stack' moves

16 years agoSome whitespace tidy-ups.
Alasdair Kergon [Wed, 30 Jan 2008 14:00:02 +0000 (14:00 +0000)]
Some whitespace tidy-ups.

16 years agoUse stack return macros throughout.
Alasdair Kergon [Wed, 30 Jan 2008 13:19:47 +0000 (13:19 +0000)]
Use stack return macros throughout.

16 years agoRely upon internally-cached PV labels while corresponding VG lock is held.
Alasdair Kergon [Tue, 29 Jan 2008 23:45:48 +0000 (23:45 +0000)]
Rely upon internally-cached PV labels while corresponding VG lock is held.

16 years agopost-release
Alasdair Kergon [Tue, 29 Jan 2008 12:02:04 +0000 (12:02 +0000)]
post-release

16 years agopre-release
Alasdair Kergon [Tue, 29 Jan 2008 11:48:11 +0000 (11:48 +0000)]
pre-release

16 years agoFix two check_lv_segments error messages to show whole segment.
Alasdair Kergon [Sat, 26 Jan 2008 00:30:28 +0000 (00:30 +0000)]
Fix two check_lv_segments error messages to show whole segment.

16 years ago.
Alasdair Kergon [Sat, 26 Jan 2008 00:25:45 +0000 (00:25 +0000)]
.

16 years agoRefactor mirror log attachment code.
Alasdair Kergon [Sat, 26 Jan 2008 00:25:04 +0000 (00:25 +0000)]
Refactor mirror log attachment code.

16 years agoFix internal metadata corruption in lvchange --resync.
Alasdair Kergon [Sat, 26 Jan 2008 00:13:45 +0000 (00:13 +0000)]
Fix internal metadata corruption in lvchange --resync.

16 years agosuppress compiler warning
Alasdair Kergon [Tue, 22 Jan 2008 16:02:26 +0000 (16:02 +0000)]
suppress compiler warning

16 years agoupdate
Alasdair Kergon [Tue, 22 Jan 2008 15:58:31 +0000 (15:58 +0000)]
update

16 years agoFix vgsplit test mode
Dave Wysochanski [Tue, 22 Jan 2008 03:49:39 +0000 (03:49 +0000)]
Fix vgsplit test mode

16 years agoFix vgsplit tests 12-13
Dave Wysochanski [Tue, 22 Jan 2008 03:30:14 +0000 (03:30 +0000)]
Fix vgsplit tests 12-13

16 years agoFix vgsplit - print different message on successful split of existing / new vg
Dave Wysochanski [Tue, 22 Jan 2008 03:25:45 +0000 (03:25 +0000)]
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

16 years agoFix vgsplit - print error if vgcreate option given w/existing vg destination
Dave Wysochanski [Tue, 22 Jan 2008 02:48:53 +0000 (02:48 +0000)]
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

16 years agoRemove redundant cnxman-socket.h file.
Patrick Caulfield [Mon, 21 Jan 2008 14:07:46 +0000 (14:07 +0000)]
Remove redundant cnxman-socket.h file.

16 years agoFix pvs, vgs, lvs error exit status on some error paths.
Alasdair Kergon [Sun, 20 Jan 2008 01:23:46 +0000 (01:23 +0000)]
Fix pvs, vgs, lvs error exit status on some error paths.
(note -o help is now considered error)

16 years agoUse log_warn for reporting field help text instead of log_print.
Alasdair Kergon [Sun, 20 Jan 2008 01:14:38 +0000 (01:14 +0000)]
Use log_warn for reporting field help text instead of log_print.

16 years agoclarify
Alasdair Kergon [Sat, 19 Jan 2008 12:36:37 +0000 (12:36 +0000)]
clarify

16 years agopost-release
Alasdair Kergon [Sat, 19 Jan 2008 12:30:55 +0000 (12:30 +0000)]
post-release

16 years agoPre-release
Alasdair Kergon [Sat, 19 Jan 2008 12:28:03 +0000 (12:28 +0000)]
Pre-release

16 years agoFix lvcreate --nosync not to wait for non-happening sync.
Alasdair Kergon [Fri, 18 Jan 2008 22:02:37 +0000 (22:02 +0000)]
Fix lvcreate --nosync not to wait for non-happening sync.

16 years agoadd lvconvert messages
Alasdair Kergon [Fri, 18 Jan 2008 22:00:46 +0000 (22:00 +0000)]
add lvconvert messages

16 years agoFix lvcreate -M1 readahead.
Alasdair Kergon [Fri, 18 Jan 2008 21:56:39 +0000 (21:56 +0000)]
Fix lvcreate -M1 readahead.

16 years agoAdd a test case for 'vgreduce --removemissing' on stacked mirror
Dave Wysochanski [Thu, 17 Jan 2008 18:29:36 +0000 (18:29 +0000)]
Add a test case for 'vgreduce --removemissing' on stacked mirror

16 years agoMore test script fixes.
Dave Wysochanski [Thu, 17 Jan 2008 18:05:57 +0000 (18:05 +0000)]
More test script fixes.

16 years agopre-release review cleanups
Alasdair Kergon [Thu, 17 Jan 2008 17:17:09 +0000 (17:17 +0000)]
pre-release review cleanups

16 years agoMinor test fix
Dave Wysochanski [Thu, 17 Jan 2008 15:56:53 +0000 (15:56 +0000)]
Minor test fix

16 years agofix default stripesize
Alasdair Kergon [Thu, 17 Jan 2008 15:53:01 +0000 (15:53 +0000)]
fix default stripesize

16 years agofix default extent_size
Alasdair Kergon [Thu, 17 Jan 2008 15:31:18 +0000 (15:31 +0000)]
fix default extent_size

16 years agopre-release
Alasdair Kergon [Thu, 17 Jan 2008 15:02:59 +0000 (15:02 +0000)]
pre-release

16 years agorename lv_remap_error
Alasdair Kergon [Thu, 17 Jan 2008 13:54:05 +0000 (13:54 +0000)]
rename lv_remap_error

16 years agomirror log stuff
Alasdair Kergon [Thu, 17 Jan 2008 13:37:51 +0000 (13:37 +0000)]
mirror log stuff

16 years agolvconvert/vgreduce fixes
Alasdair Kergon [Thu, 17 Jan 2008 13:13:54 +0000 (13:13 +0000)]
lvconvert/vgreduce fixes

16 years agoFixup vgsplit man page
Dave Wysochanski [Thu, 17 Jan 2008 03:18:18 +0000 (03:18 +0000)]
Fixup vgsplit man page

16 years agoFix descriptions in the newly added test cases
Dave Wysochanski [Thu, 17 Jan 2008 02:20:48 +0000 (02:20 +0000)]
Fix descriptions in the newly added test cases

16 years agoanother lvconvert fix
Alasdair Kergon [Wed, 16 Jan 2008 22:54:49 +0000 (22:54 +0000)]
another lvconvert fix

16 years agofix a _get_vgs return
Alasdair Kergon [Wed, 16 Jan 2008 22:52:46 +0000 (22:52 +0000)]
fix a _get_vgs return

16 years agoFix 'make check' runnable with recent versions of dmsetup.
Dave Wysochanski [Wed, 16 Jan 2008 21:21:22 +0000 (21:21 +0000)]
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>

16 years agoadditional safety check on new segment list
Alasdair Kergon [Wed, 16 Jan 2008 20:00:01 +0000 (20:00 +0000)]
additional safety check on new segment list

16 years agoCreate vgs_are_compatible() fn to check whether vgs are compatible for merging.
Dave Wysochanski [Wed, 16 Jan 2008 19:54:39 +0000 (19:54 +0000)]
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(-)

16 years agoadjust mirror log error message
Alasdair Kergon [Wed, 16 Jan 2008 19:50:23 +0000 (19:50 +0000)]
adjust mirror log error message

16 years agofix to earlier checkin
Alasdair Kergon [Wed, 16 Jan 2008 19:40:42 +0000 (19:40 +0000)]
fix to earlier checkin

16 years agocope with stacked LVs as well as PVs when deciding which bits of mirrors to remove
Alasdair Kergon [Wed, 16 Jan 2008 19:38:39 +0000 (19:38 +0000)]
cope with stacked LVs as well as PVs when deciding which bits of mirrors to remove

16 years agoallow a mirror to contain only one mimage
Alasdair Kergon [Wed, 16 Jan 2008 19:18:51 +0000 (19:18 +0000)]
allow a mirror to contain only one mimage

16 years agofix mirror log manipulation during lv convert
Alasdair Kergon [Wed, 16 Jan 2008 19:16:48 +0000 (19:16 +0000)]
fix mirror log manipulation during lv convert

16 years agoexport find_temporary_mirror()
Alasdair Kergon [Wed, 16 Jan 2008 19:13:51 +0000 (19:13 +0000)]
export find_temporary_mirror()

16 years agomove removable_pvs checking
Alasdair Kergon [Wed, 16 Jan 2008 19:11:39 +0000 (19:11 +0000)]
move removable_pvs checking

16 years agoreorder funcs
Alasdair Kergon [Wed, 16 Jan 2008 19:09:35 +0000 (19:09 +0000)]
reorder funcs

16 years agoMaintain lists of stacked LV segments using each LV.
Alasdair Kergon [Wed, 16 Jan 2008 19:00:59 +0000 (19:00 +0000)]
Maintain lists of stacked LV segments using each LV.

16 years agouse scan_vgs_for_pvs to detect non-orphans without MDAs
Alasdair Kergon [Wed, 16 Jan 2008 18:15:26 +0000 (18:15 +0000)]
use scan_vgs_for_pvs to detect non-orphans without MDAs

16 years agoRemove unused 'list' param from vgsplit - conflict with maxlogicalvolumes param.
Dave Wysochanski [Wed, 16 Jan 2008 17:14:56 +0000 (17:14 +0000)]
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(-)

16 years agorevert temp change
Alasdair Kergon [Wed, 16 Jan 2008 15:26:40 +0000 (15:26 +0000)]
revert temp change

16 years agoreword
Alasdair Kergon [Wed, 16 Jan 2008 15:25:10 +0000 (15:25 +0000)]
reword

16 years agoDon't use block_on_error with mirror targets above version 1.12.
Alasdair Kergon [Wed, 16 Jan 2008 15:24:25 +0000 (15:24 +0000)]
Don't use block_on_error with mirror targets above version 1.12.

16 years agoMove more parameter validation into the library.
Dave Wysochanski [Tue, 15 Jan 2008 22:56:30 +0000 (22:56 +0000)]
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(-)

16 years ago- The automatic log module loading patch proposed for the upstream kernel
Jonathan Earl Brassow [Tue, 15 Jan 2008 22:48:11 +0000 (22:48 +0000)]
- 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.

16 years agoUpdate WHATS_NEW for vgsplit changes
Dave Wysochanski [Tue, 15 Jan 2008 20:37:49 +0000 (20:37 +0000)]
Update WHATS_NEW for vgsplit changes

16 years agolvconvert waits for initial completion by default
Alasdair Kergon [Mon, 14 Jan 2008 21:11:47 +0000 (21:11 +0000)]
lvconvert waits for initial completion by default

16 years agoAllow vgcreate options as input to vgsplit when new vg is split destination.
Dave Wysochanski [Mon, 14 Jan 2008 21:07:58 +0000 (21:07 +0000)]
Allow vgcreate options as input to vgsplit when new vg is split destination.

16 years agoAllow vgsplit into existing vg.
Dave Wysochanski [Fri, 11 Jan 2008 21:43:16 +0000 (21:43 +0000)]
Allow vgsplit into existing vg.
Add vgsplit tests to validate operation for new and existing vg destinations.

16 years agoFixup lvm man pg
Dave Wysochanski [Fri, 11 Jan 2008 20:24:25 +0000 (20:24 +0000)]
Fixup lvm man pg

16 years agoRefactor vgsplit for accepting existing vg as destination
Dave Wysochanski [Fri, 11 Jan 2008 20:17:18 +0000 (20:17 +0000)]
Refactor vgsplit for accepting existing vg as destination

16 years agoUpdate lvm man page to enumerate lvm tools.
Dave Wysochanski [Fri, 11 Jan 2008 19:24:25 +0000 (19:24 +0000)]
Update lvm man page to enumerate lvm tools.

16 years agoFix warning on conditional compile, unused variable
Dave Wysochanski [Fri, 11 Jan 2008 17:44:26 +0000 (17:44 +0000)]
Fix warning on conditional compile, unused variable

16 years agoRefactor vgcreate for parameter validation and add tests
Dave Wysochanski [Fri, 11 Jan 2008 07:02:35 +0000 (07:02 +0000)]
Refactor vgcreate for parameter validation and add tests

16 years agoconvert_lv
Alasdair Kergon [Thu, 10 Jan 2008 22:21:44 +0000 (22:21 +0000)]
convert_lv

16 years agocorrect field name
Alasdair Kergon [Thu, 10 Jan 2008 22:21:25 +0000 (22:21 +0000)]
correct field name

16 years agoAdd lv_convert field to default lvs output.
Alasdair Kergon [Thu, 10 Jan 2008 19:25:07 +0000 (19:25 +0000)]
Add lv_convert field to default lvs output.

16 years agoVarious lvconvert/polldaemon-related fixes from NEC. See lvm-devel
Alasdair Kergon [Thu, 10 Jan 2008 18:35:51 +0000 (18:35 +0000)]
Various lvconvert/polldaemon-related fixes from NEC.  See lvm-devel
for original patches & explanations.

16 years agoPrint warning when lvm tools are running as non-root.
Petr Rockai [Wed, 9 Jan 2008 15:55:44 +0000 (15:55 +0000)]
Print warning when lvm tools are running as non-root.

16 years agoAmend previous commit. * does not match .files...
Petr Rockai [Wed, 9 Jan 2008 15:33:25 +0000 (15:33 +0000)]
Amend previous commit. * does not match .files...

16 years agoAdd snapshot dmeventd library (enables dmeventd snapshot monitoring).
Petr Rockai [Wed, 9 Jan 2008 15:32:19 +0000 (15:32 +0000)]
Add snapshot dmeventd library (enables dmeventd snapshot monitoring).

16 years agoinstall conditionally fsadm.8 manpage
Zdenek Kabelac [Wed, 9 Jan 2008 14:17:58 +0000 (14:17 +0000)]
install conditionally fsadm.8 manpage

16 years agoPrevent pvcreate from overwriting MDA-less PVs belonging to active VGs.
Petr Rockai [Wed, 9 Jan 2008 00:18:36 +0000 (00:18 +0000)]
Prevent pvcreate from overwriting MDA-less PVs belonging to active VGs.

This page took 0.063525 seconds and 5 git commands to generate.