]> sourceware.org Git - lvm2.git/log
lvm2.git
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.

16 years agoadded manpage
Zdenek Kabelac [Tue, 8 Jan 2008 17:01:42 +0000 (17:01 +0000)]
added manpage

16 years agoreadahead at least twice the strip size (same as raid0 driver does)
Zdenek Kabelac [Tue, 8 Jan 2008 16:47:10 +0000 (16:47 +0000)]
readahead at least twice the strip size (same as raid0 driver does)

16 years agoadded more safety checks
Zdenek Kabelac [Tue, 8 Jan 2008 16:45:43 +0000 (16:45 +0000)]
added more safety checks
fixed error reporting commands
extended with Exa and Peta support

16 years agoFix a segfault if using pvs with --all argument. (2.02.29)
Milan Broz [Mon, 7 Jan 2008 20:42:57 +0000 (20:42 +0000)]
Fix a segfault if using pvs with --all argument. (2.02.29)

16 years agoUpdate --uuid argument description in man pages.
Milan Broz [Fri, 4 Jan 2008 11:48:40 +0000 (11:48 +0000)]
Update --uuid argument description in man pages.

16 years agoFix vgreduce PV list processing not to process every PV in the VG.
Alasdair Kergon [Thu, 3 Jan 2008 19:03:32 +0000 (19:03 +0000)]
Fix vgreduce PV list processing not to process every PV in the VG.

16 years agotypo
Alasdair Kergon [Fri, 28 Dec 2007 15:13:38 +0000 (15:13 +0000)]
typo

16 years agolvconvert uses polldaemon now
Alasdair Kergon [Sat, 22 Dec 2007 12:13:29 +0000 (12:13 +0000)]
lvconvert uses polldaemon now

16 years agoa few more changes/fixes to recent code
Alasdair Kergon [Sat, 22 Dec 2007 02:13:00 +0000 (02:13 +0000)]
a few more changes/fixes to recent code

16 years agoauto-collapse layers
Alasdair Kergon [Fri, 21 Dec 2007 01:08:18 +0000 (01:08 +0000)]
auto-collapse layers

16 years agomore fixes
Alasdair Kergon [Thu, 20 Dec 2007 23:12:27 +0000 (23:12 +0000)]
more fixes

16 years agovarious cleanups in recent patches
Alasdair Kergon [Thu, 20 Dec 2007 22:37:42 +0000 (22:37 +0000)]
various cleanups in recent patches

16 years agostacked mirror support (incomplete)
Alasdair Kergon [Thu, 20 Dec 2007 18:55:46 +0000 (18:55 +0000)]
stacked mirror support (incomplete)

16 years agoavoid some compiler warnings
Alasdair Kergon [Thu, 20 Dec 2007 16:49:37 +0000 (16:49 +0000)]
avoid some compiler warnings

16 years agoMajor restructuring of pvmove and lvconvert layer manipulation code
Alasdair Kergon [Thu, 20 Dec 2007 15:42:55 +0000 (15:42 +0000)]
Major restructuring of pvmove and lvconvert layer manipulation code

16 years agopost-release
Alasdair Kergon [Thu, 20 Dec 2007 15:16:14 +0000 (15:16 +0000)]
post-release

16 years agopre-release
Alasdair Kergon [Thu, 20 Dec 2007 15:12:57 +0000 (15:12 +0000)]
pre-release

16 years agotweak usage text
Alasdair Kergon [Mon, 17 Dec 2007 14:47:22 +0000 (14:47 +0000)]
tweak usage text

16 years agoreplace fsadm.c with fsadm.sh
Alasdair Kergon [Mon, 17 Dec 2007 12:31:50 +0000 (12:31 +0000)]
replace fsadm.c with fsadm.sh

16 years agoBuild changes to replace fsadm C program with shell script.
Alasdair Kergon [Mon, 17 Dec 2007 12:23:24 +0000 (12:23 +0000)]
Build changes to replace fsadm C program with shell script.

