]> sourceware.org Git - lvm2.git/log
lvm2.git
18 years agoAdd %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
Alasdair Kergon [Tue, 26 Sep 2006 09:35:43 +0000 (09:35 +0000)]
Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
e.g. lvcreate -l 100%FREE to create an LV using all available space.
     lvextend -l 50%LV to increase an LV by 50% of its existing size.
     lvcreate -l 20%VG to create an LV using 20% of the total VG size.

18 years agoFix two potential NULL pointer derefs in error cases in vg_read().
Alasdair Kergon [Thu, 21 Sep 2006 20:25:54 +0000 (20:25 +0000)]
Fix two potential NULL pointer derefs in error cases in vg_read().

18 years agoSeparate --enable-cluster from locking lib options in lvmconf.sh.
Alasdair Kergon [Wed, 20 Sep 2006 17:36:47 +0000 (17:36 +0000)]
Separate --enable-cluster from locking lib options in lvmconf.sh.

18 years agoSupply missing comma. [via Debian]
Alasdair Kergon [Tue, 19 Sep 2006 20:20:40 +0000 (20:20 +0000)]
Supply missing comma.  [via Debian]

18 years agopost-release
Alasdair Kergon [Tue, 19 Sep 2006 19:36:59 +0000 (19:36 +0000)]
post-release

18 years agopre-release
Alasdair Kergon [Tue, 19 Sep 2006 19:15:10 +0000 (19:15 +0000)]
pre-release

18 years agoFix lvconvert mirror change case detection logic.
Alasdair Kergon [Tue, 19 Sep 2006 19:13:41 +0000 (19:13 +0000)]
Fix lvconvert mirror change case detection logic.
Fix mirror log detachment so it correctly becomes a standalone LV.

18 years agopost-release
Alasdair Kergon [Tue, 19 Sep 2006 17:50:58 +0000 (17:50 +0000)]
post-release

18 years agopre-release
Alasdair Kergon [Tue, 19 Sep 2006 17:43:03 +0000 (17:43 +0000)]
pre-release

18 years agoReorder mm bounds_check code to reduce window for a dmeventd race. (dm_free_aux)
Alasdair Kergon [Tue, 19 Sep 2006 17:30:04 +0000 (17:30 +0000)]
Reorder mm bounds_check code to reduce window for a dmeventd race. (dm_free_aux)

18 years agoExtend _check_contiguous() to detect single-area LVs.
Alasdair Kergon [Mon, 11 Sep 2006 21:14:56 +0000 (21:14 +0000)]
Extend _check_contiguous() to detect single-area LVs.
Include mirror log (untested) in _for_each_pv() processing.
Use MIRROR_LOG_SIZE constant.
Remove struct seg_pvs from _for_each_pv() for generalisation.
Avoid adding duplicates to list of parallel PVs to avoid.

18 years agoFix several incorrect comparisons in parallel area avoidance code.
Alasdair Kergon [Mon, 11 Sep 2006 14:24:58 +0000 (14:24 +0000)]
Fix several incorrect comparisons in parallel area avoidance code.
Fix segment lengths when flattening existing parallel areas.
Log existing parallel areas prior to allocation.
Fix mirror log creation when activation disabled.

18 years agofix vgreduce clustered check
Alasdair Kergon [Thu, 7 Sep 2006 23:23:45 +0000 (23:23 +0000)]
fix vgreduce clustered check

18 years agoWhen using local file locking, skip clustered VGs.
Alasdair Kergon [Sat, 2 Sep 2006 01:18:17 +0000 (01:18 +0000)]
When using local file locking, skip clustered VGs.
Add fallback_to_clustered_locking and fallback_to_local_locking parameters.

18 years agolvm.static uses built-in cluster locking instead of external locking.
Alasdair Kergon [Thu, 31 Aug 2006 22:21:00 +0000 (22:21 +0000)]
lvm.static uses built-in cluster locking instead of external locking.
Don't attempt to load shared libraries if built statically.

18 years agoChange default locking_lib to liblvm2clusterlock.so.
Alasdair Kergon [Thu, 31 Aug 2006 20:56:33 +0000 (20:56 +0000)]
Change default locking_lib to liblvm2clusterlock.so.

