Alasdair Kergon
59db4b50cd
fix dev->device
2006-05-12 19:47:40 +00:00
Alasdair Kergon
bdae38765d
not reqd
2006-05-12 19:44:42 +00:00
Alasdair Kergon
445dd17db3
Add --monitor to vgcreate and lvcreate to control dmeventd registration.
...
Propagate --monitor around cluster.
Filter LCK_NONBLOCK in clvmd lock_vg.
2006-05-12 19:16:48 +00:00
Alasdair Kergon
cff78a2577
fix compile
2006-05-12 13:33:22 +00:00
Alasdair Kergon
22eabe5eab
M for unsynced mirror
2006-05-11 20:17:17 +00:00
Alasdair Kergon
b69ba36c2d
Add --nosync to lvcreate with LV flag NOTSYNCED.
2006-05-11 20:03:40 +00:00
Alasdair Kergon
5240aad22b
Use mirror's uuid for a core log.
2006-05-11 19:47:53 +00:00
Alasdair Kergon
2897eb3cb3
Add mirror log fault-handling policy.
2006-05-11 19:45:53 +00:00
Alasdair Kergon
c99d0236a0
Propagate nosync flag around cluster.
2006-05-11 19:05:21 +00:00
Alasdair Kergon
aac2b655f7
Allow vgreduce to handle mirror log failures.
2006-05-11 19:01:11 +00:00
Alasdair Kergon
359ee54f0d
Add --corelog to lvcreate and lvconvert.
2006-05-11 18:54:04 +00:00
Alasdair Kergon
28ab560907
Create a log header for replacement in-sync mirror log.
...
Use set_lv() and dev_set() to wipe sections of devices.
Add mirror_in_sync() flag to avoid unnecessary resync on activation.
2006-05-11 18:39:24 +00:00
Alasdair Kergon
ead252fee4
Add mirror_library description to example.conf.
...
More compile-time cleanup.
2006-05-11 17:58:58 +00:00
Alasdair Kergon
979ca34259
fix last commit
2006-05-10 17:51:02 +00:00
Alasdair Kergon
4dd1086805
more coverity fixes
2006-05-10 17:49:25 +00:00
Alasdair Kergon
3503d4b72c
Fix uuid_from_num() buffer overrun.
2006-05-10 16:42:03 +00:00
Alasdair Kergon
45dca55fc8
Make SIZE_SHORT the default for display_size().
...
Fix some memory leaks in error paths found by coverity.
Use C99 struct initialisers.
Move DEFS into configure.h.
Clean-ups to remove miscellaneous compiler warnings.
2006-05-09 21:23:51 +00:00
Alasdair Kergon
445d8ecd9f
sign fix
2006-05-04 09:33:42 +00:00
Alasdair Kergon
c980add503
fix stripesize const
2006-05-02 07:14:43 +00:00
Alasdair Kergon
133842392a
Improve stripe size validation.
...
Increase maximum stripe size limit to physical extent size for lvm2 metadata.
2006-04-29 22:08:43 +00:00
Alasdair Kergon
8baf2ef155
missing {
2006-04-28 21:07:19 +00:00
Alasdair Kergon
61d8baf8b1
Fix activation code to check for pre-existing mirror logs.
2006-04-28 17:01:07 +00:00
Alasdair Kergon
2f7d2477b6
_register_dev_for_events to return error on failure
2006-04-28 14:06:06 +00:00
Alasdair Kergon
21ea3f05f4
Ignore empty strings in config files.
2006-04-28 13:30:59 +00:00
Alasdair Kergon
5972777abe
remove redundant list_init
2006-04-27 17:58:48 +00:00
Alasdair Kergon
8e373ff868
Invalidate cache if composition of VG changed externally.
2006-04-21 19:12:41 +00:00
Alasdair Kergon
a4db92da3a
terminate vgid in debug mesg
2006-04-21 15:37:08 +00:00
Alasdair Kergon
bd3c652184
Fix vgid string termination in recent cache code.
2006-04-21 14:44:33 +00:00
Alasdair Kergon
8b4b6945f8
remove inlines
2006-04-19 18:12:33 +00:00
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
86e757a6ad
When choosing between identically-named VGs, also consider creation_host.
2006-04-13 17:32:24 +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
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