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
e7e9c60042
If two or more VGs are found with the same name, use one that is not exported.
2006-04-12 17:54:11 +00:00
Alasdair Kergon
1c3bc52cc4
tidy
2006-04-11 19:09:55 +00:00
Alasdair Kergon
5227dff0e1
When scanning, also record whether or not VG is exported.
2006-04-11 17:42:15 +00:00
Alasdair Kergon
33f0b5b7c2
Use lvmcache_update_vgname_and_id throughout.
2006-04-11 16:00:26 +00:00
Alasdair Kergon
0a02968303
Whenever vgname is captured, also capture vgid.
2006-04-11 13:55:59 +00:00
Alasdair Kergon
f7bf658c07
Capture vgid in more places.
2006-04-10 22:09:00 +00:00
Alasdair Kergon
8d16a0abad
lv_is_visible()
2006-04-07 17:41:56 +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
113047e1a2
Suppress locking library load failure message if --ignorelockingfailure.
2006-04-03 18:43:55 +00:00
Alasdair Kergon
1273f179e8
Propagate partial mode around cluster.
2006-03-09 22:34:13 +00:00
Alasdair Kergon
4cf7a108e8
Fix archive file expiration.
2006-03-07 15:43:05 +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
17e298ad2a
Only do lockfs filesystem sync when suspending snapshots.
...
Switchover library building to use LIB_SUFFIX.
2006-01-31 14:52:30 +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
7477e6b714
Fix dmeventd sharedlib path & start tidying registration code.
2006-01-27 20:13:12 +00:00
Alasdair Kergon
6aff325fb2
Add config file setting: dmeventd/mirror_library
2006-01-27 19:05:05 +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
221ac1c208
vgreduce remove mirror images
...
adjust block_on_error version no detection for RHEL4U3
2006-01-04 18:09:52 +00:00
Alasdair Kergon
4936efba5e
Always print warning if activation is disabled.
2005-12-22 16:13:38 +00:00
Alasdair Kergon
ce5265c203
fix libdevmapper-event include
2005-12-21 19:45:16 +00:00
Alasdair Kergon
4ffa2defe4
fixme
2005-12-19 22:36:04 +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
b808c89471
Add details to format1 'Invalid LV in extent map' error message.
2005-12-19 16:28:35 +00:00
Alasdair Kergon
75d4e6490f
ability to pass log flags to libdevmapper
2005-12-13 15:57:32 +00:00
Alasdair Kergon
c854e88186
comment
2005-12-13 13:32:19 +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
19729fdcc2
Determine parallel PVs to avoid with ALLOC_NORMAL allocation. (untested)
2005-11-28 20:01:00 +00:00
Alasdair Kergon
02e17998ce
alloc avoids parallel pvs when supplied
2005-11-24 21:23:55 +00:00
Alasdair Kergon
459e00c67a
preparation for parallel_areas changes to allocation code
2005-11-24 20:58:44 +00:00
Alasdair Kergon
292f665650
Fix lv_empty.
2005-11-24 18:46:51 +00:00
Alasdair Kergon
93bbb79569
_find_parallel_space -> _find_segment_space
2005-11-24 18:00:47 +00:00
Alasdair Kergon
465b6e613e
Fix open RO->RW promotions.
2005-11-23 16:07:40 +00:00
Alasdair Kergon
d7a0cdebe5
Remove a resolved FIXME.
2005-11-22 19:37:14 +00:00
Alasdair Kergon
9cb4dde3fa
Extend allocation areas to avoid overflow with contiguous with other PVs.
...
Another pvmove fix.
2005-11-10 14:45:39 +00:00
Alasdair Kergon
c814c2fd35
workaround for pvmove with new activation code
2005-11-09 23:56:36 +00:00
Alasdair Kergon
fefa7fe262
more mirror fixing
2005-11-09 18:13:10 +00:00
Alasdair Kergon
8b3b26b813
rename deptree
2005-11-09 13:08:41 +00:00
Alasdair Kergon
5426af4f81
rename deptree
2005-11-09 13:05:17 +00:00
Alasdair Kergon
4e2c3a579d
xen xvd
2005-11-09 12:47:16 +00:00
Alasdair Kergon
41c86b0d19
Replacement activation code. [Don't use this yet!]
2005-11-08 22:52:26 +00:00
Alasdair Kergon
0d29120033
precommitted flag
2005-10-31 20:18:50 +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
75cd02aad2
revert unfinished change
2005-10-31 15:46:29 +00:00
Alasdair Kergon
0671632477
A pvresize implementation (Zak Kipling).
2005-10-31 02:37:29 +00:00
Alasdair Kergon
64ba878eda
more mirror library functions
2005-10-28 12:48:50 +00:00
Alasdair Kergon
9d819b52d3
Fix contiguous allocation without preceding segments.
2005-10-27 22:20:33 +00:00