18 years agoAdd skip_dev_dir() to process command line VGs.
Alasdair Kergon [Fri, 25 Aug 2006 23:02:33 +0000 (23:02 +0000)]
Add skip_dev_dir() to process command line VGs.

18 years agoStop clvmd complaining about nodes that have left the cluster
Patrick Caulfield [Thu, 24 Aug 2006 12:45:05 +0000 (12:45 +0000)]
Stop clvmd complaining about nodes that have left the cluster

18 years agostub.h shouldn't be here
Alasdair Kergon [Tue, 22 Aug 2006 15:56:06 +0000 (15:56 +0000)]
stub.h shouldn't be here

18 years agoAdd needed new parameter to create_toolcontext().
Patrick Caulfield [Tue, 22 Aug 2006 09:49:20 +0000 (09:49 +0000)]
Add needed new parameter to create_toolcontext().

18 years agoMove lvm_snprintf into libdevmapper.
Alasdair Kergon [Mon, 21 Aug 2006 12:54:53 +0000 (12:54 +0000)]
Move lvm_snprintf into libdevmapper.

18 years agoAdd dm_snprintf
Alasdair Kergon [Mon, 21 Aug 2006 12:52:39 +0000 (12:52 +0000)]
Add dm_snprintf

18 years agoAdd dm_split_words() and dm_split_lvm_name() to libdevmapper.
Alasdair Kergon [Mon, 21 Aug 2006 12:07:03 +0000 (12:07 +0000)]
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.

18 years agofix lvm.conf (5) refs
Alasdair Kergon [Fri, 18 Aug 2006 22:35:59 +0000 (22:35 +0000)]
fix lvm.conf (5) refs

18 years agomirror man page tweaks
Alasdair Kergon [Fri, 18 Aug 2006 22:27:01 +0000 (22:27 +0000)]
mirror man page tweaks

18 years agoAdd mirroring into man pages
Alasdair Kergon [Fri, 18 Aug 2006 21:49:19 +0000 (21:49 +0000)]
Add mirroring into man pages

18 years agoreorder bounds check code
Alasdair Kergon [Fri, 18 Aug 2006 21:38:58 +0000 (21:38 +0000)]
reorder bounds check code

18 years agoPrevent mirror renames.
Alasdair Kergon [Fri, 18 Aug 2006 21:19:54 +0000 (21:19 +0000)]
Prevent mirror renames.

18 years agoMove CMDLIB code into separate file and record whether static build.
Alasdair Kergon [Fri, 18 Aug 2006 21:17:18 +0000 (21:17 +0000)]
Move CMDLIB code into separate file and record whether static build.

18 years agopost
Alasdair Kergon [Thu, 17 Aug 2006 20:04:38 +0000 (20:04 +0000)]
post

18 years agowrappers files
Alasdair Kergon [Thu, 17 Aug 2006 19:56:28 +0000 (19:56 +0000)]
wrappers files

18 years agopre-release
Alasdair Kergon [Thu, 17 Aug 2006 19:55:50 +0000 (19:55 +0000)]
pre-release

18 years agoFix PE_ALIGN for pagesize over 32KB.
Alasdair Kergon [Thu, 17 Aug 2006 19:53:36 +0000 (19:53 +0000)]
Fix PE_ALIGN for pagesize over 32KB.

18 years agowrap PE_ALIGN
Alasdair Kergon [Thu, 17 Aug 2006 19:30:59 +0000 (19:30 +0000)]
wrap PE_ALIGN

18 years agoSeparate out LVM1_PE_ALIGN.
Alasdair Kergon [Thu, 17 Aug 2006 19:15:27 +0000 (19:15 +0000)]
Separate out LVM1_PE_ALIGN.

18 years agoAdd lvm_getpagesize wrapper.
Alasdair Kergon [Thu, 17 Aug 2006 18:23:44 +0000 (18:23 +0000)]
Add lvm_getpagesize wrapper.

18 years agoAdd --maxphysicalvolumes to vgchange.
Alasdair Kergon [Wed, 16 Aug 2006 14:41:42 +0000 (14:41 +0000)]
Add --maxphysicalvolumes to vgchange.

18 years agopost-release
Alasdair Kergon [Tue, 15 Aug 2006 19:13:06 +0000 (19:13 +0000)]
post-release

