Alasdair Kergon
1ccc39962a
more lvconvert mirror code
2005-11-29 18:20:23 +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
699e1c75ce
Fix lvdisplay cmdline to accept snapshots.
2005-11-23 16:16:39 +00:00
Alasdair Kergon
3a32b09ad1
A missing vg_revert in an error path.
2005-11-12 22:00:50 +00:00
Alasdair Kergon
0b43754d60
rename deptree
2005-11-09 14:10:50 +00:00
Alasdair Kergon
41c86b0d19
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
e4c4451482
missing vg_revert
2005-10-31 15:43:11 +00:00
Alasdair Kergon
0671632477
A pvresize implementation (Zak Kipling).
2005-10-31 02:37:29 +00:00
Alasdair Kergon
54c230c264
reorder commit
2005-10-28 14:38:20 +00:00
Alasdair Kergon
64ba878eda
more mirror library functions
2005-10-28 12:48:50 +00:00
Alasdair Kergon
edcb28d591
also suppress error if device doesn't exist with STATUS
2005-10-26 17:50:15 +00:00
Alasdair Kergon
bcc400dafa
Use dm_is_dm_major instead of local copy.
...
Allow mapped devices to be used as PVs safely.
2005-10-25 19:08:21 +00:00
Alasdair Kergon
e8af32ec2b
dm_driver_version
2005-10-17 18:05:39 +00:00
Alasdair Kergon
e092ce51f6
Attempt to load missing targets using modprobe.
...
Simplify dev_manager_info().
2005-10-17 18:00:02 +00:00
Alasdair Kergon
7b78edb1b7
Attempt to load missing targets using modprobe.
2005-10-17 17:56:27 +00:00
Alasdair Kergon
b332e7090e
lvscan -a
2005-10-17 16:41:38 +00:00
Alasdair Kergon
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
251d138474
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
f569abd28a
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
088f9687c0
Add dmsetup --nolockfs support for suspend/reload.
...
Requires kernel patches to have any effect.
Library version incremented.
2005-10-04 20:12:32 +00:00
Alasdair Kergon
e23df1f07a
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
c818540dfd
Use ORPHAN lock definition throughout.
2005-10-03 18:16:44 +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
05f65c38e6
Fix chunksize field in reports.
2005-09-23 17:06:01 +00:00
Alasdair Kergon
2e9d062ec0
Don't hide snapshots from default 'lvs' output.
2005-09-23 16:22:17 +00:00
Alasdair Kergon
584b3e6642
Fix yes_no_prompt() error handling.
2005-08-31 19:32:10 +00:00
Alasdair Kergon
aa16a9098d
Fix termination of getopt_long() option array.
2005-08-18 19:40:19 +00:00
Alasdair Kergon
0fd2479b7c
Move lvconvert parameters into struct lvconvert_params.
2005-08-15 14:10:28 +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
3af327116a
Fix lvconvert PV parameter in help string.
2005-08-04 01:50:17 +00:00
Alasdair Kergon
96be3ec22c
Move zero_lv to toollib.
2005-08-04 01:14:36 +00:00
Alasdair Kergon
7666ed57d1
Fix dmsetup ls -j and status --target with empty table.
2005-07-29 16:11:23 +00:00
Alasdair Kergon
48e88aba44
fix lvm1 non-mirror lvcreate
2005-06-22 14:56:14 +00:00
Alasdair Kergon
39fbb844f9
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
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