Alasdair Kergon
6c81ed26f0
Add LV column to reports listing kernel modules needed for activation.
2006-10-03 17:55:20 +00:00
Alasdair Kergon
1baed0e1ae
Show available fields if report given invalid field. (e.g. lvs -o list)
2006-10-02 16:46:27 +00:00
Alasdair Kergon
8b1a3214b5
Add timestamp functions with --disable-realtime configure option. [AJ]
2006-09-30 20:02:02 +00:00
Alasdair Kergon
34fadac485
Add %VG, %LV and %FREE suffices to lvcreate/lvresize --extents arg.
...
e.g. lvcreate -l 100%FREE to create an LV using all available space.
lvextend -l 50%LV to increase an LV by 50% of its existing size.
lvcreate -l 20%VG to create an LV using 20% of the total VG size.
2006-09-26 09:35:43 +00:00
Alasdair Kergon
5095de5177
Fix two potential NULL pointer derefs in error cases in vg_read().
2006-09-21 20:25:54 +00:00
Alasdair Kergon
e0a266927d
Separate --enable-cluster from locking lib options in lvmconf.sh.
2006-09-20 17:36:47 +00:00
Alasdair Kergon
d1a1e1a319
Supply missing comma. [via Debian]
2006-09-19 20:20:40 +00:00
Alasdair Kergon
71fc020669
post-release
2006-09-19 19:36:59 +00:00
Alasdair Kergon
19513ad89e
pre-release
2006-09-19 19:15:10 +00:00
Alasdair Kergon
13ba0f9492
Fix lvconvert mirror change case detection logic.
...
Fix mirror log detachment so it correctly becomes a standalone LV.
2006-09-19 19:13:41 +00:00
Alasdair Kergon
bbb068562e
Extend _check_contiguous() to detect single-area LVs.
...
Include mirror log (untested) in _for_each_pv() processing.
Use MIRROR_LOG_SIZE constant.
Remove struct seg_pvs from _for_each_pv() for generalisation.
Avoid adding duplicates to list of parallel PVs to avoid.
2006-09-11 21:14:56 +00:00
Alasdair Kergon
d9c6bbab80
Fix several incorrect comparisons in parallel area avoidance code.
...
Fix segment lengths when flattening existing parallel areas.
Log existing parallel areas prior to allocation.
Fix mirror log creation when activation disabled.
2006-09-11 14:24:58 +00:00
Alasdair Kergon
fe748f0092
fix vgreduce clustered check
2006-09-07 23:23:45 +00:00
Alasdair Kergon
dc4d7417f7
When using local file locking, skip clustered VGs.
...
Add fallback_to_clustered_locking and fallback_to_local_locking parameters.
2006-09-02 01:18:17 +00:00
Alasdair Kergon
a45da5f676
lvm.static uses built-in cluster locking instead of external locking.
...
Don't attempt to load shared libraries if built statically.
2006-08-31 22:21:00 +00:00
Alasdair Kergon
1c792fad4f
Change default locking_lib to liblvm2clusterlock.so.
2006-08-31 20:56:33 +00:00
Alasdair Kergon
08c060cf38
Add skip_dev_dir() to process command line VGs.
2006-08-25 23:02:33 +00:00
Patrick Caulfield
b499b916ca
Stop clvmd complaining about nodes that have left the cluster
2006-08-24 12:45:05 +00:00
Alasdair Kergon
0550c1b618
Move lvm_snprintf into libdevmapper.
2006-08-21 12:54:53 +00:00
Alasdair Kergon
7d7736b7b4
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-21 12:07:03 +00:00
Alasdair Kergon
48432c882e
Add mirroring into man pages
2006-08-18 21:49:19 +00:00
Alasdair Kergon
d68336a52f
Prevent mirror renames.
2006-08-18 21:19:54 +00:00
Alasdair Kergon
6711231a13
Move CMDLIB code into separate file and record whether static build.
2006-08-18 21:17:18 +00:00
Alasdair Kergon
ade81b8aed
post
2006-08-17 20:04:38 +00:00
Alasdair Kergon
086b63ca05
pre-release
2006-08-17 19:55:50 +00:00
Alasdair Kergon
94d501edd9
Fix PE_ALIGN for pagesize over 32KB.
2006-08-17 19:53:36 +00:00
Alasdair Kergon
b5d761e1d2
wrap PE_ALIGN
2006-08-17 19:30:59 +00:00
Alasdair Kergon
ee37789be0
Separate out LVM1_PE_ALIGN.
2006-08-17 19:15:27 +00:00
Alasdair Kergon
916490f8bf
Add lvm_getpagesize wrapper.
2006-08-17 18:23:44 +00:00
Alasdair Kergon
e95d828454
Add --maxphysicalvolumes to vgchange.
2006-08-16 14:41:42 +00:00
Alasdair Kergon
64c8457976
post-release
2006-08-15 19:13:06 +00:00
Alasdair Kergon
a9a6934bf9
pre-release
2006-08-15 19:06:09 +00:00
Alasdair Kergon
438abca889
Add checks for duplicate LV name, lvid and PV id before writing metadata.
...
Report all sanity check failures, not just the first.
2006-08-09 19:33:25 +00:00
Alasdair Kergon
9cd3426d3a
Fix missing lockfs on first snapshot creation.
2006-08-08 21:20:00 +00:00
Alasdair Kergon
e3ad1d19d5
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
8b0d546f4c
Fix locking for mimage removal.
2006-07-20 20:37:10 +00:00
Alasdair Kergon
b813f533f8
Fix clvmd_init_rhel4 'status' exit code.
2006-07-19 18:55:58 +00:00
Alasdair Kergon
7a21367d97
post-release
2006-07-17 14:39:54 +00:00
Alasdair Kergon
cecdabd9c4
pre-release
2006-07-17 14:32:00 +00:00
Alasdair Kergon
443a8f76c6
Fix activation logic in lvchange --persistent.
2006-07-10 19:39:14 +00:00
Alasdair Kergon
fe686a5180
Don't ignore persistent minor numbers when activating.
2006-07-10 19:17:40 +00:00
Alasdair Kergon
0b431b8a17
Use RTLD_GLOBAL when loading shared libraries.
2006-07-04 19:40:27 +00:00
Alasdair Kergon
e67ed94b3e
Add some forgotten memlock checks to _vg_read to protect against full scans.
2006-07-04 19:36:49 +00:00
Alasdair Kergon
f1dc5cc99b
Add mutex to dmeventd_mirror to avoid concurrent execution.
2006-07-04 18:57:27 +00:00
Alasdair Kergon
4bfab20a41
Fix return code if VG specified on command line is not found.
2006-06-14 20:27:15 +00:00
Alasdair Kergon
2415c1ef87
Fix PV tools to include orphaned PVs in default output again.
2006-06-14 20:11:22 +00:00
Alasdair Kergon
284a2c910f
test checkin
2006-06-12 17:34:20 +00:00
Alasdair Kergon
fa76197d4c
test checkin
2006-06-12 17:32:43 +00:00
Alasdair Kergon
acc6edf0ab
test checkin
2006-06-12 17:30:29 +00:00
Alasdair Kergon
8bdecd551b
checkin test
2006-06-12 17:18:31 +00:00