18 years agopre-release
Alasdair Kergon [Tue, 15 Aug 2006 19:06:09 +0000 (19:06 +0000)]
pre-release

18 years agopost-release
Alasdair Kergon [Tue, 15 Aug 2006 17:43:10 +0000 (17:43 +0000)]
post-release

18 years agopre-release
Alasdair Kergon [Tue, 15 Aug 2006 17:38:38 +0000 (17:38 +0000)]
pre-release

18 years agofix getopt_long error check
Alasdair Kergon [Thu, 10 Aug 2006 20:53:21 +0000 (20:53 +0000)]
fix getopt_long error check

18 years agoAdd --table argument to dmsetup for a one-line table.
Alasdair Kergon [Thu, 10 Aug 2006 14:11:03 +0000 (14:11 +0000)]
Add --table argument to dmsetup for a one-line table.
Abort if errors are found during cmdline option processing.

18 years agoAdd checks for duplicate LV name, lvid and PV id before writing metadata.
Alasdair Kergon [Wed, 9 Aug 2006 19:33:25 +0000 (19:33 +0000)]
Add checks for duplicate LV name, lvid and PV id before writing metadata.
Report all sanity check failures, not just the first.

18 years agoAdd lockfs indicator to debug output.
Alasdair Kergon [Tue, 8 Aug 2006 21:22:31 +0000 (21:22 +0000)]
Add lockfs indicator to debug output.

18 years agoFix missing lockfs on first snapshot creation.
Alasdair Kergon [Tue, 8 Aug 2006 21:20:00 +0000 (21:20 +0000)]
Fix missing lockfs on first snapshot creation.

18 years agoAdd --trustcache option to reporting commands in preparation for supporting
Alasdair Kergon [Tue, 1 Aug 2006 14:56:33 +0000 (14:56 +0000)]
Add --trustcache option to reporting commands in preparation for supporting
event-driven model.  Without changes to the way the cache gets updated, the
option is currently unreliable without a global lock to prevent any lvm2
commands from running concurrently.

18 years agoFix locking for mimage removal.
Alasdair Kergon [Thu, 20 Jul 2006 20:37:10 +0000 (20:37 +0000)]
Fix locking for mimage removal.

18 years agoFix clvmd_init_rhel4 'status' exit code.
Alasdair Kergon [Wed, 19 Jul 2006 18:55:58 +0000 (18:55 +0000)]
Fix clvmd_init_rhel4 'status' exit code.

18 years agopost-release
Alasdair Kergon [Mon, 17 Jul 2006 14:39:54 +0000 (14:39 +0000)]
post-release

18 years agopre-release
Alasdair Kergon [Mon, 17 Jul 2006 14:32:00 +0000 (14:32 +0000)]
pre-release

18 years agoFix activation logic in lvchange --persistent.
Alasdair Kergon [Mon, 10 Jul 2006 19:39:14 +0000 (19:39 +0000)]
Fix activation logic in lvchange --persistent.

18 years agoDon't ignore persistent minor numbers when activating.
Alasdair Kergon [Mon, 10 Jul 2006 19:17:40 +0000 (19:17 +0000)]
Don't ignore persistent minor numbers when activating.

18 years agotest
Alasdair Kergon [Wed, 5 Jul 2006 21:07:35 +0000 (21:07 +0000)]
test

18 years agotest
Alasdair Kergon [Wed, 5 Jul 2006 21:03:15 +0000 (21:03 +0000)]
test

18 years agoAppend full patch to checkin emails.
Alasdair Kergon [Wed, 5 Jul 2006 21:01:06 +0000 (21:01 +0000)]
Append full patch to checkin emails.

18 years agoAvoid duplicate dmeventd subdir with 'make distclean'.
Alasdair Kergon [Wed, 5 Jul 2006 17:29:12 +0000 (17:29 +0000)]
Avoid duplicate dmeventd subdir with 'make distclean'.

18 years agoadd dlerror to another error path
Alasdair Kergon [Wed, 5 Jul 2006 17:26:36 +0000 (17:26 +0000)]
add dlerror to another error path

