Alasdair Kergon
c46d20fa92
o pvcreate --uuid to specify the uuid (required before using vgcfgrestore
...
onto a new device). uuid specified must not already exist on the system.
o More message tidying.
o When checking for label, only read PV metadata.
o Add ataraid. [Needs moving into config/defaults files.]
2002-01-16 18:10:08 +00:00
Alasdair Kergon
32d94c2eaf
o Don't update vgcache when (not really) writing in test mode.
...
o Don't continue iterating through a possibly-deleted list.
2002-01-16 14:43:27 +00:00
Alasdair Kergon
687b39a12a
Remove a duplicate disk read (can_handle).
2002-01-16 13:09:26 +00:00
Patrick Caulfield
705af407bf
#include <string.h>
2002-01-16 12:02:06 +00:00
Joe Thornber
080052da2e
o Set the segment counter back to 1, for a new LV.
2002-01-16 11:34:29 +00:00
Joe Thornber
17c16dcafc
o Knock out the "'%s' is not a block device" debug message.
2002-01-16 09:23:28 +00:00
Alasdair Kergon
a89b3018fb
Reduce 'no label found' message severity to debug level.
2002-01-16 00:01:36 +00:00
Alasdair Kergon
851e2ebd32
Fix function typecasts.
2002-01-15 23:47:56 +00:00
Alasdair Kergon
1225ce7fe8
o More comprehensive config parameter debugging messages.
...
o Make /proc configurable.
o Review hard-coded "/dev"s - made 2 more of them configurable.
2002-01-15 23:34:13 +00:00
Alasdair Kergon
7e77a31b96
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
2002-01-15 21:28:04 +00:00
Joe Thornber
1f9d567b23
o vgcfgrestore works ! (with the couple of examples I tried).
2002-01-15 17:37:23 +00:00
Joe Thornber
1ca18f501a
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 *
2002-01-15 10:24:48 +00:00
Joe Thornber
098dedc092
o Non-caching implementation of new vgcache interface.
2002-01-14 11:43:52 +00:00
Joe Thornber
b06f6b9545
o LVM1 labeller.
2002-01-14 10:00:56 +00:00
Joe Thornber
ba3cb94999
o Reformat comment and correct typo.
2002-01-14 09:59:12 +00:00
Patrick Caulfield
32b46e4910
Couple of typos fixed.
2002-01-11 11:34:53 +00:00
Joe Thornber
ecf5539ed2
o Put in the pv_hash which stores the pv section name -> pv struct mapping.
2002-01-11 11:09:12 +00:00
Joe Thornber
ac9db4e4d5
o label.c now compiles.
2002-01-11 10:43:32 +00:00
Patrick Caulfield
0eb96094b0
Change lvm2_label to use Joe's new label switch system.
2002-01-11 10:39:56 +00:00
Alasdair Kergon
0092790c7d
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.
2002-01-10 23:21:07 +00:00
Joe Thornber
28909d8a51
o _read_id function for import.c
2002-01-10 18:12:26 +00:00
Alasdair Kergon
b20cfbb7b6
More steps towards successful compilation.
2002-01-10 16:48:28 +00:00
Alasdair Kergon
97639bd0a8
Add 'get' functions.
2002-01-10 16:47:58 +00:00
Alasdair Kergon
161ec73c96
More detail in error msgs.
2002-01-10 16:47:25 +00:00
Alasdair Kergon
f8b6e5b414
Clarify terminology:
...
VG is resizeable - PVs can be added or removed
PV is allocatable - free extents on it may be allocated to LVs
2002-01-10 15:09:51 +00:00
Joe Thornber
1ab450870e
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).
2002-01-10 15:01:58 +00:00
Joe Thornber
5da1f3e7c8
o vgcfgrestore.
2002-01-10 14:27:47 +00:00
Alasdair Kergon
983014952b
Temporary file creation & renaming.
2002-01-10 12:22:17 +00:00
Joe Thornber
55298019a3
o First pass at import.c. Still waiting for label code for the uuid->pv
...
mapping.
2002-01-10 11:18:08 +00:00
Joe Thornber
a1ffc3f271
o Put in the 'out of memory' log_err for pool.
2002-01-10 09:35:55 +00:00
Alasdair Kergon
2fb60aa997
Renamed to archive.c
2002-01-09 19:17:11 +00:00
Alasdair Kergon
f5ec76537a
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.
2002-01-09 19:16:48 +00:00
Alasdair Kergon
728491fd2b
Accept octal values for numbers (such as umask).
2002-01-09 18:53:07 +00:00
Joe Thornber
d9d3f2b9e4
o Let the comment wars begin.
2002-01-09 14:14:07 +00:00
Joe Thornber
0b156f22a4
o Reformat comments.
2002-01-09 13:56:11 +00:00
Alasdair Kergon
d770851ac0
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
989e7b1033
Explicitly close (=>flush) files.
2002-01-09 13:07:03 +00:00
Alasdair Kergon
c4e0eb7b49
Allow pool_begin_object in empty pool.
2002-01-09 13:06:02 +00:00
Joe Thornber
995fbc7330
o Remove anomalous punctuation.
2002-01-08 10:51:13 +00:00
Joe Thornber
10ab8949c4
o Introduction to pool for those without psychic powers.
2002-01-08 10:47:17 +00:00
Alasdair Kergon
671a13d295
Support for read-only.
2002-01-07 22:28:36 +00:00
Alasdair Kergon
14c3e2eccf
Missing close() in error case.
2002-01-07 22:25:57 +00:00
Joe Thornber
1c9606c824
o vgcreate wasn't setting vg->cmd
2002-01-07 15:27:55 +00:00
Joe Thornber
3cd47b5c9b
o New function 'merge_segments'
...
o Call said function at end of lv_extend
2002-01-07 15:08:28 +00:00
Joe Thornber
aedc729087
o tidy up renaming of archive files.
2002-01-07 14:21:33 +00:00
Joe Thornber
5f7cfa3fa9
o sync tool changes for backup stuff.
2002-01-07 11:12:11 +00:00
Joe Thornber
0083f30af5
o Added find_config_bool
2002-01-07 10:23:52 +00:00
Joe Thornber
4a06f05ef5
o Get format-text.c compiling.
2002-01-07 09:16:20 +00:00
Joe Thornber
8f37cadce8
o sync laptop to test machine.
2002-01-07 09:05:31 +00:00
Joe Thornber
55d828c35f
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