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
db924da231
vgrename accepts vgid and exported VG.
2006-04-13 21:08:29 +00:00
Alasdair Kergon
fc55ae7e6d
Add --partial to pvs.
2006-04-13 17:51:40 +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
8d16a0abad
lv_is_visible()
2006-04-07 17:41:56 +00:00
Alasdair Kergon
c974b97ca3
missing vg_name initialisation
2006-04-07 14:14:31 +00:00
Alasdair Kergon
30323b253f
Bring dmsetup man page up-to-date.
2006-04-06 16:20:40 +00:00
Alasdair Kergon
535c3ede96
more snapshot code tidying
2006-04-06 14:06:27 +00:00
Alasdair Kergon
89fed8ca33
Introduce origin_from_cow()
2006-04-06 13:39:16 +00:00
Alasdair Kergon
f43c77aaed
pvremove without -f now fails if there's no PV label.
2006-04-05 22:24:16 +00:00
Alasdair Kergon
96c676b371
Support lvconvert -s.
2006-04-05 20:43:23 +00:00
Alasdair Kergon
702f5f1f4c
Remove an incorrect unlock_vg() from process_each_lv().
2006-03-10 15:41:04 +00:00
Alasdair Kergon
ed43dc842b
A setgeometry implementation. [untested]
2006-02-20 23:55:58 +00:00
Alasdair Kergon
a7b98dfe25
suspend using existing LV metadata; vgreduce then needs partial flag
2006-02-03 19:36:20 +00:00
Alasdair Kergon
ed036598a9
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
160bb70cdf
Add %.so: %.a make template rule.
2006-02-02 19:16:47 +00:00
Alasdair Kergon
d031a374f9
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
221ac1c208
vgreduce remove mirror images
...
adjust block_on_error version no detection for RHEL4U3
2006-01-04 18:09:52 +00:00
Alasdair Kergon
96f259726c
Fix dmsetup version driver version
2006-01-03 20:53:57 +00:00
Alasdair Kergon
d5a3559a2f
Add --mirrorsonly arg to vgreduce. (Doesn't handle mirrors yet.)
2005-12-21 21:21:45 +00:00
Alasdair Kergon
114a1c7f52
some fixes
2005-12-21 20:24:22 +00:00
Alasdair Kergon
1a575d926f
vgreduce replaces active LVs with error segment before removing them.
2005-12-21 18:51:50 +00:00
Alasdair Kergon
d02203060c
Fix lvscan snapshot full display.
...
dmeventd fixes
2005-12-08 17:49:34 +00:00
Alasdair Kergon
e5a543e283
More dmeventd support.
2005-12-02 20:35:07 +00:00
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