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

22 years agoDrop the default chunk size for snapshots down to 8k
Joe Thornber [Mon, 13 May 2002 15:14:21 +0000 (15:14 +0000)]
Drop the default chunk size for snapshots down to 8k

22 years agoRewrite missing/corrupt metadata in more cases.
Alasdair Kergon [Mon, 13 May 2002 12:38:54 +0000 (12:38 +0000)]
Rewrite missing/corrupt metadata in more cases.

22 years ago o the _status fxns now take more arguments - this way i don't get the
AJ Lewis [Fri, 10 May 2002 16:06:06 +0000 (16:06 +0000)]
 o the _status fxns now take more arguments - this way i don't get the
   preparsed status info, shove it all into a string, and then parse it
   again to get the info back out (which is what i was doing before)
 o basically that's it...i like this *much* better than the previous
   method and i think it makes the _status fxn more flexible if we need
   to use it to get other info out.

22 years agoImport snapshot status & persistence + indent etc.
Alasdair Kergon [Fri, 10 May 2002 15:25:38 +0000 (15:25 +0000)]
Import snapshot status & persistence + indent etc.

22 years ago o Actually read snapshot percentage from the kernel - what a pain! :)
AJ Lewis [Thu, 9 May 2002 21:17:57 +0000 (21:17 +0000)]
 o Actually read snapshot percentage from the kernel - what a pain!  :)
 o Not sure if the code in dev_manager is really optimal, but it works..
   will look at adjusting it a bit now.
 o I *think* it works right when one snapshot if full but others aren't,
   but I haven't really been able to test it because the full snapshot
   somehow resets itself and weird things start happening to the system...

22 years agoRemove a no-op.
Alasdair Kergon [Thu, 9 May 2002 12:03:55 +0000 (12:03 +0000)]
Remove a no-op.

22 years ago o header should only be printed once...
AJ Lewis [Wed, 8 May 2002 17:58:52 +0000 (17:58 +0000)]
 o header should only be printed once...

22 years ago o Added function find_snapshots to snapshot_manip.c that returns a list
AJ Lewis [Wed, 8 May 2002 16:57:46 +0000 (16:57 +0000)]
 o Added function find_snapshots to snapshot_manip.c that returns a list
   of snapshots whose origin is the lv passed in.
 o Used this new function to make lvdisplay properly display all snapshots
   attached to a origin.

22 years agoi) Put back chunksize_ARG for lvcreate.
Joe Thornber [Wed, 8 May 2002 14:36:10 +0000 (14:36 +0000)]
i)  Put back chunksize_ARG for lvcreate.

22 years agoAlways call init_log() to initialise logging defaults.
Alasdair Kergon [Wed, 8 May 2002 12:26:45 +0000 (12:26 +0000)]
Always call init_log() to initialise logging defaults.

22 years agoimplement our own swabbing functions, instead of relying on the kernel's.
Andres Salomon [Tue, 7 May 2002 15:28:59 +0000 (15:28 +0000)]
implement our own swabbing functions, instead of relying on the kernel's.

22 years agolog/{prefix,command_names} use defaults.h & reset between shell cmds
Alasdair Kergon [Tue, 7 May 2002 13:00:01 +0000 (13:00 +0000)]
log/{prefix,command_names} use defaults.h & reset between shell cmds

22 years agoDefault values for some display output settings
Alasdair Kergon [Tue, 7 May 2002 12:50:01 +0000 (12:50 +0000)]
Default values for some display output settings

22 years agoTweaks
Alasdair Kergon [Tue, 7 May 2002 12:47:11 +0000 (12:47 +0000)]
Tweaks

22 years agoupdated.
Andres Salomon [Tue, 7 May 2002 06:13:03 +0000 (06:13 +0000)]
updated.

22 years agoMake lvm2 compile on big endian archs; use the kernel/glibc's endian
Andres Salomon [Tue, 7 May 2002 05:54:14 +0000 (05:54 +0000)]
Make lvm2 compile on big endian archs; use the kernel/glibc's endian
conversion stuff, instead of implementing our own.  Tested on a little
endian system (x86); I'll let the debian handle big endian testing.  :)

22 years ago o Will now correctly remove expired achive files from the system when
AJ Lewis [Fri, 3 May 2002 19:28:07 +0000 (19:28 +0000)]
 o Will now correctly remove expired achive files from the system when
   archive_vg is called.
 o Added a #define to the top of the file - not sure if this is the
   appropriate place for it though

22 years agoAdd features to get table/status & wait for next event.
Patrick Caulfield [Fri, 3 May 2002 11:55:58 +0000 (11:55 +0000)]
Add features to get table/status & wait for next event.

22 years agoforgot to add Conflicts against lvm1 packages
Andres Salomon [Fri, 3 May 2002 04:57:49 +0000 (04:57 +0000)]
forgot to add Conflicts against lvm1 packages

22 years agoupdated for 0.95.05-2.
Andres Salomon [Fri, 3 May 2002 04:43:46 +0000 (04:43 +0000)]
updated for 0.95.05-2.

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