Alasdair Kergon
e408d62eaf
suspend using existing LV metadata; vgreduce then needs partial flag
2006-02-03 19:36:20 +00:00
Alasdair Kergon
b5d8ff1014
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
f0c9fe0105
Add %.so: %.a make template rule.
2006-02-02 19:16:47 +00:00
Alasdair Kergon
5e3bd86778
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
079ac15ece
vgreduce remove mirror images
...
adjust block_on_error version no detection for RHEL4U3
2006-01-04 18:09:52 +00:00
Alasdair Kergon
7a3fb6b20a
Fix dmsetup version driver version
2006-01-03 20:53:57 +00:00
Alasdair Kergon
c9dcba6b16
Add --mirrorsonly arg to vgreduce. (Doesn't handle mirrors yet.)
2005-12-21 21:21:45 +00:00
Alasdair Kergon
2e6d308465
some fixes
2005-12-21 20:24:22 +00:00
Alasdair Kergon
3fc3e48c44
vgreduce replaces active LVs with error segment before removing them.
2005-12-21 18:51:50 +00:00
Alasdair Kergon
e64934773b
Fix lvscan snapshot full display.
...
dmeventd fixes
2005-12-08 17:49:34 +00:00
Alasdair Kergon
15d91f5a68
More dmeventd support.
2005-12-02 20:35:07 +00:00
Alasdair Kergon
e2619d9ec1
more lvconvert mirror code
2005-11-29 18:20:23 +00:00
Alasdair Kergon
7424de5b77
Allow signed mirrors arguments.
...
Move create_mirror_log() into toollib.
2005-11-28 21:00:37 +00:00
Alasdair Kergon
c0a33e10ae
preparation for parallel_areas changes to allocation code
2005-11-24 20:58:44 +00:00
Alasdair Kergon
f3ce273f23
Fix lvdisplay cmdline to accept snapshots.
2005-11-23 16:16:39 +00:00
Alasdair Kergon
0636699cf9
A missing vg_revert in an error path.
2005-11-12 22:00:50 +00:00
Alasdair Kergon
b4f1578fc2
rename deptree
2005-11-09 14:10:50 +00:00
Alasdair Kergon
5f4b2acfe5
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
57a1aa48d6
missing vg_revert
2005-10-31 15:43:11 +00:00
Alasdair Kergon
3bf5f6f575
A pvresize implementation (Zak Kipling).
2005-10-31 02:37:29 +00:00
Alasdair Kergon
fea5c22b7c
reorder commit
2005-10-28 14:38:20 +00:00
Alasdair Kergon
1817dbaf60
more mirror library functions
2005-10-28 12:48:50 +00:00
Alasdair Kergon
697e09df50
also suppress error if device doesn't exist with STATUS
2005-10-26 17:50:15 +00:00
Alasdair Kergon
352a99b95a
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
ffc88f2eeb
dm_driver_version
2005-10-17 18:05:39 +00:00
Alasdair Kergon
f894b4b1b7
Attempt to load missing targets using modprobe.
...
Simplify dev_manager_info().
2005-10-17 18:00:02 +00:00
Alasdair Kergon
a653923fe7
Attempt to load missing targets using modprobe.
2005-10-17 17:56:27 +00:00
Alasdair Kergon
191abde97e
lvscan -a
2005-10-17 16:41:38 +00:00
Alasdair Kergon
2262b32057
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
a3f6b2ce79
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
3d0480ed27
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
72a444276f
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
9b02bdbce0
Refuse to run pvcreate/pvremove on devices we can't open exclusively.
2005-10-03 21:10:41 +00:00
Alasdair Kergon
9c9e30cd6d
Use ORPHAN lock definition throughout.
2005-10-03 18:16:44 +00:00
Alasdair Kergon
07c5c47875
Impose chunk size limitation.
2005-09-30 22:20:14 +00:00
Alasdair Kergon
2b96712ab7
Reduce chunksize limit to 512k.
2005-09-29 15:50:51 +00:00
Alasdair Kergon
88d2bdc668
Fix chunksize field in reports.
2005-09-23 17:06:01 +00:00
Alasdair Kergon
540b379902
Don't hide snapshots from default 'lvs' output.
2005-09-23 16:22:17 +00:00
Alasdair Kergon
ae9c3f1664
Fix yes_no_prompt() error handling.
2005-08-31 19:32:10 +00:00
Alasdair Kergon
69cfb9203b
Fix termination of getopt_long() option array.
2005-08-18 19:40:19 +00:00
Alasdair Kergon
2d9e596fe6
Move lvconvert parameters into struct lvconvert_params.
2005-08-15 14:10:28 +00:00
Alasdair Kergon
0fb173aa3a
Change LV locking macros to take lv instead of lvid.
2005-08-15 12:00:04 +00:00
Alasdair Kergon
07d318310b
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +00:00
Alasdair Kergon
fb9d44daf1
Factor out generate_log_name_format().
2005-08-12 20:02:21 +00:00
Alasdair Kergon
bfd31e94d5
Factor out adjusted_mirror_region_size()
2005-08-12 19:23:08 +00:00
Alasdair Kergon
190f6945ee
Fix lvconvert PV parameter in help string.
2005-08-04 01:50:17 +00:00
Alasdair Kergon
a9b5af1d62
Move zero_lv to toollib.
2005-08-04 01:14:36 +00:00
Alasdair Kergon
a7c3ee3805
Fix dmsetup ls -j and status --target with empty table.
2005-07-29 16:11:23 +00:00
Alasdair Kergon
f1a8b66758
fix lvm1 non-mirror lvcreate
2005-06-22 14:56:14 +00:00
Alasdair Kergon
5e947dac48
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00