]> sourceware.org Git - lvm2.git/log
lvm2.git
16 years agoShow 'not usable' space when PV is too large for device in pvdisplay.
Alasdair Kergon [Mon, 5 Nov 2007 01:47:49 +0000 (01:47 +0000)]
Show 'not usable' space when PV is too large for device in pvdisplay.
Ignore and fix up any excessive device size found in metadata.

16 years agoAdd LVM2 version to 'Generated by' comment in metadata.
Alasdair Kergon [Sun, 4 Nov 2007 19:16:34 +0000 (19:16 +0000)]
Add LVM2 version to 'Generated by' comment in metadata.

16 years agofix new lvremove checks - mustn't fail when activation is disabled
Alasdair Kergon [Sun, 4 Nov 2007 16:28:57 +0000 (16:28 +0000)]
fix new lvremove checks - mustn't fail when activation is disabled

16 years agoFix error message when fixing up PV size in lvm2 metadata (2.02.11).
Alasdair Kergon [Sun, 4 Nov 2007 15:43:50 +0000 (15:43 +0000)]
Fix error message when fixing up PV size in lvm2 metadata (2.02.11).

16 years agoFix orphan-related locking in pvdisplay and pvs.
Alasdair Kergon [Fri, 2 Nov 2007 20:40:05 +0000 (20:40 +0000)]
Fix orphan-related locking in pvdisplay and pvs.
Fix missing VG unlocks in some pvchange error paths.
Add some missing validation of VG names.
Rename validate_vg_name() to validate_new_vg_name().
Change orphan lock to VG_ORPHANS.
Change format1 to use ORPHAN as orphan VG name.

16 years agoConvert pvchange, pvdisplay, pvscan to use is_orphan()
Bryn M. Reeves [Fri, 2 Nov 2007 14:54:40 +0000 (14:54 +0000)]
Convert pvchange, pvdisplay, pvscan to use is_orphan()

16 years agoAdd is_orphan_vg() and change all hardcoded checks to use it.
Bryn M. Reeves [Fri, 2 Nov 2007 13:06:42 +0000 (13:06 +0000)]
Add is_orphan_vg() and change all hardcoded checks to use it.

16 years agoexplanation of md superblock location & avoid compilation warnings
Alasdair Kergon [Wed, 24 Oct 2007 11:24:24 +0000 (11:24 +0000)]
explanation of md superblock location & avoid compilation warnings

16 years agoDetect md superblocks version 1.0, 1.1 and 1.2.
Alasdair Kergon [Wed, 24 Oct 2007 00:51:05 +0000 (00:51 +0000)]
Detect md superblocks version 1.0, 1.1 and 1.2.

16 years agorefactor dev-md.c, separating out the magic number detection
Alasdair Kergon [Wed, 24 Oct 2007 00:30:30 +0000 (00:30 +0000)]
refactor dev-md.c, separating out the magic number detection

16 years agoRemove comment about allocation of pv->vg_name.
Dave Wysochanski [Fri, 12 Oct 2007 21:08:38 +0000 (21:08 +0000)]
Remove comment about allocation of pv->vg_name.

16 years agoAdd _alloc_pv() and _free_pv() from _pv_create() code and fix error paths.
Dave Wysochanski [Fri, 12 Oct 2007 18:37:19 +0000 (18:37 +0000)]
Add _alloc_pv() and _free_pv() from _pv_create() code and fix error paths.

Modified original patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>

16 years agoAdd pv_dev_name() to access PV device name.
Dave Wysochanski [Fri, 12 Oct 2007 14:29:32 +0000 (14:29 +0000)]
Add pv_dev_name() to access PV device name.

Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>

16 years agoAccessor functions for PV will not modify the given PV.
Dave Wysochanski [Fri, 12 Oct 2007 14:08:10 +0000 (14:08 +0000)]
Accessor functions for PV will not modify the given PV.
So we can add 'const' to it.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>

