Alasdair Kergon
20b71340bc
validate region size against page size
2006-04-28 17:25:54 +00:00
Alasdair Kergon
56a9645aa5
Tighten region size validation.
2006-04-28 15:01:39 +00:00
Alasdair Kergon
79d3492e90
Require non-zero regionsize and document parameter on lvcreate man page.
2006-04-28 13:11:05 +00:00
Alasdair Kergon
70e45ad37b
Check for libsepol.
...
Add some cflow & scope support.
Separate out DEFS from CFLAGS.
Remove inlines and use unique function names.
2006-04-19 15:33:07 +00:00
Alasdair Kergon
4790715cd3
Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
...
Add vgid to struct physical_volume and pass with vg_name to some functions.
2006-04-12 21:23:04 +00:00
Alasdair Kergon
99c941fc85
Allow signed mirrors arguments.
...
Move create_mirror_log() into toollib.
2005-11-28 21:00:37 +00:00
Alasdair Kergon
459e00c67a
preparation for parallel_areas changes to allocation code
2005-11-24 20:58:44 +00:00
Alasdair Kergon
3a32b09ad1
A missing vg_revert in an error path.
2005-11-12 22:00:50 +00:00
Alasdair Kergon
41c86b0d19
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
54c230c264
reorder commit
2005-10-28 14:38:20 +00:00
Alasdair Kergon
5471a80a96
Impose chunk size limitation.
2005-09-30 22:20:14 +00:00
Alasdair Kergon
d7b6fa9cd0
Reduce chunksize limit to 512k.
2005-09-29 15:50:51 +00:00
Alasdair Kergon
a08b85dbc8
Change LV locking macros to take lv instead of lvid.
2005-08-15 12:00:04 +00:00
Alasdair Kergon
a0aedf299a
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
3c61426844
Factor out generate_log_name_format().
2005-08-12 20:02:21 +00:00
Alasdair Kergon
786f228076
Factor out adjusted_mirror_region_size()
2005-08-12 19:23:08 +00:00
Alasdair Kergon
96be3ec22c
Move zero_lv to toollib.
2005-08-04 01:14:36 +00:00
Alasdair Kergon
48e88aba44
fix lvm1 non-mirror lvcreate
2005-06-22 14:56:14 +00:00
Alasdair Kergon
014e764758
Allow mirror images to be resized.
2005-06-03 19:48:19 +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
b2971edd7d
Start merging cloned allocation functions.
2005-05-17 13:49:45 +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
f8782ee2d7
Internal snapshot code restructuring.
2005-04-07 12:39:44 +00:00
Alasdair Kergon
6181ec4c77
add lvid to lv_create_empty
2005-04-07 12:29:46 +00:00
Alasdair Kergon
e0e7a685ef
Remove unused internal non-persistent snapshot option.
2005-04-07 12:27:57 +00:00
Alasdair Kergon
d14efacac7
Fix snapshot device size bug (since 2.01.01).
2005-01-27 15:48:49 +00:00
Alasdair Kergon
243494c25e
Store snapshot and origin sizes separately.
2005-01-19 17:19:39 +00:00
Alasdair Kergon
c494c4e12c
Fixes to lvcreate vgname processing.
2004-10-15 15:53:18 +00:00
Alasdair Kergon
47217bcfb7
Change alloc_areas to pe_ranges and allow suppression of availability checks.
2004-08-17 21:55:23 +00:00
Alasdair Kergon
359fffa5f1
Fix rounding of large displayed sizes.
2004-06-07 15:22:43 +00:00
Alasdair Kergon
ef03742bd4
Additional kernel target checks before pvmove & snapshot creation.
2004-05-24 20:51:56 +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
9bc733b76c
Push lv_create & alloc policy up to tool level.
2004-05-05 18:49:21 +00:00
Alasdair Kergon
1f93ea0675
Revise internal locking semantics.
2004-05-05 12:03:07 +00:00
Alasdair Kergon
fc5c61cc8b
Begin to separate out segment types.
2004-05-04 21:25:57 +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
0f9a03ef61
lvcreate should close the initialised snapshot device immediately.
2003-11-14 17:55:39 +00:00
Alasdair Kergon
ad30c830aa
More consistent error code usage.
2003-10-21 22:06:07 +00:00
Alasdair Kergon
75e34ea62e
Fix >32bit lvcreate size calculation.
2003-10-15 20:07:55 +00:00
Alasdair Kergon
47a2c1c6e5
Fix read-only snapshot creation.
2003-09-16 16:08:05 +00:00
Alasdair Kergon
d39c475a6d
Ensure more args aren't negative.
2003-09-15 15:04:39 +00:00
Alasdair Kergon
af89a9971e
Generalise 'invalid chars' error mesg to just say 'invalid'
2003-09-15 15:01:00 +00:00
Alasdair Kergon
8449314da2
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
8150d00f36
Don't process locked LVs
2003-05-06 12:10:18 +00:00
Alasdair Kergon
2a1eae5d6f
o Metadata area struct change.
...
o Support physical extent restrictions on PV lists for allocations
e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
2003-04-24 22:23:24 +00:00
Alasdair Kergon
b9a019a08b
Allow for specification of major number as well as minor.
2003-04-02 19:14:43 +00:00