Alasdair Kergon
ead252fee4
Add mirror_library description to example.conf.
...
More compile-time cleanup.
2006-05-11 17:58:58 +00:00
Alasdair Kergon
2f7d2477b6
_register_dev_for_events to return error on failure
2006-04-28 14:06:06 +00:00
Alasdair Kergon
535c3ede96
more snapshot code tidying
2006-04-06 14:06:27 +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
175b3b0834
When suspending, dmeventd deregistration needs to use existing details
...
not precommitted ones.
2006-01-27 20:39:37 +00:00
Alasdair Kergon
0d603cfe9c
Rename register_dev; fix missing initialisation; reduce number of ifdefs.
2006-01-27 18:38:14 +00:00
Alasdair Kergon
4936efba5e
Always print warning if activation is disabled.
2005-12-22 16:13:38 +00:00
Alasdair Kergon
966d608dc5
Set block_on_error parameter if available.
...
Add target_version.
2005-12-19 21:01:39 +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
41c86b0d19
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
4be598f865
Clear up precommitted metadata better on disk after use.
...
[Some activation-related features will stop working for a while now.
Some types of activation are getting split into two steps, with the
first step using the precommitted metadata.]
2005-10-31 20:15:28 +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
f6ee160e66
Add 'LVM-' prefix to uuids.
2005-10-19 13:59:18 +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
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
a0aedf299a
Prepare tools to support clustered mirrors.
2005-08-14 23:18:28 +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
369549d23f
Only ask libdevmapper for open_count when we need it.
2005-01-12 22:58:21 +00:00
Alasdair Kergon
a3823f818e
update comment
2004-05-11 18:18:14 +00:00
Alasdair Kergon
ec53c365a2
Only include visible LVs in active/open counts.
2004-05-11 17:09:09 +00:00
Alasdair Kergon
fc5c61cc8b
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
c3941941ce
Support tagged config files.
2004-05-04 18:28:15 +00:00
Alasdair Kergon
5e8f2e2c04
Fix lvs_in_vg_opened counting.
2004-04-14 17:33:04 +00:00
Alasdair Kergon
32667ca256
Option for auto-fallback to LVM1 tools if running 2.4 without device-mapper.
2004-04-08 15:23:23 +00:00
Alasdair Kergon
66ed5f82c4
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
4f9f7eb6a6
Fix vgmknodes to remove dud /dev/mapper entries
2004-03-30 14:40:03 +00:00
Alasdair Kergon
f910c4a8e7
Rename dev_manager_mknodes -> dev_manager_lv_mknodes etc.
2004-03-30 14:38:57 +00:00
Alasdair Kergon
54a1abb284
Add list_versions to library
2004-03-26 19:52:09 +00:00
Alasdair Kergon
97b492a8e2
Ignore open hidden LVs when checking if deactivation is OK.
2004-03-26 19:13:39 +00:00
Alasdair Kergon
0873bd14a9
Suppress move percentage when inactive
2004-03-26 19:10:48 +00:00
Alasdair Kergon
44a1ac0cf3
lv_info_by_lvid
2004-03-26 15:35:01 +00:00
Alasdair Kergon
2ffe378d3f
Only print warning message once when compiled without libdevmapper.
2004-03-19 16:26:46 +00:00
Alasdair Kergon
80de983023
additional activation functions
2004-03-08 18:54:13 +00:00
Alasdair Kergon
8703ca623f
rename config file vars & always use / as separator
2004-03-08 18:28:45 +00:00
Alasdair Kergon
286253a73f
host tags
2004-03-08 18:13:22 +00:00
Alasdair Kergon
9c3ba9fdcd
vgmknodes also creates necessary nodes in /dev/mapper
2003-11-13 14:11:41 +00:00
Alasdair Kergon
0a109fbd03
The LVM2 part of vgmknodes [still to do the non-devfs device-mapper bit].
2003-11-12 19:16:48 +00:00
Alasdair Kergon
1d791a8af4
Check no fs mounted before deactivating.
2003-10-21 22:00:36 +00:00
Alasdair Kergon
8449314da2
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
120faf2a58
pvmove support
2003-04-30 15:26:25 +00:00
Alasdair Kergon
1d3e407c8f
o Rejig activation code device dependencies to make things a bit more robust
...
and further reduce the number of ioctl calls made.
o Metadata area struct change.
o Make config file accessible to activation functions & get stripe_filler
from it.
o Allow kernel to return snapshot status as a fraction or a percentage.
2003-04-24 22:09:13 +00:00
Alasdair Kergon
e8c4bf56fe
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
884fafcc30
Activation commands now return success in test mode.
2003-01-17 20:16:23 +00:00
Alasdair Kergon
2f4d91fd69
configure --disable-devmapper if you don't have libdevmapper
2003-01-08 22:44:07 +00:00
Alasdair Kergon
dd2157534b
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00
Alasdair Kergon
81c44790d5
Refactoring.
2002-11-18 14:01:16 +00:00
Alasdair Kergon
b8769751f6
Rename; add some FIXMEs.
2002-05-22 14:03:45 +00:00
AJ Lewis
02543bad1c
o Actually read snapshot percentage from the kernel - what a pain! :)
...
o Not sure if the code in dev_manager is really optimal, but it works..
will look at adjusting it a bit now.
o I *think* it works right when one snapshot if full but others aren't,
but I haven't really been able to test it because the full snapshot
somehow resets itself and weird things start happening to the system...
2002-05-09 21:17:57 +00:00