Dave Wysochanski
86b21eaf83
Add 'scan_sector' parameter to label_read and _find_labeller to add
...
flexibility in searching for disk labels.
2007-04-23 18:21:01 +00:00
Alasdair Kergon
ee68d715bf
Adjust some alignments for ia64 and sparc.
...
(Some of the changes are probably unnecessary.)
2006-11-30 23:11:42 +00:00
Alasdair Kergon
df0a5561a1
Add --trustcache option to reporting commands in preparation for supporting
...
event-driven model. Without changes to the way the cache gets updated, the
option is currently unreliable without a global lock to prevent any lvm2
commands from running concurrently.
2006-08-01 14:56:33 +00:00
Alasdair Kergon
fd6b94f20e
Fix PV tools to include orphaned PVs in default output again.
2006-06-14 20:11:22 +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
4dd1086805
more coverity fixes
2006-05-10 17:49:25 +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
8e373ff868
Invalidate cache if composition of VG changed externally.
2006-04-21 19:12:41 +00:00
Alasdair Kergon
bd3c652184
Fix vgid string termination in recent cache code.
2006-04-21 14:44:33 +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
37bac5cdc9
Fix new mirror_seg pointer.
2005-10-27 21:51:28 +00:00
Alasdair Kergon
3b8058e1f1
Export vgname_is_locked
2005-10-27 17:41:41 +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
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
b526f86b49
Add is_dm_major() for use in duplicate device detection in lvmcache_add().
2005-09-16 18:53:01 +00:00
Alasdair Kergon
53c0f00888
Really switch device number in lvmcache when it says it is doing so.
2005-09-16 18:44:52 +00:00
Alasdair Kergon
99df4f892d
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
a99b2ce167
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
8b6d584529
Improve detection of external changes affecting internal cache.
2005-03-21 22:40:35 +00:00
Alasdair Kergon
851a2bf855
Cope with new devices appearing by rescanning /dev if a uuid can't be found.
2005-03-08 13:46:17 +00:00
Alasdair Kergon
fc5c61cc8b
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
66ed5f82c4
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
9cbe906f60
more str_list fns
2003-10-15 20:04:29 +00:00
Alasdair Kergon
8449314da2
Another sync point - numerous fixes & clean ups.
2003-07-04 22:34:56 +00:00
Alasdair Kergon
e8c4bf56fe
Tidy various pre-processing incl. making libdl optional.
2003-03-24 18:08:53 +00:00
Alasdair Kergon
6bb20ee09e
Fix (rare) cache bug on machines with large /dev directories.
2003-01-10 19:14:01 +00:00
Alasdair Kergon
c946c97402
Detect duplicate PV uuids - select the one on an md device if appropriate.
2003-01-06 21:10:43 +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
d557b335cf
A new cache.
2002-11-18 13:53:58 +00:00