]> sourceware.org Git - lvm2.git/log
lvm2.git
21 years agoAllow for specification of major number as well as minor.
Alasdair Kergon [Wed, 2 Apr 2003 19:14:43 +0000 (19:14 +0000)]
Allow for specification of major number as well as minor.

21 years agosize_t tidying
Alasdair Kergon [Wed, 2 Apr 2003 19:11:23 +0000 (19:11 +0000)]
size_t tidying

21 years agoAllow device major to be set too.
Alasdair Kergon [Wed, 2 Apr 2003 19:03:00 +0000 (19:03 +0000)]
Allow device major to be set too.

21 years agoReinstate lost vg_write() in lvchange --permission.
Alasdair Kergon [Wed, 2 Apr 2003 13:01:04 +0000 (13:01 +0000)]
Reinstate lost vg_write() in lvchange --permission.

21 years agoProposed changes to the ioctl interface to fix alignment issues on some
Alasdair Kergon [Fri, 28 Mar 2003 18:58:59 +0000 (18:58 +0000)]
Proposed changes to the ioctl interface to fix alignment issues on some
architectures and specify an explicit width for every numeric field.

21 years agoAvoid report segfault with non-partial inconsistent VG.
Alasdair Kergon [Mon, 24 Mar 2003 18:22:48 +0000 (18:22 +0000)]
Avoid report segfault with non-partial inconsistent VG.

21 years agoTidy various pre-processing incl. making libdl optional.
Alasdair Kergon [Mon, 24 Mar 2003 18:08:53 +0000 (18:08 +0000)]
Tidy various pre-processing incl. making libdl optional.

21 years agoFix incomplete munmap. (pjc)
Alasdair Kergon [Thu, 20 Mar 2003 14:29:28 +0000 (14:29 +0000)]
Fix incomplete munmap.  (pjc)

21 years agoFix typo.
Alasdair Kergon [Mon, 3 Mar 2003 12:57:27 +0000 (12:57 +0000)]
Fix typo.

21 years agoHAT_CHAR and DOLLAR_CHAR were defined to the same value !
Joe Thornber [Thu, 20 Feb 2003 14:53:56 +0000 (14:53 +0000)]
HAT_CHAR and DOLLAR_CHAR were defined to the same value !

21 years agoFix table output bug in last commit.
Alasdair Kergon [Thu, 20 Feb 2003 13:30:03 +0000 (13:30 +0000)]
Fix table output bug in last commit.

21 years agoUpdate packages.
Andres Salomon [Sun, 16 Feb 2003 22:12:28 +0000 (22:12 +0000)]
Update packages.

21 years agoLV name validation
Alasdair Kergon [Mon, 3 Feb 2003 20:09:58 +0000 (20:09 +0000)]
LV name validation

21 years agoIdentifiers may now start with digits etc.
Alasdair Kergon [Mon, 3 Feb 2003 20:08:45 +0000 (20:08 +0000)]
Identifiers may now start with digits etc.

21 years agoAllow strings in single quotes too
Alasdair Kergon [Tue, 28 Jan 2003 17:20:11 +0000 (17:20 +0000)]
Allow strings in single quotes too

21 years agoTreat 'section{' as equivalent to 'section {'
Alasdair Kergon [Tue, 28 Jan 2003 16:07:04 +0000 (16:07 +0000)]
Treat 'section{' as equivalent to 'section {'

21 years agomerge back accidentally overwritten r1.2 change
Alasdair Kergon [Sat, 25 Jan 2003 13:34:35 +0000 (13:34 +0000)]
merge back accidentally overwritten r1.2 change

21 years agoPrepare for ioctl version number change.
Alasdair Kergon [Tue, 21 Jan 2003 21:27:36 +0000 (21:27 +0000)]
Prepare for ioctl version number change.

21 years agoAllow optional verbose logging.
Alasdair Kergon [Tue, 21 Jan 2003 21:25:51 +0000 (21:25 +0000)]
Allow optional verbose logging.

21 years agoAllow optional verbose logging
Alasdair Kergon [Tue, 21 Jan 2003 21:25:11 +0000 (21:25 +0000)]
Allow optional verbose logging

21 years agoAdd --enable-debug --disable-compat
Alasdair Kergon [Tue, 21 Jan 2003 21:22:55 +0000 (21:22 +0000)]
Add --enable-debug --disable-compat

21 years agoIndicate full (dropped) snapshot.
Alasdair Kergon [Tue, 21 Jan 2003 18:50:50 +0000 (18:50 +0000)]
Indicate full (dropped) snapshot.

