Alasdair Kergon
0671632477
A pvresize implementation (Zak Kipling).
2005-10-31 02:37:29 +00:00
Alasdair Kergon
37bac5cdc9
Fix new mirror_seg pointer.
2005-10-27 21:51:28 +00:00
Alasdair Kergon
7212c20a1b
Fix automatic text metadata buffer expansion (using macro). [stdarg usage bug]
...
Cache formatted text metadata buffer between metadata area writes.
[improves write performance when lots of metadata area clones]
2005-10-23 00:14:48 +00:00
Alasdair Kergon
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
85f2a2e8c2
Suppress fsync() error message on filesystems that don't support it.
2005-09-01 18:37:22 +00:00
Alasdair Kergon
a0aedf299a
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
39fbb844f9
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
cc4d9676c5
Remove hard-coded 64k text metadata writing restriction.
2005-06-07 11:00:07 +00:00
Alasdair Kergon
1cf1b819f4
Make VG name restrictions consistent.
2005-06-06 18:16:33 +00:00
Alasdair Kergon
69098210be
Always insert an intermediate layer for mirrors.
...
Suppress hidden LVs from reports unless --all is given.
Use square brackets for hidden LVs in reports.
Centralise restrictions on LV names.
2005-06-03 14:49:51 +00:00
Alasdair Kergon
99df4f892d
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
0805e4e5de
Fix mem allocs after archiver code move.
2005-05-24 17:37:39 +00:00
Alasdair Kergon
c37d723692
Move archiver code from tools into library.
2005-05-17 13:46:38 +00:00
Alasdair Kergon
2cd42a6866
Remove lists of free PV segments.
...
Simplify pv_maps code and remove slow bitset algorithm.
2005-05-11 15:02:49 +00:00
Alasdair Kergon
bed2740ffd
lv_reduce tidying.
...
Remove some unnecessary parameters.
Introduce seg_is macros.
2005-05-09 16:59:01 +00:00
Alasdair Kergon
05e278afda
Don't create backup and archive dirs till needed.
2005-05-03 17:31:56 +00:00
Alasdair Kergon
87dbf462cb
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Alasdair Kergon
c87d89ffaf
extend alloc_lv_segment
2005-04-22 15:44:00 +00:00
Alasdair Kergon
0868749d42
set_lv_segment_area_pv/lv
2005-04-22 15:43:02 +00:00
Alasdair Kergon
1d40ee23f0
Initial pv_segment code.
2005-04-19 20:58:25 +00:00
Alasdair Kergon
ae356609b1
get_pv_from_vg_by_id
2005-04-17 23:57:44 +00:00
Alasdair Kergon
f8782ee2d7
Internal snapshot code restructuring.
2005-04-07 12:39:44 +00:00
Alasdair Kergon
a4cf792e6d
store snapshot id as lvid internally
2005-04-07 12:24:48 +00:00
Alasdair Kergon
e20e52a4b2
Move from 2-step to 3-step on-disk metadata commit.
2005-04-06 18:59:55 +00:00
Alasdair Kergon
5238b0241d
_vg_posn -> _find_vg_rlocn
2005-04-06 16:35:33 +00:00
Alasdair Kergon
8b6d584529
Improve detection of external changes affecting internal cache.
2005-03-21 22:40:35 +00:00
Alasdair Kergon
0a7a1eff3f
Avoid some compiler warnings.
2005-03-10 22:34:17 +00:00
Alasdair Kergon
851a2bf855
Cope with new devices appearing by rescanning /dev if a uuid can't be found.
2005-03-08 13:46:17 +00:00
Alasdair Kergon
f3593b89fa
Always fail if random id generation fails.
2005-01-20 18:11:53 +00:00
Alasdair Kergon
243494c25e
Store snapshot and origin sizes separately.
2005-01-19 17:19:39 +00:00
Alasdair Kergon
16521a6feb
pool debugging
2004-11-23 18:23:23 +00:00
Alasdair Kergon
12e5b0681b
Rename old segtypes files to segtype.
2004-09-16 18:40:56 +00:00
Alasdair Kergon
798dc9948b
Write log message when each segtype/format gets initialised.
2004-09-14 17:37:51 +00:00
Alasdair Kergon
359fffa5f1
Fix rounding of large displayed sizes.
2004-06-07 15:22:43 +00:00
Alasdair Kergon
becba8157b
Set area_count within alloc_lv_segment
2004-05-24 17:30:00 +00:00
Alasdair Kergon
fdf15caaff
Rename allocation policies; add --alloc to cmdline; LV inherits from VG.
2004-05-18 22:12:53 +00:00
Alasdair Kergon
793ad1f2d4
Add --type to lvcreate/resize.
...
Add virtual segment types, zero and error.
A large sparse device can be constructed as a writeable snapshot of a large
zero device.
2004-05-11 16:01:58 +00:00
Alasdair Kergon
353053225f
lvm2 format sets unlimited_vols format flag.
2004-05-05 18:17:48 +00:00
Alasdair Kergon
b7f3d6f7f7
Internal-only metadata flag support.
2004-05-05 18:15:47 +00:00
Alasdair Kergon
4cf8960c0c
Separate out polldaemon.
2004-05-05 17:56:20 +00:00
Alasdair Kergon
fc5c61cc8b
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
c3941941ce
Support tagged config files.
2004-05-04 18:28:15 +00:00
Alasdair Kergon
66ed5f82c4
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
8703ca623f
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
b89c4e9002
tagging
2004-03-08 17:19:15 +00:00
Alasdair Kergon
0a183d6274
Prevent creation of MDA bigger than disk.
2003-10-15 20:06:37 +00:00
Alasdair Kergon
9bb009a3fe
Extract some common functions.
2003-09-17 20:35:57 +00:00
Alasdair Kergon
8582ec724e
Improve segment merge/split code.
2003-09-15 18:22:50 +00:00
Alasdair Kergon
cd5a920ed5
vgcfgrestore -l lists backup file too
2003-09-15 15:03:22 +00:00
Alasdair Kergon
09241765d5
Some tidyups and minor fixes.
2003-08-20 15:48:27 +00:00