]>
sourceware.org Git - lvm2.git/log
Joe Thornber [Wed, 16 Jan 2002 09:23:28 +0000 (09:23 +0000)]
o Knock out the "'%s' is not a block device" debug message.
Alasdair Kergon [Wed, 16 Jan 2002 00:01:36 +0000 (00:01 +0000)]
Reduce 'no label found' message severity to debug level.
Alasdair Kergon [Tue, 15 Jan 2002 23:47:56 +0000 (23:47 +0000)]
Fix function typecasts.
Alasdair Kergon [Tue, 15 Jan 2002 23:34:13 +0000 (23:34 +0000)]
o More comprehensive config parameter debugging messages.
o Make /proc configurable.
o Review hard-coded "/dev"s - made 2 more of them configurable.
Alasdair Kergon [Tue, 15 Jan 2002 21:28:04 +0000 (21:28 +0000)]
o missing labeller free
o updated vgcfgrestore args
o change _check_for_open_devices only to check devices present in the hash
table instead of using dev_iter which triggers a full scan even when only
displaying command line help
Joe Thornber [Tue, 15 Jan 2002 18:17:57 +0000 (18:17 +0000)]
o Actually check in vgcfgrestore.
Joe Thornber [Tue, 15 Jan 2002 17:37:23 +0000 (17:37 +0000)]
o vgcfgrestore works ! (with the couple of examples I tried).
Alasdair Kergon [Tue, 15 Jan 2002 15:21:57 +0000 (15:21 +0000)]
Another ioctl interface update:
Supply offset to start of variable data area (so struct size can change
without breaking backward compatibility)
Add command that just returns the driver version
Joe Thornber [Tue, 15 Jan 2002 10:24:48 +0000 (10:24 +0000)]
o split the uuid -> device map out from vgcache
o roll vgcache back to agk's implementation, we'll revisit this as part
of the cluster integration.
o change the extra_info field in a label to be a void *
Alasdair Kergon [Mon, 14 Jan 2002 23:07:32 +0000 (23:07 +0000)]
Some ioctl interface changes. (Do we want these?)
- use status bits (so we can add flags without changing the struct size)
- use dev_t
Joe Thornber [Mon, 14 Jan 2002 11:43:52 +0000 (11:43 +0000)]
o Non-caching implementation of new vgcache interface.
Joe Thornber [Mon, 14 Jan 2002 10:00:56 +0000 (10:00 +0000)]
o LVM1 labeller.
Joe Thornber [Mon, 14 Jan 2002 09:59:12 +0000 (09:59 +0000)]
o Reformat comment and correct typo.
Alasdair Kergon [Fri, 11 Jan 2002 12:12:46 +0000 (12:12 +0000)]
o Add rename support to dmsetup.
o Add support to use specified minor number to library and dmsetup.
Patrick Caulfield [Fri, 11 Jan 2002 11:34:53 +0000 (11:34 +0000)]
Couple of typos fixed.
Joe Thornber [Fri, 11 Jan 2002 11:09:12 +0000 (11:09 +0000)]
o Put in the pv_hash which stores the pv section name -> pv struct mapping.
Joe Thornber [Fri, 11 Jan 2002 10:43:32 +0000 (10:43 +0000)]
o label.c now compiles.
Patrick Caulfield [Fri, 11 Jan 2002 10:39:56 +0000 (10:39 +0000)]
Change lvm2_label to use Joe's new label switch system.
Alasdair Kergon [Thu, 10 Jan 2002 23:29:16 +0000 (23:29 +0000)]
Support the renaming of active mapped devices (ioctl interface only).
Alasdair Kergon [Thu, 10 Jan 2002 23:21:07 +0000 (23:21 +0000)]
o ACTIVE is no longer a status flag - lv_active() used to check if an LV
is active in the device-mapper.
o Many operations can be carried out regardless of whether the VG is
active or not.
o vgscan does not activate anything - use vgchange.
o Change lvrename to support renaming of active LVs.
o Remove '//' appearing in some pathnames.
o Dummy lv_check_segments() for compilation.
Joe Thornber [Thu, 10 Jan 2002 18:12:26 +0000 (18:12 +0000)]
o _read_id function for import.c
Alasdair Kergon [Thu, 10 Jan 2002 16:48:28 +0000 (16:48 +0000)]
More steps towards successful compilation.
Alasdair Kergon [Thu, 10 Jan 2002 16:47:58 +0000 (16:47 +0000)]
Add 'get' functions.
Alasdair Kergon [Thu, 10 Jan 2002 16:47:25 +0000 (16:47 +0000)]
More detail in error msgs.
Alasdair Kergon [Thu, 10 Jan 2002 16:47:04 +0000 (16:47 +0000)]
Separate constant fields from variable ones.
Alasdair Kergon [Thu, 10 Jan 2002 15:09:51 +0000 (15:09 +0000)]
Clarify terminology:
VG is resizeable - PVs can be added or removed
PV is allocatable - free extents on it may be allocated to LVs
Joe Thornber [Thu, 10 Jan 2002 15:01:58 +0000 (15:01 +0000)]
o Moved the current label.[hc] sideways to lvm2_label.[hc]
o First pass at low level labelling switch. This allows us to
register different label types (eg, lvm1, lvm2).
Alasdair Kergon [Thu, 10 Jan 2002 14:46:50 +0000 (14:46 +0000)]
Allow for multiple spellings / backwards compatibility of renamed
command line options.
vgchange --resizeable y
pvchange --allocatable y
But --allocation is still allowed for both (as LVM1) and --resizable is OK.
Joe Thornber [Thu, 10 Jan 2002 14:27:47 +0000 (14:27 +0000)]
o vgcfgrestore.
Alasdair Kergon [Thu, 10 Jan 2002 12:22:17 +0000 (12:22 +0000)]
Temporary file creation & renaming.
Joe Thornber [Thu, 10 Jan 2002 11:18:08 +0000 (11:18 +0000)]
o First pass at import.c. Still waiting for label code for the uuid->pv
mapping.
Joe Thornber [Thu, 10 Jan 2002 09:35:55 +0000 (09:35 +0000)]
o Put in the 'out of memory' log_err for pool.
Alasdair Kergon [Wed, 9 Jan 2002 19:17:11 +0000 (19:17 +0000)]
Renamed to archive.c
Alasdair Kergon [Wed, 9 Jan 2002 19:16:48 +0000 (19:16 +0000)]
o Rename many occurrences of 'backup' to 'archive' to reduce confusion.
o Extract file creation/renaming code into a library and change backup code
to use it too.
o Support umask.
o Bring lvm.conf man page up-to-date.
Alasdair Kergon [Wed, 9 Jan 2002 18:53:07 +0000 (18:53 +0000)]
Accept octal values for numbers (such as umask).
Joe Thornber [Wed, 9 Jan 2002 14:14:07 +0000 (14:14 +0000)]
o Let the comment wars begin.
Joe Thornber [Wed, 9 Jan 2002 14:07:49 +0000 (14:07 +0000)]
o new function backup_remove(const char *vg_name), to be called from vgremove.
Joe Thornber [Wed, 9 Jan 2002 13:56:11 +0000 (13:56 +0000)]
o Reformat comments.
Alasdair Kergon [Wed, 9 Jan 2002 13:17:14 +0000 (13:17 +0000)]
Add archiving.
Alasdair Kergon [Wed, 9 Jan 2002 13:16:19 +0000 (13:16 +0000)]
o Try to improve NFS-safety for temporary file creation (unique name; O_APPEND
+ fcntl lock) and rename (using hard link), avoiding any "real" archive
files ever being zero length.
o Fix filename parsing & ordered list handling.
Alasdair Kergon [Wed, 9 Jan 2002 13:07:03 +0000 (13:07 +0000)]
Explicitly close (=>flush) files.
Alasdair Kergon [Wed, 9 Jan 2002 13:06:02 +0000 (13:06 +0000)]
Allow pool_begin_object in empty pool.
Alasdair Kergon [Tue, 8 Jan 2002 19:17:08 +0000 (19:17 +0000)]
Another attempt to support both readline versions.
Alasdair Kergon [Tue, 8 Jan 2002 18:14:04 +0000 (18:14 +0000)]
call archive_exit() & backup_exit() on exit
Joe Thornber [Tue, 8 Jan 2002 10:51:13 +0000 (10:51 +0000)]
o Remove anomalous punctuation.
Joe Thornber [Tue, 8 Jan 2002 10:47:17 +0000 (10:47 +0000)]
o Introduction to pool for those without psychic powers.
Alasdair Kergon [Mon, 7 Jan 2002 23:28:25 +0000 (23:28 +0000)]
fixes for compilation
Alasdair Kergon [Mon, 7 Jan 2002 23:04:48 +0000 (23:04 +0000)]
Sync.
Alasdair Kergon [Mon, 7 Jan 2002 22:49:04 +0000 (22:49 +0000)]
Sync tidy.
Alasdair Kergon [Mon, 7 Jan 2002 22:36:12 +0000 (22:36 +0000)]
If a device somehow became suspended, lvchange -ay now reactivates it.
Alasdair Kergon [Mon, 7 Jan 2002 22:28:36 +0000 (22:28 +0000)]
Support for read-only.
Alasdair Kergon [Mon, 7 Jan 2002 22:25:57 +0000 (22:25 +0000)]
Missing close() in error case.
Alasdair Kergon [Mon, 7 Jan 2002 22:01:50 +0000 (22:01 +0000)]
tidying
Joe Thornber [Mon, 7 Jan 2002 15:27:55 +0000 (15:27 +0000)]
o vgcreate wasn't setting vg->cmd
Joe Thornber [Mon, 7 Jan 2002 15:08:28 +0000 (15:08 +0000)]
o New function 'merge_segments'
o Call said function at end of lv_extend
Joe Thornber [Mon, 7 Jan 2002 14:21:33 +0000 (14:21 +0000)]
o tidy up renaming of archive files.
Joe Thornber [Mon, 7 Jan 2002 11:12:11 +0000 (11:12 +0000)]
o sync tool changes for backup stuff.
Joe Thornber [Mon, 7 Jan 2002 10:23:52 +0000 (10:23 +0000)]
o Added find_config_bool
Joe Thornber [Mon, 7 Jan 2002 09:16:20 +0000 (09:16 +0000)]
o Get format-text.c compiling.
Joe Thornber [Mon, 7 Jan 2002 09:05:31 +0000 (09:05 +0000)]
o sync laptop to test machine.
Alasdair Kergon [Fri, 4 Jan 2002 20:35:19 +0000 (20:35 +0000)]
Imported man pages from LVM1 with some quick LVM2 updates.
Alasdair Kergon [Fri, 4 Jan 2002 18:56:56 +0000 (18:56 +0000)]
The start of an lvm man page.
Alasdair Kergon [Fri, 4 Jan 2002 17:49:38 +0000 (17:49 +0000)]
Document remaining configuration file parameters.
Joe Thornber [Fri, 4 Jan 2002 16:55:14 +0000 (16:55 +0000)]
o Revert to the 6-4-4-4-4-4-6 format for uuid's
o When reading a uuid all -'s are stripped, wherever they are.
Alasdair Kergon [Thu, 3 Jan 2002 17:47:48 +0000 (17:47 +0000)]
Put device name in quotes.
Joe Thornber [Thu, 3 Jan 2002 15:46:48 +0000 (15:46 +0000)]
o High level archiving and backup functions.
I've split the old autobackup function into two seperate areas:
'archiving' is performed *before* a vg configuration is changed. This
produces a numbered backup in /etc/lvm/archive.
A 'backup' is performed *after* a vg change. So the directory /etc/lvm/backup
will hold the a copy of the current configuration.
Alasdair Kergon [Thu, 3 Jan 2002 15:12:02 +0000 (15:12 +0000)]
stub for read-only functions with fs interface
Alasdair Kergon [Thu, 3 Jan 2002 12:43:01 +0000 (12:43 +0000)]
Fix final comma in arrays.
Alasdair Kergon [Thu, 3 Jan 2002 12:39:04 +0000 (12:39 +0000)]
*** empty log message ***
Joe Thornber [Thu, 3 Jan 2002 10:39:21 +0000 (10:39 +0000)]
o Added -r, --read-only switch to dmsetup for use with create and reload.
Alasdair Kergon [Wed, 2 Jan 2002 19:01:09 +0000 (19:01 +0000)]
o Allow the definition of read-only devices (ioctl interface only) (Joe)
o Add version number to ioctl structure with error on kernel/library mismatch
Joe Thornber [Wed, 2 Jan 2002 17:54:57 +0000 (17:54 +0000)]
o Added section on the syntax of the config file, with an informal grammar.
Alasdair Kergon [Wed, 2 Jan 2002 14:23:10 +0000 (14:23 +0000)]
Fix $DESTDIR support
Alasdair Kergon [Wed, 2 Jan 2002 13:40:49 +0000 (13:40 +0000)]
Tidy makefiles - $DESTDIR & shared library version (like LVM1)
Alasdair Kergon [Mon, 31 Dec 2001 22:12:03 +0000 (22:12 +0000)]
Add test mode parm.
Alasdair Kergon [Mon, 31 Dec 2001 21:27:39 +0000 (21:27 +0000)]
o Add autobackup support to tools (follows most vg_write calls).
o Skip autobackup when in test mode.
o Set test mode from config file.
o Create system/backup dirs if not present (unless LVM_SYSTEM_DIR holds "").
Alasdair Kergon [Mon, 31 Dec 2001 19:18:44 +0000 (19:18 +0000)]
vgcache.h inclusion (avoid compiler warning)
Alasdair Kergon [Mon, 31 Dec 2001 19:09:51 +0000 (19:09 +0000)]
o Use lvm_snprintf wherever return value is used
o Add parameters to set retention limits for backups
Alasdair Kergon [Mon, 31 Dec 2001 17:34:51 +0000 (17:34 +0000)]
Remove some old files.
Alasdair Kergon [Mon, 31 Dec 2001 17:26:42 +0000 (17:26 +0000)]
Redundant.
Alasdair Kergon [Mon, 31 Dec 2001 17:20:22 +0000 (17:20 +0000)]
Document lvm.conf fields
Alasdair Kergon [Mon, 31 Dec 2001 16:12:40 +0000 (16:12 +0000)]
Outline docs
Alasdair Kergon [Mon, 31 Dec 2001 15:20:18 +0000 (15:20 +0000)]
o Allow more default values to be overridden from config file.
o Cope with both the readline versions used around here.
Alasdair Kergon [Mon, 31 Dec 2001 15:17:34 +0000 (15:17 +0000)]
Fix C99 error case handling (snprintf ret value >= buffer size).
Alasdair Kergon [Mon, 31 Dec 2001 15:14:44 +0000 (15:14 +0000)]
Fixes for compilation.
Alasdair Kergon [Mon, 31 Dec 2001 15:13:42 +0000 (15:13 +0000)]
Remove unused --with_kernel_dir
Current version of LVM2 instead relies on /usr/include/libdevmapper.h
which gets installed by the device mapper package.
(Should this location now be configurable?)
Alasdair Kergon [Thu, 20 Dec 2001 20:32:14 +0000 (20:32 +0000)]
Revised ioctl/dmfs merge with fixes for bugs found in tests.
Joe Thornber [Thu, 20 Dec 2001 16:05:14 +0000 (16:05 +0000)]
o Added a quick vgcfgbackup, needs parameters as yet.
Joe Thornber [Thu, 20 Dec 2001 12:27:41 +0000 (12:27 +0000)]
o Debug version of the pool_grow stuff.
Joe Thornber [Thu, 20 Dec 2001 11:52:54 +0000 (11:52 +0000)]
o sync backup changes
Patrick Caulfield [Tue, 18 Dec 2001 14:39:32 +0000 (14:39 +0000)]
Wipe the first label if writing the second one failed.
Joe Thornber [Mon, 17 Dec 2001 19:46:10 +0000 (19:46 +0000)]
o sync the backup stuff
Joe Thornber [Mon, 17 Dec 2001 17:59:58 +0000 (17:59 +0000)]
o history is now saved in ~/.lvm_history
Joe Thornber [Mon, 17 Dec 2001 17:18:47 +0000 (17:18 +0000)]
o Shuffled completion functions around so we dont have to declare them
at the top of the file.
o Changed completion_matches -> rl_completion_matches, and added some consts.
This will probably break things on pre readline 4.2 systems.
Joe Thornber [Mon, 17 Dec 2001 16:58:17 +0000 (16:58 +0000)]
o Changed the macro name in args.h from 'xx' to 'arg'
o There is now a _default_debug, and _default_verbose level, when
using lvm interactively -vv and -dd switches just effect the current
command.
o Added a --quiet switch which sets both verbose and debug to zero.
Joe Thornber [Mon, 17 Dec 2001 14:05:43 +0000 (14:05 +0000)]
o Use lvm_snprintf
Joe Thornber [Mon, 17 Dec 2001 14:04:33 +0000 (14:04 +0000)]
o Add symlink for lvm-string.h
Joe Thornber [Mon, 17 Dec 2001 14:04:10 +0000 (14:04 +0000)]
o lvm_snprintf
Could everyone please use this from now on.
Joe Thornber [Mon, 17 Dec 2001 12:01:09 +0000 (12:01 +0000)]
o Remove LVM_CONFIG_FILE environment variable.
o Introduced the LVM_SYSTEM_DIR variable.
This makes more sense because the persistent cache, and backup directories
are config specific.
eg, I use /etc/lvm for running my real LV's
but I have another directory /dev/lvm_loops that contains a config
that allows only loopback devices, I use this for testing.
Heinz Mauelshagen [Mon, 17 Dec 2001 11:07:33 +0000 (11:07 +0000)]
Typos in error messages
This page took 0.062818 seconds and 5 git commands to generate.