18 years agoDifferentiate between the two 'log device failed' cases in vgreduce.
Alasdair Kergon [Tue, 4 Jul 2006 19:52:47 +0000 (19:52 +0000)]
Differentiate between the two 'log device failed' cases in vgreduce.

18 years agoUse RTLD_GLOBAL when loading shared libraries.
Alasdair Kergon [Tue, 4 Jul 2006 19:40:27 +0000 (19:40 +0000)]
Use RTLD_GLOBAL when loading shared libraries.

18 years agoAdd some forgotten memlock checks to _vg_read to protect against full scans.
Alasdair Kergon [Tue, 4 Jul 2006 19:36:49 +0000 (19:36 +0000)]
Add some forgotten memlock checks to _vg_read to protect against full scans.

18 years agoAdd mutex to dmeventd_mirror to avoid concurrent execution.
Alasdair Kergon [Tue, 4 Jul 2006 18:57:27 +0000 (18:57 +0000)]
Add mutex to dmeventd_mirror to avoid concurrent execution.

18 years agoIf VG is already consistent with --removemissing, return success not failure.
Alasdair Kergon [Tue, 4 Jul 2006 18:51:59 +0000 (18:51 +0000)]
If VG is already consistent with --removemissing, return success not failure.

18 years agoforce remove fixes
Alasdair Kergon [Sun, 18 Jun 2006 11:51:46 +0000 (11:51 +0000)]
force remove fixes

18 years agoAdd --force to dmsetup remove* to load error target. [Untested.]
Alasdair Kergon [Sun, 18 Jun 2006 11:35:04 +0000 (11:35 +0000)]
Add --force to dmsetup remove* to load error target.  [Untested.]
Update dmsetup man page.

18 years agodmsetup remove_all also performs mknodes.
Alasdair Kergon [Sat, 17 Jun 2006 16:12:41 +0000 (16:12 +0000)]
dmsetup remove_all also performs mknodes.

18 years agoDon't suppress identical table reloads if permission changes.
Alasdair Kergon [Wed, 14 Jun 2006 22:00:03 +0000 (22:00 +0000)]
Don't suppress identical table reloads if permission changes.

18 years agoFix return code if VG specified on command line is not found.
Alasdair Kergon [Wed, 14 Jun 2006 20:27:15 +0000 (20:27 +0000)]
Fix return code if VG specified on command line is not found.

18 years agoFix PV tools to include orphaned PVs in default output again.
Alasdair Kergon [Wed, 14 Jun 2006 20:11:22 +0000 (20:11 +0000)]
Fix PV tools to include orphaned PVs in default output again.

18 years agotest checkin
Alasdair Kergon [Mon, 12 Jun 2006 17:34:20 +0000 (17:34 +0000)]
test checkin

18 years agotest checkin
Alasdair Kergon [Mon, 12 Jun 2006 17:32:43 +0000 (17:32 +0000)]
test checkin

18 years agotest checkin
Alasdair Kergon [Mon, 12 Jun 2006 17:30:29 +0000 (17:30 +0000)]
test checkin

18 years agocheckin test
Alasdair Kergon [Mon, 12 Jun 2006 17:18:31 +0000 (17:18 +0000)]
checkin test

18 years agoFix "Unaligned access" when using clvm
Patrick Caulfield [Mon, 12 Jun 2006 09:46:35 +0000 (09:46 +0000)]
Fix "Unaligned access" when using clvm
bz#194626

18 years agoFix an extra dev_close in a label_read error path.
Alasdair Kergon [Thu, 8 Jun 2006 22:15:49 +0000 (22:15 +0000)]
Fix an extra dev_close in a label_read error path.

18 years agochange two files in different directories
Alasdair Kergon [Tue, 6 Jun 2006 17:44:11 +0000 (17:44 +0000)]
change two files in different directories

18 years agotest
Alasdair Kergon [Tue, 6 Jun 2006 17:42:20 +0000 (17:42 +0000)]
test

18 years agotest one change
Alasdair Kergon [Tue, 6 Jun 2006 17:41:30 +0000 (17:41 +0000)]
test one change

18 years agoFix target_register_events args.
Alasdair Kergon [Thu, 25 May 2006 13:32:26 +0000 (13:32 +0000)]
Fix target_register_events args.

