]>
sourceware.org Git - lvm2.git/log
Alasdair Kergon [Wed, 19 Nov 2008 19:33:25 +0000 (19:33 +0000)]
Generate clvmd init script at configuration time for Red Hat-based distros.
Alasdair Kergon [Wed, 19 Nov 2008 14:14:51 +0000 (14:14 +0000)]
post-release (retrospective)
Zdenek Kabelac [Tue, 18 Nov 2008 13:16:03 +0000 (13:16 +0000)]
daemons depends on liblvm2cmd - fixes parallel builds
Zdenek Kabelac [Tue, 18 Nov 2008 10:13:23 +0000 (10:13 +0000)]
fix missing const char*
Dave Wysochanski [Mon, 17 Nov 2008 18:20:13 +0000 (18:20 +0000)]
Fix "lvremove -f vgname" when vgname contains snapshots.
Prior to this patch, "lvremove -f vgname" would fail if vgname contained
one or more snapshot LVs. Now this passes, but has a side-effect.
If you issue "lvremove vgname" where vgname contains one or more snaps,
you will get an extra "y/n" prompt to remove the same snapshot.
Example:
$ lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lvsnap vgtest swi-a- 16.00M lvtest 0.05
lvtest vgtest owi-a- 64.00M
$ lvremove vgtest
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
Logical volume "lvsnap" not removed
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
Logical volume "lvsnap" not removed
Command failed with status code 5.
Fixing this will most likely require modification of the iterator
function, process_each_lvs_in_vg() to iterate over snaps in some
cases (e.g. lvs, vgdisplay -v) but not in others (lvremove).
Alasdair Kergon [Fri, 14 Nov 2008 20:59:56 +0000 (20:59 +0000)]
some makefile fixes for liblvm2cmd & remove some hardcoded .so
Dave Wysochanski [Wed, 12 Nov 2008 15:16:58 +0000 (15:16 +0000)]
More man page cleanup - convert "+/-" to "+|-"
Dave Wysochanski [Wed, 12 Nov 2008 15:01:35 +0000 (15:01 +0000)]
Make man pages consistent with either-or options (use "|" everywhere).
Zdenek Kabelac [Wed, 12 Nov 2008 09:53:33 +0000 (09:53 +0000)]
cleaner const char* usage for last_path_component()
Zdenek Kabelac [Wed, 12 Nov 2008 09:49:06 +0000 (09:49 +0000)]
minor compiler warning fix for function declaration prototype
Zdenek Kabelac [Wed, 12 Nov 2008 09:41:44 +0000 (09:41 +0000)]
removed redundant redeclaration of init_indent() and init_msg_prefix() from lvm-logging.h
Zdenek Kabelac [Wed, 12 Nov 2008 09:30:52 +0000 (09:30 +0000)]
* minor compilator warning fix for improper function declaration.
Petr Rockai [Tue, 11 Nov 2008 15:46:15 +0000 (15:46 +0000)]
Add a bunch of sub-tests aimed at testing various bugzillas, by jstava.
Petr Rockai [Tue, 11 Nov 2008 15:29:24 +0000 (15:29 +0000)]
Import a bunch of new tests by jstava. Mostly everything pass, they however
tend to expose the lvremove -ff vg ordering bug.
Alasdair Kergon [Mon, 10 Nov 2008 21:26:06 +0000 (21:26 +0000)]
clarify
Alasdair Kergon [Mon, 10 Nov 2008 21:25:45 +0000 (21:25 +0000)]
no need for libdevmapper.h on system any more
Petr Rockai [Mon, 10 Nov 2008 14:04:12 +0000 (14:04 +0000)]
Include libdm in lcov reports.
Petr Rockai [Mon, 10 Nov 2008 13:44:01 +0000 (13:44 +0000)]
Fix t-pool-labels to pass again after the vgdisplay error return fix from
last Friday.
Milan Broz [Mon, 10 Nov 2008 13:41:43 +0000 (13:41 +0000)]
Fix lvm2.static build.
Petr Rockai [Mon, 10 Nov 2008 12:43:35 +0000 (12:43 +0000)]
Minor code and documentation cleanups and changes by jstava.
Petr Rockai [Mon, 10 Nov 2008 12:41:52 +0000 (12:41 +0000)]
add bz264241 check
remove lvconvert progress notifications (-i100)
(by jstava)
Alasdair Kergon [Mon, 10 Nov 2008 12:39:50 +0000 (12:39 +0000)]
First test release of the merged code base.
Petr Rockai [Mon, 10 Nov 2008 12:37:53 +0000 (12:37 +0000)]
bz429342 lvcreate --nosync
bz192865 lvconvert logtype of an inactive mirror lv
(both by jstava)
Petr Rockai [Mon, 10 Nov 2008 12:37:03 +0000 (12:37 +0000)]
Add bz186013 check -- lvcreate rejects an invalid regionsize (jstava).
Petr Rockai [Mon, 10 Nov 2008 12:36:23 +0000 (12:36 +0000)]
Use separate locking directory for each of the tests, as they never share a
volume group, or physical devices for that matter. Hopefully fixes occasional
test errors due to locking failures. Patch by jstava.
Petr Rockai [Mon, 10 Nov 2008 12:32:00 +0000 (12:32 +0000)]
Explicitly check after lvremove -ff vg that it did its job. By jstava.
Dave Wysochanski [Fri, 7 Nov 2008 19:23:52 +0000 (19:23 +0000)]
Fix lvhange and lvcreate man pages to properly describe permissions option.
James Youngman <jay@gnu.org>
Dave Wysochanski [Fri, 7 Nov 2008 19:02:47 +0000 (19:02 +0000)]
Fix vgdisplay return code and exit status.
Petr Rockai [Fri, 7 Nov 2008 01:30:03 +0000 (01:30 +0000)]
Set LD_LIBRARY_PATH in init.sh, as it is required to run dmsetup now as well,
which otherwise picks up the system version of libdevmapper, which is a pretty
bad idea.
Alasdair Kergon [Tue, 4 Nov 2008 17:49:22 +0000 (17:49 +0000)]
quick review of docs
Note that we'll continue to use WHATS_NEW_DM for device-mapper changes
until we can switch to unified version numbering.
Alasdair Kergon [Tue, 4 Nov 2008 17:25:32 +0000 (17:25 +0000)]
make install_device-mapper
Alasdair Kergon [Tue, 4 Nov 2008 16:41:47 +0000 (16:41 +0000)]
clvmd
Alasdair Kergon [Tue, 4 Nov 2008 15:55:27 +0000 (15:55 +0000)]
dmeventd
Alasdair Kergon [Tue, 4 Nov 2008 15:07:45 +0000 (15:07 +0000)]
more fixes
Alasdair Kergon [Tue, 4 Nov 2008 14:57:06 +0000 (14:57 +0000)]
more missing bits
Petr Rockai [Tue, 4 Nov 2008 14:38:53 +0000 (14:38 +0000)]
Fix typo.
Petr Rockai [Tue, 4 Nov 2008 14:37:51 +0000 (14:37 +0000)]
Also report the tests that have been skipped, at the end of harness.sh.
Petr Rockai [Tue, 4 Nov 2008 14:37:10 +0000 (14:37 +0000)]
Use $(abs_top_builddir) instead of @DMDIR@ and update paths appropriately.
Alasdair Kergon [Mon, 3 Nov 2008 23:01:21 +0000 (23:01 +0000)]
more tweaks for dmeventd - not finished yet
Alasdair Kergon [Mon, 3 Nov 2008 22:14:30 +0000 (22:14 +0000)]
Right, a simple build (without options) is working again.
Alasdair Kergon [Mon, 3 Nov 2008 20:03:00 +0000 (20:03 +0000)]
add list fns
Alasdair Kergon [Mon, 3 Nov 2008 18:59:59 +0000 (18:59 +0000)]
more tweaking to get things to compile - dmlib.h for log fns, list.h
Alasdair Kergon [Mon, 3 Nov 2008 16:26:27 +0000 (16:26 +0000)]
Rename a couple of variables that matched function names.
Alasdair Kergon [Sat, 1 Nov 2008 20:48:50 +0000 (20:48 +0000)]
autoreconf
Alasdair Kergon [Sat, 1 Nov 2008 20:48:09 +0000 (20:48 +0000)]
Use simple x.y.z library version in libdevmapper.pc
Alasdair Kergon [Sat, 1 Nov 2008 02:20:06 +0000 (02:20 +0000)]
autoreconf
Alasdair Kergon [Sat, 1 Nov 2008 02:19:19 +0000 (02:19 +0000)]
further progress
Alasdair Kergon [Sat, 1 Nov 2008 01:43:31 +0000 (01:43 +0000)]
export DM_LIB_VERSION
Alasdair Kergon [Fri, 31 Oct 2008 22:41:51 +0000 (22:41 +0000)]
add libdevmapper-event.h
Alasdair Kergon [Fri, 31 Oct 2008 22:34:42 +0000 (22:34 +0000)]
autoreconf
Alasdair Kergon [Fri, 31 Oct 2008 22:33:55 +0000 (22:33 +0000)]
no DMDIR
Alasdair Kergon [Fri, 31 Oct 2008 22:32:54 +0000 (22:32 +0000)]
dm+lvm2 macros
Alasdair Kergon [Fri, 31 Oct 2008 22:29:44 +0000 (22:29 +0000)]
dmeventd plugins move
Alasdair Kergon [Fri, 31 Oct 2008 22:22:04 +0000 (22:22 +0000)]
drop configure --with-dmdir
Alasdair Kergon [Fri, 31 Oct 2008 22:12:55 +0000 (22:12 +0000)]
autoreconf
Alasdair Kergon [Fri, 31 Oct 2008 22:06:09 +0000 (22:06 +0000)]
first attempt at merging configure
Alasdair Kergon [Fri, 31 Oct 2008 21:55:40 +0000 (21:55 +0000)]
libdevmapper version - will change once the merger's settled in
Alasdair Kergon [Fri, 31 Oct 2008 12:25:54 +0000 (12:25 +0000)]
remove ancient debian dir
Alasdair Kergon [Thu, 30 Oct 2008 17:54:12 +0000 (17:54 +0000)]
Add dm-logging.h ready for libdevmapper.
Alasdair Kergon [Thu, 30 Oct 2008 17:52:06 +0000 (17:52 +0000)]
drop explicit libdevmapper.h
Alasdair Kergon [Thu, 30 Oct 2008 17:40:00 +0000 (17:40 +0000)]
separate lvm-globals
Alasdair Kergon [Thu, 30 Oct 2008 17:39:00 +0000 (17:39 +0000)]
Separate out globals from the logging code.
Alasdair Kergon [Thu, 30 Oct 2008 17:27:28 +0000 (17:27 +0000)]
Split out lvm-logging.h from log.h.
Alasdair Kergon [Thu, 30 Oct 2008 17:24:04 +0000 (17:24 +0000)]
Split out dm-logging.h from log.h
Alasdair Kergon [Thu, 30 Oct 2008 15:31:33 +0000 (15:31 +0000)]
Add libdm subdir to begin merging the device-mapper tree.
Alasdair Kergon [Thu, 30 Oct 2008 15:11:16 +0000 (15:11 +0000)]
Use lvm-types.h
Alasdair Kergon [Sun, 26 Oct 2008 10:40:50 +0000 (10:40 +0000)]
post-release
Alasdair Kergon [Sun, 26 Oct 2008 10:33:34 +0000 (10:33 +0000)]
pre-release
Alasdair Kergon [Fri, 24 Oct 2008 01:16:16 +0000 (01:16 +0000)]
Accept locking fallback_to_* options in the global section as documented.
Alasdair Kergon [Thu, 23 Oct 2008 11:21:04 +0000 (11:21 +0000)]
Fix temp table activation in mirror conversions not to happen in other cmds.
Fix temp table in mirror conversions to use always-present error not zero.
Alasdair Kergon [Fri, 17 Oct 2008 17:48:10 +0000 (17:48 +0000)]
post-release
Alasdair Kergon [Fri, 17 Oct 2008 17:42:08 +0000 (17:42 +0000)]
pre-release
Alasdair Kergon [Fri, 17 Oct 2008 10:57:15 +0000 (10:57 +0000)]
Use temp table to set device size when converting mirrors.
(Avoids having same mirror table loaded twice concurrently by first
using a 'zero' table to set the size of the device so when mirror
table is preloaded it doesn't have to be activated immediately.)
Alasdair Kergon [Fri, 17 Oct 2008 10:50:14 +0000 (10:50 +0000)]
In resume_mirror_images replace activate_lv with resume_lv as workaround.
(The resume has the side-effect of resuming all of the original
mirror's sub-lvs in addition to the new 'error' target middle layer.)
Alasdair Kergon [Fri, 17 Oct 2008 00:55:46 +0000 (00:55 +0000)]
Avoid overwriting in-use on-disk text metadata by forgetting MDA_HEADER_SIZE. (Edward Allcutt)
Petr Rockai [Tue, 14 Oct 2008 19:48:01 +0000 (19:48 +0000)]
Re-indent test-utils.sh consistently, using tabs.
Petr Rockai [Tue, 14 Oct 2008 19:41:12 +0000 (19:41 +0000)]
Conversion of last 2 tests to use test-utils.sh, by jstava.
Milan Broz [Mon, 13 Oct 2008 12:06:30 +0000 (12:06 +0000)]
Fix snapshot monitoring library to not cancel monitoring invalid snapshot.
snapshot DSO unregistered itself when snapshot changed state to invalid.
This can cause a race (and several timeouts), when for example another snapshot
is added and in the middle of operation (suspend/resume) the monitoring thread
unregister itself.
Fix it by keeping the snapshot monitored after invalidation - just reset
threshold to not really print any messages to syslog.
Alasdair Kergon [Thu, 9 Oct 2008 10:47:37 +0000 (10:47 +0000)]
.
Alasdair Kergon [Wed, 8 Oct 2008 12:50:13 +0000 (12:50 +0000)]
Generate man pages from templates and include version. (romster)
Alasdair Kergon [Tue, 7 Oct 2008 19:11:59 +0000 (19:11 +0000)]
Add usrlibdir & usrsbindir to configure.
Alasdair Kergon [Tue, 7 Oct 2008 19:08:46 +0000 (19:08 +0000)]
Add usrsbindir to configure.
Petr Rockai [Mon, 6 Oct 2008 16:55:30 +0000 (16:55 +0000)]
Add a workaround for missing `losetup -s` by jstava, and a print a stacktrace
on errors (also by jstava). Currently requires bash, a fix for that may come
later -- explicitly using bash to run tests in the meantime.
Petr Rockai [Mon, 6 Oct 2008 16:47:07 +0000 (16:47 +0000)]
More test conversions by jstava. Make check still passes.
Alasdair Kergon [Fri, 3 Oct 2008 14:22:18 +0000 (14:22 +0000)]
Fix conversion of md chunk size into sectors.
Alasdair Kergon [Wed, 1 Oct 2008 22:48:26 +0000 (22:48 +0000)]
device->devices
Petr Rockai [Tue, 30 Sep 2008 21:45:42 +0000 (21:45 +0000)]
Make harness.sh exit with non-zero status when tests fail.
Petr Rockai [Tue, 30 Sep 2008 21:43:55 +0000 (21:43 +0000)]
Cosmetic: get rid of trailing garbage on comments in t-vgslpit-usage.sh.
Petr Rockai [Tue, 30 Sep 2008 21:43:16 +0000 (21:43 +0000)]
Improve harness.sh output: also mention failing test's name near the end of its
output. Avoids the need to scroll back just to see which failing test you are
looking at.
Alasdair Kergon [Tue, 30 Sep 2008 20:37:52 +0000 (20:37 +0000)]
Free text metadata buffer after a failure writing it.
Petr Rockai [Tue, 30 Sep 2008 18:29:10 +0000 (18:29 +0000)]
Fix [ a = b ] usage in t-vgsplit-operation: string comparison is '=', not '=='.
Petr Rockai [Tue, 30 Sep 2008 17:56:54 +0000 (17:56 +0000)]
Conversion of t-vgsplit-operation.sh by jstava.
Petr Rockai [Tue, 30 Sep 2008 17:50:56 +0000 (17:50 +0000)]
Fix a syntax error in one of the scripts, introduced by last commit.
Petr Rockai [Tue, 30 Sep 2008 17:47:34 +0000 (17:47 +0000)]
More test conversions, all of these are by jstava.
Petr Rockai [Tue, 30 Sep 2008 17:17:04 +0000 (17:17 +0000)]
Port over t-vgreduce-usage. Should fix testsuite hangs where pvremove -ff would
have waited for input on certain test failures.
Petr Rockai [Tue, 30 Sep 2008 15:20:09 +0000 (15:20 +0000)]
Convert t-vgsplit-usage.sh to use the new test-utils.sh. Original conversion by
jstava. Lvm1 testing restored by mornfall.
Petr Rockai [Tue, 30 Sep 2008 13:19:56 +0000 (13:19 +0000)]
Convert t-pvremove-usage to use the new test-utils.sh.
Petr Rockai [Mon, 29 Sep 2008 16:07:02 +0000 (16:07 +0000)]
Update test/Makefile.in to use the new harness for calling tests.
Petr Rockai [Mon, 29 Sep 2008 16:06:10 +0000 (16:06 +0000)]
Add a test for reappearing lost PVs causing endless metadata correction
updates. (A problem Milan fixed recently.)
Petr Rockai [Mon, 29 Sep 2008 16:04:57 +0000 (16:04 +0000)]
Add a simple test for partial activation.
This page took 0.066421 seconds and 5 git commands to generate.