Alasdair Kergon
1cf1b819f4
Make VG name restrictions consistent.
2005-06-06 18:16:33 +00:00
Alasdair Kergon
f916c66d2b
Introduce lvconvert. So far only removes mirror images.
2005-06-06 17:12:08 +00:00
Alasdair Kergon
550aa86b45
prevent active mirror resize for now
2005-06-03 22:26:09 +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
8a74ce578d
Fix non-orphan pvchange -u.
2005-05-24 17:38:26 +00:00
Alasdair Kergon
7d3d3d0a3a
Fix vgmerge to handle duplicate LVIDs.
2005-05-19 16:48:51 +00:00
Alasdair Kergon
b2971edd7d
Start merging cloned allocation functions.
2005-05-17 13:49:45 +00:00
Alasdair Kergon
c37d723692
Move archiver code from tools into library.
2005-05-17 13:46:38 +00:00
Alasdair Kergon
30f9026e1d
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.
2005-05-17 13:44:02 +00:00
Alasdair Kergon
332286072e
Add dmsetup ls --exec.
2005-05-16 20:46:46 +00:00
Alasdair Kergon
d6da172a2a
Add --target to dmsetup ls.
2005-05-16 16:04:34 +00:00
Alasdair Kergon
ebfe584afc
Call dm_lib_exit() and dm_lib_release() automatically now.
2005-05-16 15:15:34 +00:00
Alasdair Kergon
6250023583
Add --target <target_type> filter to dmsetup table/status.
...
Fix dmsetup getopt_long usage.
2005-05-16 14:53:23 +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
1d40ee23f0
Initial pv_segment code.
2005-04-19 20:58:25 +00:00
Alasdair Kergon
775bb413b3
vgchange --physicalextentsize (but only if it's an exact fit - may need to
...
use pvmove first)
2005-04-18 14:56:42 +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
89109ded53
Allow offline extension of snapshot volumes.
...
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
a99b2ce167
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
7f18a1ffe0
Add --ignorelockingfailure to vgmknodes.
2005-04-04 14:44:49 +00:00
Alasdair Kergon
756731fc02
Drop-in devmap_name replacement.
2005-03-27 11:37:46 +00:00
Alasdair Kergon
cdd0d3351a
Add clustered attribute so vgchange can identify clustered VGs w/o locking.
2005-03-21 22:55:12 +00:00
Alasdair Kergon
8b6d584529
Improve detection of external changes affecting internal cache.
2005-03-21 22:40:35 +00:00
Alasdair Kergon
b26e1be81a
Add -a to pvdisplay -C.
2005-03-21 14:47:36 +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
e0bdde3630
Remove DESTDIR from LVM_SHARED_PATH.
2005-03-08 13:39:39 +00:00
Alasdair Kergon
0fb114dede
Option to suppress warnings of file descriptors left open.
2005-03-03 22:09:20 +00:00
Alasdair Kergon
168baef433
Static binary invokes dynamic binary if appropriate.
2005-02-18 18:58:31 +00:00
Alasdair Kergon
cd2eac1032
lvm2cmd.so should skip the check for open fds.
2005-02-03 16:34:53 +00:00
Alasdair Kergon
8ac38d58d7
Remove unused -f from pvmove
2005-02-02 14:31:48 +00:00
Alasdair Kergon
d14efacac7
Fix snapshot device size bug (since 2.01.01).
2005-01-27 15:48:49 +00:00
Alasdair Kergon
f3593b89fa
Always fail if random id generation fails.
2005-01-20 18:11:53 +00:00
Alasdair Kergon
5457c133e1
Add some comments.
2005-01-19 17:31:51 +00:00
Alasdair Kergon
292e588ee3
move recover_vg
2005-01-19 17:30:50 +00:00
Alasdair Kergon
243494c25e
Store snapshot and origin sizes separately.
2005-01-19 17:19:39 +00:00
Alasdair Kergon
8aea44e77b
Fix vgscan metadata auto-correction.
2005-01-17 18:24:28 +00:00
Alasdair Kergon
369549d23f
Only ask libdevmapper for open_count when we need it.
2005-01-12 22:58:21 +00:00
Alasdair Kergon
181ea9a381
Add dm_task_no_open_count() to skip getting open_count.
2005-01-12 22:10:14 +00:00
Alasdair Kergon
4661ab1179
pvcreate wipes first 4 sectors unless given --zero n.
2005-01-05 17:25:25 +00:00
Alasdair Kergon
3991f03202
Fix an error fprintf.
2004-12-22 21:47:31 +00:00
Alasdair Kergon
27271d5da7
Fix vgdisplay -s. Breaks (undocumented) lvs/pvs/vgs -s instead for now.
2004-12-21 21:40:36 +00:00
Alasdair Kergon
9a635f0686
Fix pvchange -x segfault with lvm2-format orphan.
2004-12-21 16:12:02 +00:00