21 years agovgreduce --removemissing to remove missing PVs & deps & make VG consistent
Alasdair Kergon [Fri, 17 Jan 2003 21:04:26 +0000 (21:04 +0000)]
vgreduce --removemissing to remove missing PVs & deps & make VG consistent

21 years agoAdd success message; validate given VG name.
Alasdair Kergon [Fri, 17 Jan 2003 21:02:04 +0000 (21:02 +0000)]
Add success message; validate given VG name.

21 years agoActivation commands now return success in test mode.
Alasdair Kergon [Fri, 17 Jan 2003 20:16:23 +0000 (20:16 +0000)]
Activation commands now return success in test mode.

21 years agoUpdate
Alasdair Kergon [Fri, 10 Jan 2003 22:51:18 +0000 (22:51 +0000)]
Update

21 years agoFix (rare) cache bug on machines with large /dev directories.
Alasdair Kergon [Fri, 10 Jan 2003 19:14:01 +0000 (19:14 +0000)]
Fix (rare) cache bug on machines with large /dev directories.

21 years agoFix segfault in uuid display (substitution missed during bulk change)
Alasdair Kergon [Thu, 9 Jan 2003 19:35:17 +0000 (19:35 +0000)]
Fix segfault in uuid display (substitution missed during bulk change)

21 years agoconfigure --disable-devmapper if you don't have libdevmapper
Alasdair Kergon [Wed, 8 Jan 2003 22:44:07 +0000 (22:44 +0000)]
configure --disable-devmapper  if you don't have libdevmapper

21 years agoo Additional device/filter-level debugging messages + duplicate alias fix
Alasdair Kergon [Wed, 8 Jan 2003 16:41:22 +0000 (16:41 +0000)]
o Additional device/filter-level debugging messages + duplicate alias fix
o 32/64-bit size_t fix (pjc)

21 years agoUpdate date.
Alasdair Kergon [Tue, 7 Jan 2003 17:06:58 +0000 (17:06 +0000)]
Update date.

21 years agoDetect duplicate PV uuids - select the one on an md device if appropriate.
Alasdair Kergon [Mon, 6 Jan 2003 21:10:43 +0000 (21:10 +0000)]
Detect duplicate PV uuids - select the one on an md device if appropriate.

21 years agoIgnore filter cache at startup if config file is newer than cache.
Alasdair Kergon [Mon, 6 Jan 2003 21:09:04 +0000 (21:09 +0000)]
Ignore filter cache at startup if config file is newer than cache.

21 years agoMore docn for filter changes.
Alasdair Kergon [Mon, 6 Jan 2003 21:07:27 +0000 (21:07 +0000)]
More docn for filter changes.

21 years agoCorrect error message for non-snapshot activation failure.
Alasdair Kergon [Mon, 6 Jan 2003 21:06:43 +0000 (21:06 +0000)]
Correct error message for non-snapshot activation failure.

21 years agoWhen there are device name aliases, choose the "nicest" to display.
Alasdair Kergon [Fri, 3 Jan 2003 21:11:23 +0000 (21:11 +0000)]
When there are device name aliases, choose the "nicest" to display.

21 years agoAlso lock memory during LV updates.
Alasdair Kergon [Fri, 3 Jan 2003 21:10:28 +0000 (21:10 +0000)]
Also lock memory during LV updates.

21 years agoWhen activating an LV, remove any stray LVM1 /dev nodes and group file.
Alasdair Kergon [Fri, 3 Jan 2003 13:50:47 +0000 (13:50 +0000)]
When activating an LV, remove any stray LVM1 /dev nodes and group file.