16 years agoNon-functional change - refactor lv_create_empty().
Dave Wysochanski [Thu, 11 Oct 2007 19:20:38 +0000 (19:20 +0000)]
Non-functional change - refactor lv_create_empty().
Remove struct format_instance param - we can safely obtain
this from vg->fid inside the function.

16 years agoNon-functional change - refactor vg_add_snapshot fid parameter.
Dave Wysochanski [Thu, 11 Oct 2007 18:51:21 +0000 (18:51 +0000)]
Non-functional change - refactor vg_add_snapshot fid parameter.

16 years agoHandle new sysfs subsystem/block/devices directory structure.
Alasdair Kergon [Wed, 10 Oct 2007 11:31:21 +0000 (11:31 +0000)]
Handle new sysfs subsystem/block/devices directory structure.

16 years agoFix configure --with-dmeventd-path substitution.
Alasdair Kergon [Wed, 10 Oct 2007 00:02:03 +0000 (00:02 +0000)]
Fix configure --with-dmeventd-path substitution.

16 years agoRun tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs.
Jim Meyering [Tue, 9 Oct 2007 13:13:06 +0000 (13:13 +0000)]
Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs.

This makes the tests more reproducible and helps isolate
them from any existing LVM set-up.
* test/Makefile.in (abs_builddir): Define.
(init.sh): Emit definition of abs_builddir.
* test/lvm-utils.sh (unsafe_losetup_): Keep only the portable,
iterative approach.
(dmsetup_has_dm_devdir_support_): New function.
(init_root_dir_): New function.
Invoke init_root_dir_ for all but the first test.
* test/test-lib.sh (this_test_): Adapt to test-name change.
Invoke lvm-utils.sh much later (after tmpdir creation), and
only if the current test is not being skipped.
Remove useless abs_top_srcdir definition.
Rename t0->test_dir_rand_.
* test/t-lvcreate-pvtags.sh: Skip this test if the available
version of dmsetup is not new enough.
Use global, $G_dev_, rather than hard-coded "/dev".
* test/t-lvcreate-usage.sh: Make --verbose output more useful.

Author: Jim Meyering <jim@meyering.net>
Committer: Jim Meyering <meyering@redhat.com>

16 years agoAllow $DM_DEV_DIR envvar to override default of "/dev".
Jim Meyering [Tue, 9 Oct 2007 12:14:48 +0000 (12:14 +0000)]
Allow $DM_DEV_DIR envvar to override default of "/dev".

* dmsetup/dmsetup.c (DEV_PATH): Remove definition.
(parse_loop_device_name): Add parameter: dev_dir.
Declare the "dev" parameter to be "const".
Use dev_dir, not DEV_PATH.  Handle the case in which dev_dir
does not end in a "/".
(_get_abspath): Declare "path" parameter "const", to match.
(_process_losetup_switches): Add parameter: dev_dir.
Pass dev_dir to parse_loop_device_name.
(_process_switches): Add parameter: dev_dir.
Pass dev_dir to _process_losetup_switches.
(main): Set dev_dir from the DM_DEV_DIR envvar, else to "/dev".
Call dm_set_dev_dir.
* lib/libdm-common.c (dm_set_dev_dir): Rewrite to be careful
about boundary conditions, now that dev_dir may be tainted.
* man/dmsetup.8: Mention $DM_DEV_DIR.

Author: Jim Meyering <meyering@redhat.com>

16 years agoFix the fsadm build failure without using -llvm.
Jim Meyering [Wed, 3 Oct 2007 16:10:04 +0000 (16:10 +0000)]
Fix the fsadm build failure without using -llvm.

* lib/misc/util.c (last_path_component): Move definition to ...
* lib/misc/last-path-component.h (last_path_component): ...here.
New file.  Make the function "static inline".
* include/.symlinks: Add last-path-component.h.
* lib/misc/util.h (last_path_component): Remove declaration.
* tools/fsadm/fsadm.c: Include "last-path-component.h".
* tools/lvmcmdline.c: Likewise.

Author: Jim Meyering <meyering@redhat.com>