16 years ago Append fields to report/pvsegs_cols_verbose.
Alasdair Kergon [Fri, 14 Dec 2007 21:53:02 +0000 (21:53 +0000)]
  Append fields to report/pvsegs_cols_verbose.
  Permit LV segment fields with PV segment reports.
  Add seg_start_pe and seg_pe_ranges to reports.

16 years agomore readahead node fixes/debug messages
Alasdair Kergon [Fri, 14 Dec 2007 19:49:27 +0000 (19:49 +0000)]
more readahead node fixes/debug messages

16 years agoFix deptree to pass new name to _resume_node after a rename.
Alasdair Kergon [Fri, 14 Dec 2007 17:57:04 +0000 (17:57 +0000)]
Fix deptree to pass new name to _resume_node after a rename.

16 years agoAdd node operation stack debug messages.
Alasdair Kergon [Fri, 14 Dec 2007 17:26:09 +0000 (17:26 +0000)]
Add node operation stack debug messages.

16 years agoReport error when empty device name passed to readahead functions.
Alasdair Kergon [Thu, 13 Dec 2007 02:25:45 +0000 (02:25 +0000)]
Report error when empty device name passed to readahead functions.

16 years agopost-release
Alasdair Kergon [Wed, 5 Dec 2007 22:48:06 +0000 (22:48 +0000)]
post-release

16 years agoclarify
Alasdair Kergon [Wed, 5 Dec 2007 22:45:56 +0000 (22:45 +0000)]
clarify

16 years agopre-release
Alasdair Kergon [Wed, 5 Dec 2007 22:19:24 +0000 (22:19 +0000)]
pre-release

N.B. This is a big release and some regressions are inevitable.

16 years agoexport can_split parameter until rest of pvmove allocation restructuring gets done
Alasdair Kergon [Wed, 5 Dec 2007 22:11:20 +0000 (22:11 +0000)]
export can_split parameter until rest of pvmove allocation restructuring gets done

16 years agoround readahead to multiple of page size in tools
Alasdair Kergon [Wed, 5 Dec 2007 19:24:32 +0000 (19:24 +0000)]
round readahead to multiple of page size in tools

16 years agoFix minimum readahead debug message.
Alasdair Kergon [Wed, 5 Dec 2007 18:57:34 +0000 (18:57 +0000)]
Fix minimum readahead debug message.

16 years agopost-release
Alasdair Kergon [Wed, 5 Dec 2007 17:14:30 +0000 (17:14 +0000)]
post-release

16 years agopre-release
Alasdair Kergon [Wed, 5 Dec 2007 17:05:04 +0000 (17:05 +0000)]
pre-release

16 years agoclarify when read_ahead may be set
Alasdair Kergon [Wed, 5 Dec 2007 16:28:19 +0000 (16:28 +0000)]
clarify when read_ahead may be set

16 years agowork out device name to use for read ahead request
Alasdair Kergon [Wed, 5 Dec 2007 16:24:41 +0000 (16:24 +0000)]
work out device name to use for read ahead request

16 years agoread_ahead in report with underscore to match lvm2 field
Alasdair Kergon [Wed, 5 Dec 2007 14:42:10 +0000 (14:42 +0000)]
read_ahead in report with underscore to match lvm2 field

16 years agofix ioctls to use long not int
Alasdair Kergon [Wed, 5 Dec 2007 14:11:26 +0000 (14:11 +0000)]
fix ioctls to use long not int
update dm-ioctl.h after compat tidy-up

16 years agoTidy the clvmd backup code.
Patrick Caulfield [Wed, 5 Dec 2007 13:17:18 +0000 (13:17 +0000)]
Tidy the clvmd backup code.
Move the backups inside the protection of the VG lock,
Don't backup if we have a suspended LV
Correct the vg_read() call

16 years agoAvoid spurious test failure when compiled with readline support.
Jim Meyering [Wed, 5 Dec 2007 09:49:08 +0000 (09:49 +0000)]
Avoid spurious test failure when compiled with readline support.

* test/t-000-basic.sh: Invoke initial test of lvm with its "version"
argument, so that the behavior of the tool doesn't depend on whether
readline was enabled at configure time.

Author: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Committer: Jim Meyering <meyering@redhat.com>

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