21 years agoDefault stripesize 64k & config file setting for it;
Alasdair Kergon [Thu, 19 Dec 2002 23:25:55 +0000 (23:25 +0000)]
Default stripesize 64k & config file setting for it;
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-)  (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug

21 years agoNew column-based reporting tools: lvs, pvs & vgs.
Alasdair Kergon [Thu, 12 Dec 2002 20:55:49 +0000 (20:55 +0000)]
New column-based reporting tools: lvs, pvs & vgs.

21 years agoclose another bug
Andres Salomon [Mon, 9 Dec 2002 08:59:34 +0000 (08:59 +0000)]
close another bug

21 years agoit's about that time again
Andres Salomon [Mon, 9 Dec 2002 08:37:58 +0000 (08:37 +0000)]
it's about that time again

21 years agoUse sync_dir().
Alasdair Kergon [Thu, 5 Dec 2002 22:56:22 +0000 (22:56 +0000)]
Use sync_dir().

21 years agoAdd sync_dir()
Alasdair Kergon [Thu, 5 Dec 2002 22:51:15 +0000 (22:51 +0000)]
Add sync_dir()

21 years agoFix display alignment of zero.
Alasdair Kergon [Thu, 5 Dec 2002 22:42:31 +0000 (22:42 +0000)]
Fix display alignment of zero.

21 years agoRemove an unused .h file.
Alasdair Kergon [Thu, 5 Dec 2002 22:37:36 +0000 (22:37 +0000)]
Remove an unused .h file.

21 years agoFix long arg processing.
Alasdair Kergon [Thu, 5 Dec 2002 22:35:15 +0000 (22:35 +0000)]
Fix long arg processing.

21 years agoMaintain snapshot_count correctly.
Alasdair Kergon [Thu, 5 Dec 2002 22:30:39 +0000 (22:30 +0000)]
Maintain snapshot_count correctly.

21 years agoKeep certain versions of ld happy.
Alasdair Kergon [Thu, 5 Dec 2002 22:28:18 +0000 (22:28 +0000)]
Keep certain versions of ld happy.

21 years agoKeep some ld versions happy.
Alasdair Kergon [Thu, 5 Dec 2002 22:27:43 +0000 (22:27 +0000)]
Keep some ld versions happy.

21 years agoNew devices/types config file entry to add new types of block devices.
Alasdair Kergon [Tue, 3 Dec 2002 16:20:38 +0000 (16:20 +0000)]
New devices/types config file entry to add new types of block devices.

21 years agotidy
Alasdair Kergon [Tue, 3 Dec 2002 13:27:23 +0000 (13:27 +0000)]
tidy

21 years agoShow PV uuid; single stripe is 'linear'; suppress snapshot fields for origin.
Alasdair Kergon [Tue, 3 Dec 2002 13:26:17 +0000 (13:26 +0000)]
Show PV uuid; single stripe is 'linear'; suppress snapshot fields for origin.

21 years agoMore restore hints.
Alasdair Kergon [Tue, 3 Dec 2002 13:25:09 +0000 (13:25 +0000)]
More restore hints.

21 years agoDefault size unit normally MB not KB.
Alasdair Kergon [Tue, 3 Dec 2002 13:24:38 +0000 (13:24 +0000)]
Default size unit normally MB not KB.

21 years agoSuppress a (normally) unnecessary warning.
Alasdair Kergon [Tue, 3 Dec 2002 13:23:50 +0000 (13:23 +0000)]
Suppress a (normally) unnecessary warning.

21 years agoFurther help text tidying & support for -?.
Alasdair Kergon [Fri, 29 Nov 2002 15:02:57 +0000 (15:02 +0000)]
Further help text tidying & support for -?.

21 years agotiny tidying
Heinz Mauelshagen [Thu, 28 Nov 2002 15:27:59 +0000 (15:27 +0000)]
tiny tidying

21 years agoCorrected lvcreate synopsis.
Heinz Mauelshagen [Thu, 28 Nov 2002 15:27:29 +0000 (15:27 +0000)]
Corrected lvcreate synopsis.
Added --ignorelockingflag to synopsis where missing.

21 years agoShow stripesize in KB.
Alasdair Kergon [Tue, 26 Nov 2002 21:56:57 +0000 (21:56 +0000)]
Show stripesize in KB.

21 years agoSkip config file reload attempt if no config file location.
Alasdair Kergon [Tue, 26 Nov 2002 12:14:37 +0000 (12:14 +0000)]
Skip config file reload attempt if no config file location.

22 years agoFix snapshot lvcreate activation check.
Alasdair Kergon [Fri, 22 Nov 2002 14:19:56 +0000 (14:19 +0000)]
Fix snapshot lvcreate activation check.

22 years agoRemove 2 TB LV size restriction message.
Alasdair Kergon [Mon, 18 Nov 2002 16:21:00 +0000 (16:21 +0000)]
Remove 2 TB LV size restriction message.

22 years agoMissing sector->k conversion in "logical volumes cannot be larger than" mesg.
Alasdair Kergon [Mon, 18 Nov 2002 16:08:45 +0000 (16:08 +0000)]
Missing sector->k conversion in "logical volumes cannot be larger than" mesg.

22 years agoSome new features.
Alasdair Kergon [Mon, 18 Nov 2002 14:04:08 +0000 (14:04 +0000)]
Some new features.

22 years agoRefactoring.
Alasdair Kergon [Mon, 18 Nov 2002 14:01:16 +0000 (14:01 +0000)]
Refactoring.

22 years agoA new cache.
Alasdair Kergon [Mon, 18 Nov 2002 13:53:58 +0000 (13:53 +0000)]
A new cache.

22 years agoOnly functions listed in libdevmapper.h should get exported.
Alasdair Kergon [Thu, 14 Nov 2002 19:26:28 +0000 (19:26 +0000)]
Only functions listed in libdevmapper.h should get exported.

22 years agoFix includes after DM_DIR definition move.
Alasdair Kergon [Thu, 14 Nov 2002 14:44:42 +0000 (14:44 +0000)]
Fix includes after DM_DIR definition move.

22 years agoDon't let LVM2 access a VG if the original LVM driver appears to be using it.
Alasdair Kergon [Fri, 1 Nov 2002 19:57:25 +0000 (19:57 +0000)]
Don't let LVM2 access a VG if the original LVM driver appears to be using it.

22 years agoImprove missing-kernel-driver error message.
Alasdair Kergon [Fri, 1 Nov 2002 16:16:42 +0000 (16:16 +0000)]
Improve missing-kernel-driver error message.

22 years agoagk, I recall you saying you had a massive commit pending; if you need me
Andres Salomon [Sun, 27 Oct 2002 21:04:03 +0000 (21:04 +0000)]
agk, I recall you saying you had a massive commit pending; if you need me
to back this out so you can do that commit, let me know.  Also, if there's
an issue with the error message that's displayed, just change it in tools.h.

This causes a "device-mapper driver/module not loaded?" error message to
be displayed for the commands that require dm-mod, if the tools can't get
the driver version.  It's not done for commands that don't require dm-mod.
This should clear up some problems people have had attempting to use lvm2
without rtfm'ing.

22 years agosynch w/ debian
Andres Salomon [Sun, 27 Oct 2002 18:40:35 +0000 (18:40 +0000)]
synch w/ debian

22 years agoWow, learn something new every day. Apparently, the signed-ness of char is
Andres Salomon [Tue, 8 Oct 2002 20:16:44 +0000 (20:16 +0000)]
Wow, learn something new every day.  Apparently, the signed-ness of char is
implementation-dependent; some archs (s390, arm, and ppc) default to
an unsigned char.

22 years agoSupport alternative lvrename syntax.
Alasdair Kergon [Thu, 5 Sep 2002 12:49:23 +0000 (12:49 +0000)]
Support alternative lvrename syntax.

22 years agoupdate, synch w/ debian
Andres Salomon [Sun, 1 Sep 2002 23:08:17 +0000 (23:08 +0000)]
update, synch w/ debian

22 years agoo inline _step_matcher
Joe Thornber [Thu, 29 Aug 2002 15:05:16 +0000 (15:05 +0000)]
o  inline _step_matcher

22 years agoo Give an example filter that uses anchors.
Joe Thornber [Thu, 29 Aug 2002 14:47:06 +0000 (14:47 +0000)]
o  Give an example filter that uses anchors.

22 years agoo Anchor support for the regex engine.
Joe Thornber [Thu, 29 Aug 2002 14:46:30 +0000 (14:46 +0000)]
o  Anchor support for the regex engine.

22 years ago o This resolves bug #79
AJ Lewis [Thu, 15 Aug 2002 15:31:33 +0000 (15:31 +0000)]
 o This resolves bug #79
 o added -D_REENTRANT to the CFLAGS so clvmd works properly with liblvm
   (I saw this problem with Redhat 7.3)

22 years agoRemove O_DIRECT as it causes problems with some systems.
Patrick Caulfield [Wed, 14 Aug 2002 14:58:00 +0000 (14:58 +0000)]
Remove O_DIRECT as it causes problems with some systems.

Harumph.

22 years agoo Remove e2fsadm to stop people waiting expectantly for something that isn't going
Joe Thornber [Thu, 8 Aug 2002 07:54:57 +0000 (07:54 +0000)]
o  Remove e2fsadm to stop people waiting expectantly for something that isn't going
   to arrive.

22 years agoo Make sure the status parsing code can deal with an empty array.
Joe Thornber [Thu, 1 Aug 2002 12:51:48 +0000 (12:51 +0000)]
o  Make sure the status parsing code can deal with an empty array.

22 years agoo Added new value type CFG_EMPTY_ARRAY, to indicate '[]', useful since we use
Joe Thornber [Thu, 1 Aug 2002 12:46:52 +0000 (12:46 +0000)]
o  Added new value type CFG_EMPTY_ARRAY, to indicate '[]', useful since we use
   the arrays to hold a symbolic set of flags.

22 years agoo 0 was used rather than NULL in a couple of places.
Joe Thornber [Thu, 1 Aug 2002 08:22:09 +0000 (08:22 +0000)]
o  0 was used rather than NULL in a couple of places.

o  Indent output with tabs rather than single spaces.

22 years agoo Test program for the config unit. Just reads a config and then writes it
Joe Thornber [Thu, 1 Aug 2002 08:18:54 +0000 (08:18 +0000)]
o  Test program for the config unit.  Just reads a config and then writes it
   out again.

22 years agoRename lock_resource to file_lock_resource to avoid name clashes
Patrick Caulfield [Thu, 25 Jul 2002 09:04:30 +0000 (09:04 +0000)]
Rename lock_resource to file_lock_resource to avoid name clashes

22 years agoUse O_DIRECT for writing to devices.
Patrick Caulfield [Mon, 22 Jul 2002 08:10:54 +0000 (08:10 +0000)]
Use O_DIRECT for writing to devices.
Doesn't work on HPPA due to a kernel bug but other archs shuld be OK.

22 years agoRemove hard-coded extent_size from snapshot target (field no longer used).
Alasdair Kergon [Wed, 17 Jul 2002 17:00:54 +0000 (17:00 +0000)]
Remove hard-coded extent_size from snapshot target (field no longer used).

22 years agoImproved snapshot-related arg validation
Alasdair Kergon [Wed, 17 Jul 2002 16:04:05 +0000 (16:04 +0000)]
Improved snapshot-related arg validation

22 years agoi) Add the VISIBLE flag to the text format. (Other changes are pending
Joe Thornber [Thu, 11 Jul 2002 15:28:49 +0000 (15:28 +0000)]
i)  Add the VISIBLE flag to the text format.  (Other changes are pending
    for lib/activate.)