16 years agoRevert last change. fsadm must not depend on -llvm.
Jim Meyering [Wed, 3 Oct 2007 16:08:18 +0000 (16:08 +0000)]
Revert last change.  fsadm must not depend on -llvm.

Author: Jim Meyering <meyering@redhat.com>

16 years agoa) use dmsetup version to check for dmsetup, but if it fails, set
Petr Rockai [Wed, 3 Oct 2007 15:00:51 +0000 (15:00 +0000)]
a) use dmsetup version to check for dmsetup, but if it fails, set
DMSETUP=: to disable dmsetup checks (but let the script run
nevertheless); warn the user if this is the case
b) put the non-root and dmsetup warnings both at start and end of
output

16 years agoArrange for "make clean" to remove the symlink, too.
Jim Meyering [Wed, 3 Oct 2007 10:48:27 +0000 (10:48 +0000)]
Arrange for "make clean" to remove the symlink, too.

* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.

Author: Jim Meyering <meyering@redhat.com>

16 years agoAvoid link failure when building fsadm.
Jim Meyering [Wed, 3 Oct 2007 09:46:57 +0000 (09:46 +0000)]
Avoid link failure when building fsadm.

* tools/fsadm/Makefile.in (LVMLIBS): Define.
(fsadm): Link with $(LVMLIBS).

Author: Nix <nix@esperi.org.uk>

16 years agoFix underquotations in lvm_dump.sh.
Petr Rockai [Tue, 2 Oct 2007 16:09:46 +0000 (16:09 +0000)]
Fix underquotations in lvm_dump.sh.

16 years agoFix a bug in lvm_dump.sh checks for lvm/dmsetup binaries quote the
Petr Rockai [Tue, 2 Oct 2007 15:48:58 +0000 (15:48 +0000)]
Fix a bug in lvm_dump.sh checks for lvm/dmsetup binaries quote the
invocations a bit more (although i'm fairly sure there are still
quotes missing somewhere due to the eval in log).

16 years agoRemove unused pargc parameter
Dave Wysochanski [Mon, 1 Oct 2007 15:01:26 +0000 (15:01 +0000)]
Remove unused pargc parameter

16 years agodoc/testing.txt: Fix typo: s/this/thing/.
Jim Meyering [Tue, 25 Sep 2007 08:28:57 +0000 (08:28 +0000)]
doc/testing.txt: Fix typo: s/this/thing/.

Author: Jim Meyering <jim@meyering.net>

16 years agoSome const fixups for previous checkins
Dave Wysochanski [Mon, 24 Sep 2007 21:30:00 +0000 (21:30 +0000)]
Some const fixups for previous checkins

16 years agoAvoid over-quoting in shell scripts.
Jim Meyering [Mon, 24 Sep 2007 19:19:18 +0000 (19:19 +0000)]
Avoid over-quoting in shell scripts.

Do not use "..." around the RHS of VAR= assignment,
nor on the argument of "case ... in ...".

Author: Jim Meyering <jim@meyering.net>

16 years agoRefactor lvcreate mirror parameter validation.
Dave Wysochanski [Mon, 24 Sep 2007 13:29:49 +0000 (13:29 +0000)]
Refactor lvcreate mirror parameter validation.

16 years agoRefactor lvcreate stripe parameter validation.
Dave Wysochanski [Mon, 24 Sep 2007 13:25:31 +0000 (13:25 +0000)]
Refactor lvcreate stripe parameter validation.

16 years agoadd tests to validate lvextend %PVS
Dave Wysochanski [Fri, 21 Sep 2007 21:14:25 +0000 (21:14 +0000)]
add tests to validate lvextend %PVS

16 years agoDon't emit a trailing newline to stderr.
Jim Meyering [Fri, 21 Sep 2007 18:43:55 +0000 (18:43 +0000)]
Don't emit a trailing newline to stderr.

* tools/lvmcmdline.c (_short_usage): Remove trailing "\n".
Spotted by Alasdair G. Kergon.

Author: Jim Meyering <jim@meyering.net>