18 years agoPrevent snapshots of mirrors.
Alasdair Kergon [Wed, 24 May 2006 13:58:14 +0000 (13:58 +0000)]
Prevent snapshots of mirrors.

18 years ago Add DISTCLEAN_TARGETS to make template for configure.h.
Alasdair Kergon [Tue, 16 May 2006 20:53:13 +0000 (20:53 +0000)]
  Add DISTCLEAN_TARGETS to make template for configure.h.
  More fixes to error paths.

18 years agofix error path
Alasdair Kergon [Tue, 16 May 2006 20:42:01 +0000 (20:42 +0000)]
fix error path

18 years ago Fix lvcreate corelog validation.
Alasdair Kergon [Tue, 16 May 2006 16:48:31 +0000 (16:48 +0000)]
  Fix lvcreate corelog validation.
  Add --config for overriding most config file settings from cmdline.
  Quote arguments when printing command line.
  Remove linefeed from 'initialising logging' message.
  Add 'Completed' debug message.
  Don't attempt library exit after reloading config files.
  Always compile with libdevmapper, even if device-mapper is disabled.

18 years ago Fix corelog segment line.
Alasdair Kergon [Tue, 16 May 2006 16:20:29 +0000 (16:20 +0000)]
  Fix corelog segment line.
  Suppress some compiler warnings.

18 years agoAdd needed include.
Patrick Caulfield [Mon, 15 May 2006 12:32:08 +0000 (12:32 +0000)]
Add needed include.

18 years agofix compile
Alasdair Kergon [Mon, 15 May 2006 11:56:15 +0000 (11:56 +0000)]
fix compile

18 years agopost-release
Alasdair Kergon [Fri, 12 May 2006 20:32:39 +0000 (20:32 +0000)]
post-release

18 years agofix dev->device
Alasdair Kergon [Fri, 12 May 2006 19:47:40 +0000 (19:47 +0000)]
fix dev->device

18 years agonot reqd
Alasdair Kergon [Fri, 12 May 2006 19:44:42 +0000 (19:44 +0000)]
not reqd

18 years agopre-release
Alasdair Kergon [Fri, 12 May 2006 19:41:43 +0000 (19:41 +0000)]
pre-release

18 years agoAdd --monitor to vgcreate and lvcreate to control dmeventd registration.
Alasdair Kergon [Fri, 12 May 2006 19:16:48 +0000 (19:16 +0000)]
Add --monitor to vgcreate and lvcreate to control dmeventd registration.
Propagate --monitor around cluster.
Filter LCK_NONBLOCK in clvmd lock_vg.

18 years agofix compile
Alasdair Kergon [Fri, 12 May 2006 13:33:22 +0000 (13:33 +0000)]
fix compile

18 years agoPre-release.
Alasdair Kergon [Thu, 11 May 2006 20:24:07 +0000 (20:24 +0000)]
Pre-release.

18 years agoM for unsynced mirror
Alasdair Kergon [Thu, 11 May 2006 20:17:17 +0000 (20:17 +0000)]
M for unsynced mirror

18 years agoAdd --nosync to lvcreate with LV flag NOTSYNCED.
Alasdair Kergon [Thu, 11 May 2006 20:03:40 +0000 (20:03 +0000)]
Add --nosync to lvcreate with LV flag NOTSYNCED.

18 years agoUse mirror's uuid for a core log.
Alasdair Kergon [Thu, 11 May 2006 19:47:53 +0000 (19:47 +0000)]
Use mirror's uuid for a core log.

18 years agoAdd mirror log fault-handling policy.
Alasdair Kergon [Thu, 11 May 2006 19:45:53 +0000 (19:45 +0000)]
Add mirror log fault-handling policy.

18 years agoAdd DM_CORELOG flag to dm_tree_node_add_mirror_target().
Alasdair Kergon [Thu, 11 May 2006 19:10:55 +0000 (19:10 +0000)]
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().

18 years agoAvoid a dmeventd compiler warning.
Alasdair Kergon [Thu, 11 May 2006 19:08:02 +0000 (19:08 +0000)]
Avoid a dmeventd compiler warning.

18 years agoPropagate nosync flag around cluster.
Alasdair Kergon [Thu, 11 May 2006 19:05:21 +0000 (19:05 +0000)]
Propagate nosync flag around cluster.

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