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

22 years agoFlush on open as well as close.
Patrick Caulfield [Tue, 25 Jun 2002 14:02:28 +0000 (14:02 +0000)]
Flush on open as well as close.

22 years agoo Long-awaited ioctl interface clean-up. *** Not backwardly compatible ***
Alasdair Kergon [Wed, 19 Jun 2002 13:07:05 +0000 (13:07 +0000)]
o Long-awaited ioctl interface clean-up.  *** Not backwardly compatible ***
o Various other kernel side tidy-ups.
o Version number changes so we have the option of adding new ioctl commands
  in future without affecting the use of existing ones should you later
  revert to an older kernel but not revert the userspace library/tools.
o Better separation of kernel/userspace elements in the build process to
  prepare for independent distribution of the kernel driver.

22 years agoo Knock the version check out of the makefile, Alasdair will no doubt put it back :)
Joe Thornber [Mon, 17 Jun 2002 15:50:17 +0000 (15:50 +0000)]
o  Knock the version check out of the makefile, Alasdair will no doubt put it back :)

o  Change to new ioctl names.

22 years agoGet rid of compile warnings on 64bit platforms.
Patrick Caulfield [Fri, 7 Jun 2002 08:37:07 +0000 (08:37 +0000)]
Get rid of compile warnings on 64bit platforms.

22 years agoIncrement version.
Alasdair Kergon [Fri, 31 May 2002 19:33:30 +0000 (19:33 +0000)]
Increment version.

22 years agoAdd vgsplit.
Alasdair Kergon [Fri, 31 May 2002 19:30:51 +0000 (19:30 +0000)]
Add vgsplit.

22 years agoTidy/fix segment rounding.
Alasdair Kergon [Fri, 31 May 2002 19:29:43 +0000 (19:29 +0000)]
Tidy/fix segment rounding.

22 years agoTidy
Alasdair Kergon [Fri, 31 May 2002 19:28:37 +0000 (19:28 +0000)]
Tidy

22 years agoRemember to update VG free_count when reducing size of an LV.
Alasdair Kergon [Thu, 30 May 2002 16:08:19 +0000 (16:08 +0000)]
Remember to update VG free_count when reducing size of an LV.

22 years agoFix vgcfgrestore segfault (wrong variable used).
Alasdair Kergon [Thu, 30 May 2002 16:03:26 +0000 (16:03 +0000)]
Fix vgcfgrestore segfault (wrong variable used).

22 years agoupdate
Alasdair Kergon [Mon, 27 May 2002 13:00:18 +0000 (13:00 +0000)]
update

22 years ago o fix changed function names
AJ Lewis [Thu, 23 May 2002 14:13:21 +0000 (14:13 +0000)]
 o fix changed function names

22 years agoFix LVM1 backwards compatibility issue when LV with a low LV number is deleted.
Alasdair Kergon [Thu, 23 May 2002 11:37:51 +0000 (11:37 +0000)]
Fix LVM1 backwards compatibility issue when LV with a low LV number is deleted.

22 years agoo Remove ext3 incompatibility bug
Joe Thornber [Thu, 23 May 2002 08:20:44 +0000 (08:20 +0000)]
o Remove ext3 incompatibility bug

o Mention 2.4.18 VM problem

22 years agoupdate for .08
Andres Salomon [Thu, 23 May 2002 07:49:25 +0000 (07:49 +0000)]
update for .08

22 years agoRename; add some FIXMEs.
Alasdair Kergon [Wed, 22 May 2002 14:03:45 +0000 (14:03 +0000)]
Rename; add some FIXMEs.

22 years agoRevert to standard linux macros (for correct behaviour on rare architectures).
Alasdair Kergon [Tue, 21 May 2002 12:37:07 +0000 (12:37 +0000)]
Revert to standard linux macros (for correct behaviour on rare architectures).

22 years agoUpdate version.
Alasdair Kergon [Tue, 21 May 2002 12:14:05 +0000 (12:14 +0000)]
Update version.

22 years agoack, missing include
Andres Salomon [Sun, 19 May 2002 04:11:34 +0000 (04:11 +0000)]
ack, missing include

22 years agoupdate create_dir() comment
Andres Salomon [Sun, 19 May 2002 03:52:38 +0000 (03:52 +0000)]
update create_dir() comment

22 years agosupport recursive mkdir in create_dir()
Andres Salomon [Sun, 19 May 2002 03:46:34 +0000 (03:46 +0000)]
support recursive mkdir in create_dir()

22 years agosynch w/ -3 "oh shit" release
Andres Salomon [Tue, 14 May 2002 03:56:40 +0000 (03:56 +0000)]
synch w/ -3 "oh shit" release

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