16 years agoPrint --help output to stdout, not stderr.
Jim Meyering [Fri, 21 Sep 2007 18:06:56 +0000 (18:06 +0000)]
Print --help output to stdout, not stderr.

* tools/lvmcmdline.c (_usage): Use log_print, not log_error.

Author: Jim Meyering <jim@meyering.net>

16 years agoAfter a diagnostic, suggest --help, rather than printing all --help output.
Jim Meyering [Fri, 21 Sep 2007 18:06:33 +0000 (18:06 +0000)]
After a diagnostic, suggest --help, rather than printing all --help output.

Print just one line:
Use `COMMAND --help' for more information.
after "real" diagnostic(s), rather than all of the usage lines.
Otherwise, the 30-40+ lines of --help output could obscure the real diagnostic.

Author: Jim Meyering <jim@meyering.net>

16 years agoRename test scripts not to include the 4-digit number.
Jim Meyering [Fri, 21 Sep 2007 17:12:13 +0000 (17:12 +0000)]
Rename test scripts not to include the 4-digit number.

Author: Jim Meyering <jim@meyering.net>

16 years agoCorrect typo in comments: s/is part of the LVM2/is part of LVM2/.
Jim Meyering [Fri, 21 Sep 2007 10:16:45 +0000 (10:16 +0000)]
Correct typo in comments: s/is part of the LVM2/is part of LVM2/.

Signed-off-by: Jim Meyering <jim@meyering.net>
Author: Jim Meyering <jim@meyering.net>

16 years agoAdd %PVS extents option to lvresize, lvextend, and lvcreate.
Dave Wysochanski [Thu, 20 Sep 2007 21:39:08 +0000 (21:39 +0000)]
Add %PVS extents option to lvresize, lvextend, and lvcreate.

16 years agotest/t3000-lvcreate-pvtags.sh: Use better test names.
Jim Meyering [Tue, 18 Sep 2007 21:07:21 +0000 (21:07 +0000)]
test/t3000-lvcreate-pvtags.sh: Use better test names.

Author: Jim Meyering <jim@meyering.net>

16 years ago* configure.in (AC_CONFIG_FILES): Remove the test/*/Makefile names
Jim Meyering [Tue, 18 Sep 2007 18:26:32 +0000 (18:26 +0000)]
* configure.in (AC_CONFIG_FILES): Remove the test/*/Makefile names
corresponding to the recently-removed directories.
* configure: Regenerate.
Reported by Dave Wysochanski.

Author: Jim Meyering <jim@meyering.net>

16 years agotest/Makefile.in (lvm-wrapper): Use $(DMDIR)/lib/, not $(DMDIR)/lib/ioctl/.
Jim Meyering [Tue, 18 Sep 2007 14:29:06 +0000 (14:29 +0000)]
test/Makefile.in (lvm-wrapper): Use $(DMDIR)/lib/, not $(DMDIR)/lib/ioctl/.

Author: Jim Meyering <jim@meyering.net>

16 years agoClean-up and wording changes; add copyright notices.
Jim Meyering [Tue, 18 Sep 2007 14:02:22 +0000 (14:02 +0000)]
Clean-up and wording changes; add copyright notices.

* test/Makefile.in (srcdir, top_srcdir): Use @srcdir@, etc.
(top_builddir, abs_srcdir, abs_top_builddir, abs_top_srcdir): Likewise.
(so_name): Remove definition.
(.bin-dir-stamp): No longer create symlink in $(DMDIR) tree.
Prompted by suggestions from Alasdair Kergon.
* test/t1000-lvcreate-usage.sh (cleanup_): Redirect to a file,
rather than to /dev/null.
Change wording of some test titles.
Suggestions from Alasdair Kergon.

* test/Makefile.in: Add a copyright notice.
* test/lvm-utils.sh: Likewise.
* test/mkdtemp: Likewise.
* test/t0000-basic.sh: Likewise.
* test/t1000-lvcreate-usage.sh: Likewise.
* test/t3000-lvcreate-pvtags.sh: Likewise.
* test/t4000-pv-range-overflow.sh: Likewise.
* test/test-lib.sh: Likewise.

Author: Jim Meyering <jim@meyering.net>

16 years agoTest how lvcreate handles its command-line options.
Jim Meyering [Tue, 18 Sep 2007 14:01:46 +0000 (14:01 +0000)]
Test how lvcreate handles its command-line options.

* test/t1000-lvcreate-usage.sh: New tests.
* test/Makefile.in (T): Add it.
Derived from test cases by Dave Wysochanski.

Author: Jim Meyering <jim@meyering.net>

16 years agoClean up shared-lib support in test/.
Jim Meyering [Tue, 18 Sep 2007 14:01:24 +0000 (14:01 +0000)]
Clean up shared-lib support in test/.

* test/Makefile.in (so_name): Use @DMDIR@.
(.bin-dir-stamp): Create symlink only if @DMDIR@ is nonempty.
(lvm-wrapper): Emit LD_LIBRARY_PATH setting only if @DMDIR@ is nonempty.
Based on a patch from Jun'ichi Nomura.

Author: Jim Meyering <jim@meyering.net>

16 years agoAllow relative dir name in: --with-dmdir=../device-mapper
Jim Meyering [Tue, 18 Sep 2007 14:01:08 +0000 (14:01 +0000)]
Allow relative dir name in: --with-dmdir=../device-mapper

* configure.in: Convert a relative dmdir directory name to the required
absolute form, e.g. in ./configure --with-dmdir=../device-mapper
Suggestion from Jun'ichi Nomura.
* configure: Regenerate.

Author: Jim Meyering <jim@meyering.net>

16 years agoAdd testing framework, along with first few tests.
Jim Meyering [Tue, 18 Sep 2007 14:00:42 +0000 (14:00 +0000)]
Add testing framework, along with first few tests.

* Makefile.in (check): New target.
* configure.in (AC_CONFIG_FILES): Add test/Makefile.
* configure: Regenerate.
* test/.gitignore: New file.
* test/Makefile.in: New file.
* test/lvm-utils.sh: New script.
* test/mkdtemp (die, rand_bytes, mkdtemp): New script.
* test/t0000-basic.sh: New tests.
* test/t3000-lvcreate-pvtags.sh: New, failing test.
Derived from a script by Jun'ichi Nomura.
* test/t4000-pv-range-overflow.sh: New test.
* test/test-lib.sh: Testing framework, based on the one from git.

Author: Jim Meyering <jim@meyering.net>

16 years agoCreate a symlink, e.g., libdevmapper.so.1.02, in the build dir,
Jim Meyering [Tue, 18 Sep 2007 13:02:58 +0000 (13:02 +0000)]
Create a symlink, e.g., libdevmapper.so.1.02, in the build dir,
alongside the .so file.  This helps build dynamically linked LVM.

* lib/Makefile.in (VERSIONED_SHLIB): Define.
* make.tmpl.in (TARGETS): Append $(VERSIONED_SHLIB).
($(VERSIONED_SHLIB)): New rule.

Author: Jim Meyering <jim@meyering.net>

16 years agoMoved the obsolete test subdirectory to old-tests.
Alasdair Kergon [Mon, 17 Sep 2007 19:51:02 +0000 (19:51 +0000)]
Moved the obsolete test subdirectory to old-tests.
If you're using the CVS repository you'll need to remove it and check
it out again when we repopulate it.

16 years agoRemove no-longer-correct restrictions on PV arg count with stripes/mirrors.
Alasdair Kergon [Mon, 17 Sep 2007 17:18:37 +0000 (17:18 +0000)]
Remove no-longer-correct restrictions on PV arg count with stripes/mirrors.
[E.g. They fail if tags or --alloc anywhere used.]

16 years agoclarification
Alasdair Kergon [Mon, 17 Sep 2007 17:06:31 +0000 (17:06 +0000)]
clarification

16 years agoFix strdup memory leak in str_list_dup().
Alasdair Kergon [Mon, 17 Sep 2007 16:02:46 +0000 (16:02 +0000)]
Fix strdup memory leak in str_list_dup().

17 years agoconfigure: regenerate, to remove vestige of an upcoming patch
Jim Meyering [Wed, 12 Sep 2007 18:23:02 +0000 (18:23 +0000)]
configure: regenerate, to remove vestige of an upcoming patch

17 years agoAvoid static link failure with some SELinux libraries.
Jim Meyering [Wed, 12 Sep 2007 16:54:23 +0000 (16:54 +0000)]
Avoid static link failure with some SELinux libraries.

Author: Jim Meyering <jim@meyering.net>

17 years agoDiagnose invalid PE values given on the pvmove command line (64-bit systems).
Jim Meyering [Tue, 11 Sep 2007 20:12:54 +0000 (20:12 +0000)]
Diagnose invalid PE values given on the pvmove command line (64-bit systems).

* tools/toollib.c (xstrtouint32): New function.
(_parse_pes): Use xstrtouint32; don't cast strtoul's unsigned
long to uint32_t.  Detect overflow.

Author: Jim Meyering <jim@meyering.net>

17 years agoUndo previous checkin - output format not good, info already available in other form(s)
Dave Wysochanski [Tue, 11 Sep 2007 13:49:52 +0000 (13:49 +0000)]
Undo previous checkin - output format not good, info already available in other form(s)

17 years agoAdd pvseg_free field to 'pvs' output
Dave Wysochanski [Mon, 10 Sep 2007 20:05:29 +0000 (20:05 +0000)]
Add pvseg_free field to 'pvs' output

17 years agoInclude strerror string in dev_open_flags' stat failure message.
Jim Meyering [Fri, 7 Sep 2007 11:24:19 +0000 (11:24 +0000)]
Include strerror string in dev_open_flags' stat failure message.
* lib/device/dev-io.c (dev_open_flags):
Use log_sys_error after failed stat to report strerror(errno).
Use a slightly different diagnostic to report mismatched device number.

17 years agoFix last checkin
Dave Wysochanski [Thu, 6 Sep 2007 22:35:01 +0000 (22:35 +0000)]
Fix last checkin

17 years agoFixup _lvresize error return codes and modularize function
Dave Wysochanski [Thu, 6 Sep 2007 21:08:16 +0000 (21:08 +0000)]
Fixup _lvresize error return codes and modularize function

17 years agoprepare to move guts of vgrename into library function
Dave Wysochanski [Fri, 31 Aug 2007 19:09:49 +0000 (19:09 +0000)]
prepare to move guts of vgrename into library function

17 years agomove guts of pvresize into library
Dave Wysochanski [Thu, 30 Aug 2007 20:30:41 +0000 (20:30 +0000)]
move guts of pvresize into library

17 years agoprepare to move guts of pvresize into library
Dave Wysochanski [Thu, 30 Aug 2007 20:16:01 +0000 (20:16 +0000)]
prepare to move guts of pvresize into library

17 years agoAvoid error when --corelog is provided without --mirrorlog. (2.02.28)
Alasdair Kergon [Thu, 30 Aug 2007 19:34:19 +0000 (19:34 +0000)]
Avoid error when --corelog is provided without --mirrorlog. (2.02.28)
Correct --mirrorlog argument name in man pages (not --log).

17 years ago- I neglected to update this file on last check-in, which fixed
Jonathan Earl Brassow [Thu, 30 Aug 2007 18:53:32 +0000 (18:53 +0000)]
- I neglected to update this file on last check-in, which fixed
  the MIRROR_NOTSYNCED flag being passed on to a linear lv when
  converting from a mirror.

17 years agoWhen mirrors are created with the --nosync option, a status flag
Jonathan Earl Brassow [Wed, 29 Aug 2007 20:19:11 +0000 (20:19 +0000)]
When mirrors are created with the --nosync option, a status flag
(MIRROR_NOTSYNCED) is added to the LVM metadata.  This flag is
not cleared when converting to linear.  Subsequently, if you
up-convert the linear to a mirror, the flag remains - even though
an up-convert will always force a complete resync.

17 years agoModify lvremove to prompt for removal if LV active on other cluster nodes.
Dave Wysochanski [Tue, 28 Aug 2007 16:14:49 +0000 (16:14 +0000)]
Modify lvremove to prompt for removal if LV active on other cluster nodes.
Add '-f' to vgremove to force removal of VG even if LVs exist.
Update vgremove man page for '-f'.

17 years agopost-release
Alasdair Kergon [Fri, 24 Aug 2007 21:05:15 +0000 (21:05 +0000)]
post-release

17 years agopre-release
Alasdair Kergon [Fri, 24 Aug 2007 21:01:52 +0000 (21:01 +0000)]
pre-release

17 years agoFix clvmd logging so you can get lvm-level debugging out of it.
Patrick Caulfield [Fri, 24 Aug 2007 08:29:39 +0000 (08:29 +0000)]
Fix clvmd logging so you can get lvm-level debugging out of it.

17 years agoLocking P_global causes a cache refresh.
Patrick Caulfield [Thu, 23 Aug 2007 15:43:20 +0000 (15:43 +0000)]
Locking P_global causes a cache refresh.

17 years agoIntroduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.
Alasdair Kergon [Thu, 23 Aug 2007 15:02:26 +0000 (15:02 +0000)]
Introduce VG_GLOBAL lock type for vgscan/pvscan to trigger clvmd -R.

17 years agoForce a device scan after init_full_scan_done() per agk.
Patrick Caulfield [Thu, 23 Aug 2007 12:44:09 +0000 (12:44 +0000)]
Force a device scan after init_full_scan_done() per agk.

17 years agoCall init_full_scan_done() when refreshing the cache. This should fix clvmd -R.
Patrick Caulfield [Thu, 23 Aug 2007 12:19:13 +0000 (12:19 +0000)]
Call init_full_scan_done() when refreshing the cache. This should fix clvmd -R.

17 years agoChange lvconvert_mirrors to use mirror segtype not striped.
Alasdair Kergon [Wed, 22 Aug 2007 20:03:46 +0000 (20:03 +0000)]
Change lvconvert_mirrors to use mirror segtype not striped.

17 years agoFix lvconvert_mirrors detection of number of existing mirrors.
Alasdair Kergon [Wed, 22 Aug 2007 19:32:39 +0000 (19:32 +0000)]
Fix lvconvert_mirrors detection of number of existing mirrors.

17 years ago Clean up numerous compiler warnings that crept in recently.
Alasdair Kergon [Wed, 22 Aug 2007 14:38:18 +0000 (14:38 +0000)]
  Clean up numerous compiler warnings that crept in recently.
  Remove several unused parameters from _allocate().

17 years agoAvoid static link failure with some SELinux libraries.
Jim Meyering [Tue, 21 Aug 2007 20:32:29 +0000 (20:32 +0000)]
Avoid static link failure with some SELinux libraries.

17 years agoFix (C) !
Alasdair Kergon [Tue, 21 Aug 2007 19:56:18 +0000 (19:56 +0000)]
Fix (C) !

17 years agoClean up mirrorlog argument processing.
Alasdair Kergon [Tue, 21 Aug 2007 19:46:36 +0000 (19:46 +0000)]
Clean up mirrorlog argument processing.
Only permit --force, --verbose and --debug arguments to be repeated.

17 years agoRemove obsolete dmfs code from tree and update INSTALL.
Alasdair Kergon [Tue, 21 Aug 2007 18:41:58 +0000 (18:41 +0000)]
Remove obsolete dmfs code from tree and update INSTALL.

17 years agoMove guts of vgremove into lvm library.
Dave Wysochanski [Tue, 21 Aug 2007 17:38:20 +0000 (17:38 +0000)]
Move guts of vgremove into lvm library.
Include archiver.h in metadata.c as a result of prior move.

17 years agopost-release
Alasdair Kergon [Tue, 21 Aug 2007 17:03:07 +0000 (17:03 +0000)]
post-release

17 years agoPrepare to move guts of vgremove into lvm library.
Dave Wysochanski [Tue, 21 Aug 2007 16:40:33 +0000 (16:40 +0000)]
Prepare to move guts of vgremove into lvm library.
Fixup force_t.

17 years agopre-release
Alasdair Kergon [Tue, 21 Aug 2007 16:33:18 +0000 (16:33 +0000)]
pre-release

17 years agoFix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
Alasdair Kergon [Tue, 21 Aug 2007 16:26:07 +0000 (16:26 +0000)]
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.

17 years agoFix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.
Alasdair Kergon [Mon, 20 Aug 2007 20:55:30 +0000 (20:55 +0000)]
Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1.

17 years agoUpdate WHATS_NEW for last checkin
Dave Wysochanski [Mon, 20 Aug 2007 17:05:49 +0000 (17:05 +0000)]
Update WHATS_NEW for last checkin

17 years agoMove lv_remove_single() into library (lv_manip.c, metadata-exported.h).
Dave Wysochanski [Mon, 20 Aug 2007 17:04:53 +0000 (17:04 +0000)]
Move lv_remove_single() into library (lv_manip.c, metadata-exported.h).
Move yes_no_prompt() into library (display.c, display.h).
Fixup includes as a result of movement of prior two functions.
Fixup force_t enum to be more descriptive.

17 years agoPrepare to move guts of lvremove into lvm library
Dave Wysochanski [Mon, 20 Aug 2007 16:16:54 +0000 (16:16 +0000)]
Prepare to move guts of lvremove into lvm library

17 years agofactor out some duplication -- mostly I/O redirection
Jim Meyering [Mon, 20 Aug 2007 12:06:35 +0000 (12:06 +0000)]
factor out some duplication -- mostly I/O redirection

17 years agoAllow clvmd debug to be turned on in a running daemon using clvmd -d
Patrick Caulfield [Fri, 17 Aug 2007 11:51:23 +0000 (11:51 +0000)]
Allow clvmd debug to be turned on in a running daemon using clvmd -d
You can do with cluster-wide too, by adding -C

17 years agoUpdate to use autoconf 2.61, while still supporting 2.57.
Alasdair Kergon [Tue, 14 Aug 2007 19:11:31 +0000 (19:11 +0000)]
Update to use autoconf 2.61, while still supporting 2.57.

17 years agoRemove unneeded WHATS_NEW entry
Dave Wysochanski [Fri, 10 Aug 2007 14:24:43 +0000 (14:24 +0000)]
Remove unneeded WHATS_NEW entry

17 years agoFix "lvconvert -s" from always failing with argument error message.
Dave Wysochanski [Fri, 10 Aug 2007 13:33:49 +0000 (13:33 +0000)]
Fix "lvconvert -s" from always failing with argument error message.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.

17 years ago- change new log_ARG variable to more explicit mirrorlog_ARG.
Jonathan Earl Brassow [Thu, 9 Aug 2007 21:25:08 +0000 (21:25 +0000)]
- change new log_ARG variable to more explicit mirrorlog_ARG.

17 years agominor updates to the lvcreate/lvconvert man pages.
Jonathan Earl Brassow [Thu, 9 Aug 2007 20:43:29 +0000 (20:43 +0000)]
minor updates to the lvcreate/lvconvert man pages.
- put back reference to '--corelog'.  It now says that it
is the same as '--log core'.
- other minor touches

17 years agoAdd more cluster/clvmd information to lvmdump
Patrick Caulfield [Thu, 9 Aug 2007 09:53:33 +0000 (09:53 +0000)]
Add more cluster/clvmd information to lvmdump

17 years agoRemove extra checks for sub LV renaming.
Dave Wysochanski [Wed, 8 Aug 2007 18:00:36 +0000 (18:00 +0000)]
Remove extra checks for sub LV renaming.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>.

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