Alasdair Kergon
89f1e3ddf0
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.
2002-01-09 13:16:19 +00:00
Alasdair Kergon
d413c0ce38
Explicitly close (=>flush) files.
2002-01-09 13:07:03 +00:00
Alasdair Kergon
67fb2a39a7
Allow pool_begin_object in empty pool.
2002-01-09 13:06:02 +00:00
Alasdair Kergon
83912faa1d
Another attempt to support both readline versions.
2002-01-08 19:17:08 +00:00
Alasdair Kergon
8deaf0d253
call archive_exit() & backup_exit() on exit
2002-01-08 18:14:04 +00:00
Joe Thornber
145eef414b
o Remove anomalous punctuation.
2002-01-08 10:51:13 +00:00
Joe Thornber
18ce960755
o Introduction to pool for those without psychic powers.
2002-01-08 10:47:17 +00:00
Alasdair Kergon
ae21c2cc8b
fixes for compilation
2002-01-07 23:28:25 +00:00
Alasdair Kergon
ea5b424e04
Sync.
2002-01-07 23:04:48 +00:00
Alasdair Kergon
372a431135
Sync tidy.
2002-01-07 22:49:04 +00:00
Alasdair Kergon
12e8972ba1
If a device somehow became suspended, lvchange -ay now reactivates it.
2002-01-07 22:36:12 +00:00
Alasdair Kergon
2bc25b546a
Support for read-only.
2002-01-07 22:28:36 +00:00
Alasdair Kergon
75e5ea90c2
Missing close() in error case.
2002-01-07 22:25:57 +00:00
Alasdair Kergon
3daa9f6e53
tidying
2002-01-07 22:01:50 +00:00
Joe Thornber
5a72a50367
o vgcreate wasn't setting vg->cmd
2002-01-07 15:27:55 +00:00
Joe Thornber
16ab7a0da2
o New function 'merge_segments'
...
o Call said function at end of lv_extend
2002-01-07 15:08:28 +00:00
Joe Thornber
f5549805b6
o tidy up renaming of archive files.
2002-01-07 14:21:33 +00:00
Joe Thornber
197c3f2ab4
o sync tool changes for backup stuff.
2002-01-07 11:12:11 +00:00
Joe Thornber
330c46317c
o Added find_config_bool
2002-01-07 10:23:52 +00:00
Joe Thornber
3eb1b74b29
o Get format-text.c compiling.
2002-01-07 09:16:20 +00:00
Joe Thornber
e59204fc22
o sync laptop to test machine.
2002-01-07 09:05:31 +00:00
Alasdair Kergon
922ce479b4
Imported man pages from LVM1 with some quick LVM2 updates.
2002-01-04 20:35:19 +00:00
Alasdair Kergon
136e98d26e
The start of an lvm man page.
2002-01-04 18:56:56 +00:00
Alasdair Kergon
d315fcb94a
Document remaining configuration file parameters.
2002-01-04 17:49:38 +00:00
Joe Thornber
9640f93d8c
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.
2002-01-04 16:55:14 +00:00
Alasdair Kergon
b94703a187
Put device name in quotes.
2002-01-03 17:47:48 +00:00
Joe Thornber
6e16088e24
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.
2002-01-03 15:46:48 +00:00
Alasdair Kergon
eefe4b2097
stub for read-only functions with fs interface
2002-01-03 15:12:02 +00:00
Alasdair Kergon
5671fce111
Fix final comma in arrays.
2002-01-03 12:43:01 +00:00
Alasdair Kergon
756668473c
*** empty log message ***
2002-01-03 12:39:04 +00:00
Joe Thornber
f17673f1d0
o Added -r, --read-only switch to dmsetup for use with create and reload.
2002-01-03 10:39:21 +00:00
Alasdair Kergon
f1568304e0
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
2002-01-02 19:01:09 +00:00
Joe Thornber
ba57d1f89b
o Added section on the syntax of the config file, with an informal grammar.
2002-01-02 17:54:57 +00:00
Alasdair Kergon
470933a480
Fix $DESTDIR support
2002-01-02 14:23:10 +00:00
Alasdair Kergon
48b512b964
Tidy makefiles - $DESTDIR & shared library version (like LVM1)
2002-01-02 13:40:49 +00:00
Alasdair Kergon
43693cbeb8
Add test mode parm.
2001-12-31 22:12:03 +00:00
Alasdair Kergon
cc21948339
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 "").
2001-12-31 21:27:39 +00:00
Alasdair Kergon
129c5d50a1
vgcache.h inclusion (avoid compiler warning)
2001-12-31 19:18:44 +00:00
Alasdair Kergon
41b2fd5f4d
o Use lvm_snprintf wherever return value is used
...
o Add parameters to set retention limits for backups
2001-12-31 19:09:51 +00:00
Alasdair Kergon
4624c6f845
Remove some old files.
2001-12-31 17:34:51 +00:00
Alasdair Kergon
67e4897b2c
Redundant.
2001-12-31 17:26:42 +00:00
Alasdair Kergon
ef91884ba8
Document lvm.conf fields
2001-12-31 17:20:22 +00:00
Alasdair Kergon
ab7193d15e
Outline docs
2001-12-31 16:12:40 +00:00
Alasdair Kergon
529d473095
o Allow more default values to be overridden from config file.
...
o Cope with both the readline versions used around here.
2001-12-31 15:20:18 +00:00
Alasdair Kergon
6c94692bc6
Fix C99 error case handling (snprintf ret value >= buffer size).
2001-12-31 15:17:34 +00:00
Alasdair Kergon
52f71ce77b
Fixes for compilation.
2001-12-31 15:14:44 +00:00
Alasdair Kergon
4b4035101b
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?)
2001-12-31 15:13:42 +00:00
Alasdair Kergon
9737eb0f94
Revised ioctl/dmfs merge with fixes for bugs found in tests.
2001-12-20 20:32:14 +00:00
Joe Thornber
2041d905a9
o Added a quick vgcfgbackup, needs parameters as yet.
2001-12-20 16:05:14 +00:00
Joe Thornber
493793dcbc
o Debug version of the pool_grow stuff.
2001-12-20 12:27:41 +00:00