22 years agoi) Added a little macro to aid defining the status flags.
Joe Thornber [Thu, 11 Jul 2002 14:36:45 +0000 (14:36 +0000)]
i)  Added a little macro to aid defining the status flags.

22 years agoi) There's now a seperate field in struct logical_volume that stores the
Joe Thornber [Thu, 11 Jul 2002 14:21:49 +0000 (14:21 +0000)]
i)  There's now a seperate field in struct logical_volume that stores the
    allocation policy.  This can currently take one of three values:

   typedef enum {
        ALLOC_NEXT_FREE,
        ALLOC_STRICT,
        ALLOC_CONTIGUOUS
   } alloc_policy_t;

    Notice that 'SIMPLE' has turned into the slightly more meaningful NEXT_FREE.

ii) Put code into display.[hc] for converting one of these enums to a
    text representation and back again.

ii) Updated the text format so this also has the alloc_policy field.

22 years agotidy
Alasdair Kergon [Thu, 11 Jul 2002 14:09:26 +0000 (14:09 +0000)]
tidy

22 years agoAdd get_config_str
Alasdair Kergon [Thu, 11 Jul 2002 14:07:43 +0000 (14:07 +0000)]
Add get_config_str

22 years agoDon't log an error if we can't write the cache file because the FS is read-only.
Patrick Caulfield [Thu, 11 Jul 2002 09:23:29 +0000 (09:23 +0000)]
Don't log an error if we can't write the cache file because the FS is read-only.

Gets rid of that annoying error at shutdown.

22 years agoAdd --ignorelockingfailure
Alasdair Kergon [Wed, 10 Jul 2002 20:43:32 +0000 (20:43 +0000)]
Add --ignorelockingfailure

22 years agoMerge adjacent "Missing" segments.
Alasdair Kergon [Wed, 10 Jul 2002 13:54:17 +0000 (13:54 +0000)]
Merge adjacent "Missing" segments.

22 years agoo Add version number to text format.
Joe Thornber [Tue, 2 Jul 2002 18:47:43 +0000 (18:47 +0000)]
o  Add version number to text format.

22 years agoTidy up for another release: updated documentation; removed old files;
Alasdair Kergon [Wed, 26 Jun 2002 21:50:53 +0000 (21:50 +0000)]
Tidy up for another release: updated documentation; removed old files;
module build fix.

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