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

16 years agoWhen we unlock a VG tell the clvmds to see if a backup of the metadata needs
Patrick Caulfield [Tue, 4 Dec 2007 15:39:26 +0000 (15:39 +0000)]
When we unlock a VG tell the clvmds to see if a backup of the metadata needs
to be done.

16 years agofixme
Alasdair Kergon [Mon, 3 Dec 2007 22:53:04 +0000 (22:53 +0000)]
fixme

16 years agofixes
Alasdair Kergon [Mon, 3 Dec 2007 22:48:36 +0000 (22:48 +0000)]
fixes

16 years agofix changed parms
Alasdair Kergon [Mon, 3 Dec 2007 18:00:38 +0000 (18:00 +0000)]
fix changed parms

16 years agomissing #include
Alasdair Kergon [Mon, 3 Dec 2007 17:56:36 +0000 (17:56 +0000)]
missing #include

16 years agofix
Alasdair Kergon [Fri, 30 Nov 2007 16:44:42 +0000 (16:44 +0000)]
fix

16 years agoreadahead support completed - untested
Alasdair Kergon [Fri, 30 Nov 2007 16:42:26 +0000 (16:42 +0000)]
readahead support completed - untested

16 years agoread_ahead node ops
Alasdair Kergon [Fri, 30 Nov 2007 14:59:57 +0000 (14:59 +0000)]
read_ahead node ops

16 years agouncomment libdevmapper readahead calls
Alasdair Kergon [Thu, 29 Nov 2007 15:04:12 +0000 (15:04 +0000)]
uncomment libdevmapper readahead calls

16 years agorefine specification of dmsetup readahead
Alasdair Kergon [Thu, 29 Nov 2007 14:44:28 +0000 (14:44 +0000)]
refine specification of dmsetup readahead

16 years agoadd read_ahead functions to library and dmsetup --readahead
Alasdair Kergon [Tue, 27 Nov 2007 20:57:05 +0000 (20:57 +0000)]
add read_ahead functions to library and dmsetup --readahead
(Not live yet.)

16 years agoFix a possible double-free in libdevmapper-event.
Petr Rockai [Tue, 27 Nov 2007 12:26:06 +0000 (12:26 +0000)]
Fix a possible double-free in libdevmapper-event.

16 years agodrop mirrored_pv/mirrored_pe from alloc handle
Alasdair Kergon [Thu, 22 Nov 2007 14:54:35 +0000 (14:54 +0000)]
drop mirrored_pv/mirrored_pe from alloc handle

16 years agoStart refactoring pvmove allocation code.
Alasdair Kergon [Thu, 22 Nov 2007 13:57:21 +0000 (13:57 +0000)]
Start refactoring pvmove allocation code.

16 years agoFIXMEs for case where dm itself has device open
Alasdair Kergon [Thu, 22 Nov 2007 01:25:06 +0000 (01:25 +0000)]
FIXMEs for case where dm itself has device open

16 years agonote pvmove breakage
Alasdair Kergon [Mon, 19 Nov 2007 18:24:08 +0000 (18:24 +0000)]
note pvmove breakage

16 years agoDecode cluster locking state in log message. (untested)
Alasdair Kergon [Fri, 16 Nov 2007 21:16:20 +0000 (21:16 +0000)]
Decode cluster locking state in log message. (untested)
Change file locking state messages from debug to very verbose.

16 years agomove pvresize_single back under tools
Alasdair Kergon [Thu, 15 Nov 2007 22:11:18 +0000 (22:11 +0000)]
move pvresize_single back under tools

16 years agoFix --addtag to drop @ prefix from name
Alasdair Kergon [Thu, 15 Nov 2007 21:59:11 +0000 (21:59 +0000)]
Fix --addtag to drop @ prefix from name

16 years agomore vg_read lock fixes
Alasdair Kergon [Thu, 15 Nov 2007 21:30:52 +0000 (21:30 +0000)]
more vg_read lock fixes

16 years agoIf the pre_command fails then go back and wait patiently for the next
Patrick Caulfield [Thu, 15 Nov 2007 10:16:14 +0000 (10:16 +0000)]
If the pre_command fails then go back and wait patiently for the next
pre function rather than retrying it until we get stuck!

16 years agodefine LCK_NONE for cases when vg_lock_and_read already holds lock
Alasdair Kergon [Thu, 15 Nov 2007 02:55:22 +0000 (02:55 +0000)]
define LCK_NONE for cases when vg_lock_and_read already holds lock
(temporary - library will use internal ref counting instead)

16 years agoanother vg_lock_and_read
Alasdair Kergon [Thu, 15 Nov 2007 02:53:49 +0000 (02:53 +0000)]
another vg_lock_and_read

16 years agoConvert some vg_reads into vg_lock_and_reads
Alasdair Kergon [Thu, 15 Nov 2007 02:20:03 +0000 (02:20 +0000)]
Convert some vg_reads into vg_lock_and_reads

16 years agoAvoid nested vg_reads when processing PVs in VGs and fix associated locking.
Alasdair Kergon [Wed, 14 Nov 2007 18:41:05 +0000 (18:41 +0000)]
Avoid nested vg_reads when processing PVs in VGs and fix associated locking.

16 years agoMake it compile with new lv_info_by_lvid() prototype
Patrick Caulfield [Wed, 14 Nov 2007 13:37:51 +0000 (13:37 +0000)]
Make it compile with new lv_info_by_lvid() prototype

16 years agoAccept sizes with --readahead argument.
Alasdair Kergon [Wed, 14 Nov 2007 00:08:25 +0000 (00:08 +0000)]
Accept sizes with --readahead argument.
Store size arguments as sectors internally.

16 years agofix precedence
Alasdair Kergon [Mon, 12 Nov 2007 21:50:21 +0000 (21:50 +0000)]
fix precedence

16 years agoreadahead activation code (but no dm support yet)
Alasdair Kergon [Mon, 12 Nov 2007 20:51:54 +0000 (20:51 +0000)]
readahead activation code (but no dm support yet)

16 years agoAdd DM_READ_AHEAD_MINIMUM_FLAG
Alasdair Kergon [Mon, 12 Nov 2007 20:47:18 +0000 (20:47 +0000)]
Add DM_READ_AHEAD_MINIMUM_FLAG

16 years agoFix compile warnings / minor errors introduced recently.
Dave Wysochanski [Mon, 12 Nov 2007 20:02:55 +0000 (20:02 +0000)]
Fix compile warnings / minor errors introduced recently.

16 years agoRemove new mirror logs when creation fails.
Alasdair Kergon [Mon, 12 Nov 2007 14:36:57 +0000 (14:36 +0000)]
Remove new mirror logs when creation fails.

16 years agoAttempt to remove incomplete LVs with lvcreate zeroing/activation problems.
Alasdair Kergon [Mon, 12 Nov 2007 13:34:14 +0000 (13:34 +0000)]
Attempt to remove incomplete LVs with lvcreate zeroing/activation problems.

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