Dave Wysochanski
867c3249cb
Fix warnings on x86_64 involving ptrdiff_t:
...
config/config.c:493: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
Modified original patch from Jim Meyering <jim@meyering.net>
2007-04-26 16:40:46 +00:00
Dave Wysochanski
28d1c4d7e2
Update pvck to include text metadata area and record detection.
...
--
2007-04-25 21:10:55 +00:00
Dave Wysochanski
084a8bdcbc
Add support functions for analysis of config sections,
...
and hence, on-disk LVM2 metadata.
--
2007-04-25 20:38:39 +00:00
Dave Wysochanski
d915579c6b
Update pvck to read labels on disk, with flexible --labelsector
...
parameter.
--
2007-04-25 20:03:16 +00:00
Dave Wysochanski
15309c57bd
Add count_chars and count_chars_len functions, two
...
generic string utility functions.
--
2007-04-25 18:24:19 +00:00
Bryn M. Reeves
69e0f4039f
Make lvm_dump.sh capture a listing of /sys/block entries.
2007-04-25 14:49:27 +00:00
Patrick Caulfield
05aa860fd7
Fix thread race in clvmd.
2007-04-24 15:13:13 +00:00
Dave Wysochanski
17a6fc0b45
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
Patrick Caulfield
0b65565e6b
Make clvmd cope with quorum devices in RHEL5
...
bz#237386
2007-04-23 14:55:28 +00:00
Bryn M. Reeves
864c77a0a7
Make lvm_dump.sh list /dev recursively to aid identifying devices.
2007-04-19 22:56:16 +00:00
Dave Wysochanski
662e0238f0
Add dev_read_circular, read 2 regions on same device.
2007-04-19 02:10:42 +00:00
Dave Wysochanski
cc5a4e1d38
Add stub for pvck, a command to check physical volume consistency.
2007-03-30 21:00:26 +00:00
Patrick Caulfield
02c83d6edf
Add some extra error checking & robustness.
...
Thanks to the Crosswalk engineering team:
Leonard Maiorani
Henry Harris
Scott Cannata
2007-03-29 13:59:33 +00:00
Alasdair Kergon
b4fb5226c0
Update lists of attribute characters in man pages.
...
Change cling alloc policy attribute character from 'C' to l'.
2007-03-27 13:35:33 +00:00
Milan Broz
5d06515c0b
Fix creation and conversion of mirrors with tags.
2007-03-26 16:10:10 +00:00
Milan Broz
851002b87d
Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
...
Split metadata areas in vgsplit properly.
2007-03-23 12:43:17 +00:00
Alasdair Kergon
a8f51fa2ae
post-release
2007-03-19 21:16:49 +00:00
Alasdair Kergon
91dc07af67
pre-release
2007-03-19 21:12:54 +00:00
Milan Broz
eca7ef180c
Fix processing of exit status in init scripts
2007-03-16 17:15:36 +00:00
Milan Broz
d330e660ee
Fix vgremove to require at least one vg argument.
2007-03-15 14:00:30 +00:00
Alasdair Kergon
74e2acb680
Try to fix reading in of lvm1 striped LVs.
...
There are two fixes other than improving variable names and updating code
layout etc.
The loop counter is incremented by area_len instead of area_len * stripes;
the 3rd _check_stripe parameter is no longer multiplied by number of stripes.
2007-03-15 13:38:28 +00:00
Patrick Caulfield
5d47ed1161
Flag nolocking as a clustered locking module as we need to be able
...
to look at clustered LVs at clvmd startup
2007-03-13 14:59:21 +00:00
Alasdair Kergon
b9b260119f
Add a few missing pieces of vgname command line validation.
2007-03-09 21:25:33 +00:00
Alasdair Kergon
9397354a33
Support the /dev/mapper prefix on most command lines.
2007-03-09 20:47:41 +00:00
Alasdair Kergon
13e5d2420d
post-release
2007-03-08 21:37:48 +00:00
Alasdair Kergon
22826bdac6
pre-release
2007-03-08 21:28:13 +00:00
Alasdair Kergon
b45c9f49d0
Fix vgrename active LV check to ignore differing vgids.
2007-03-08 21:08:25 +00:00
Alasdair Kergon
8fe54fddba
Remove no-longer-used uuid_out parameter from activation info functions.
2007-03-08 19:58:04 +00:00
Alasdair Kergon
af91456949
Fix two more segfaults if an empty config file section encountered.
2007-03-08 19:22:52 +00:00
Alasdair Kergon
87cec8eb5e
Move .cache file into a new /etc/lvm/cache directory by default.
...
Add devices/cache_dir & devices/cache_file_prefix, deprecating devices/cache.
Create directory in fcntl_lock_file() if required.
2007-02-28 18:27:13 +00:00
Alasdair Kergon
f359c9b80f
Exclude readline support from lvm.static
2007-02-14 16:51:48 +00:00
Alasdair Kergon
0558b9284e
Fix a leak in a reporting error path.
2007-02-14 15:18:31 +00:00
Alasdair Kergon
2f2c993235
post-release
2007-02-13 16:16:15 +00:00
Alasdair Kergon
187c689f1c
pre-release
2007-02-13 16:12:24 +00:00
Alasdair Kergon
d8ff86fd09
Correct -b and -P on a couple of man pages.
...
Add global/units to example.conf.
2007-02-13 16:04:01 +00:00
Alasdair Kergon
e09dfed899
Fix loading of segment_libraries. [gentoo]
2007-02-08 17:31:02 +00:00
Alasdair Kergon
37fb985a82
If a PV reappears after it was removed from its VG, make it an orphan.
2007-02-07 13:29:52 +00:00
Alasdair Kergon
aa350ef426
Fix some &->&& vgreduce cmdline validation. [Andre Noll]
2007-01-31 16:26:23 +00:00
Alasdair Kergon
612209c8d9
post-release
2007-01-30 21:37:18 +00:00
Alasdair Kergon
f21f60d5ff
pre-release
2007-01-30 18:08:17 +00:00
Alasdair Kergon
319e74e2da
Add warning to lvm2_monitoring_init_rhel4 if attempting to stop monitoring.
2007-01-30 18:02:15 +00:00
Alasdair Kergon
ce4c33102f
Fix vgsplit to handle mirrors.
...
Reorder fields in reporting field definitions.
2007-01-29 23:01:18 +00:00
Alasdair Kergon
898b3d4d78
Fix vgs to treat args as VGs even when PV fields are displayed.
2007-01-27 02:09:06 +00:00
Alasdair Kergon
fce67134f3
Fix md signature check to handle both endiannesses.
2007-01-26 17:15:16 +00:00
Alasdair Kergon
67fa4fd49e
post-release
2007-01-25 23:40:33 +00:00
Alasdair Kergon
667eb7758d
pre-release
2007-01-25 23:36:59 +00:00
Alasdair Kergon
aca043364e
dmeventd mirror sets ignore_suspended_devices and avoids scanning mirrors.
2007-01-25 23:32:29 +00:00
Alasdair Kergon
f247a4e76f
Add devices/ignore_suspended_devices to ignore suspended dm devices.
2007-01-25 21:22:30 +00:00
Alasdair Kergon
2e1b92e3ea
Add some missing close() and fclose() return code checks.
...
Fix exit statuses of reporting tools (2.02.19).
2007-01-25 14:37:48 +00:00
Alasdair Kergon
00fc37f183
Add init script for dmeventd monitoring.
2007-01-24 23:44:43 +00:00
Alasdair Kergon
20db8ffcae
lvm.static no longer interacts with dmeventd unless explicitly asked to.
2007-01-24 23:43:27 +00:00
Alasdair Kergon
57fc4cc0b6
Add field definitions to report help text.
...
Remove unnecessary cmd arg from target_*monitor_events().
2007-01-24 16:51:24 +00:00
Alasdair Kergon
3329c69865
Add private variable to dmeventd shared library interface.
2007-01-23 17:40:40 +00:00
Alasdair Kergon
dd9927bcde
Long-lived processes write out persistent dev cache in refresh_toolcontext().
2007-01-23 16:03:54 +00:00
Alasdair Kergon
f72de1dc1c
Fix refresh_toolcontext() always to wipe persistent device filter cache.
...
Add is_long_lived to toolcontext.
2007-01-23 15:58:06 +00:00
Alasdair Kergon
147b7d5eac
Add --clustered to man pages.
2007-01-23 13:08:34 +00:00
Alasdair Kergon
7fee061a6d
Streamline dm_report_field_* interface.
2007-01-22 15:07:21 +00:00
Alasdair Kergon
8a37910d51
register->monitor etc.
2007-01-19 22:21:45 +00:00
Alasdair Kergon
10232bd991
Update reporting man pages.
2007-01-18 22:33:24 +00:00
Alasdair Kergon
594a27942b
No longer necessary to specify alignment for report fields.
2007-01-18 17:48:29 +00:00
Alasdair Kergon
07473c2be3
post-release
2007-01-17 17:56:15 +00:00
Alasdair Kergon
c3afa8dff4
pre-release
2007-01-17 17:51:51 +00:00
Alasdair Kergon
6a91a99b1b
Fix a segfault if an empty config file section encountered.
2007-01-17 16:22:59 +00:00
Alasdair Kergon
d838a1e314
Move basic reporting functions into libdevmapper.
2007-01-16 18:06:12 +00:00
Alasdair Kergon
b1ab8b00b8
Fix partition table processing after sparc changes (introduced in 2.02.16).
...
Fix cmdline PE range processing segfault (introduced in 2.02.13).
2007-01-15 21:55:11 +00:00
Alasdair Kergon
02059c81e7
Some libdevmapper-event interface changes.
2007-01-15 18:22:02 +00:00
Alasdair Kergon
8ef6eb30d9
Report dmeventd mirror monitoring status.
2007-01-12 20:38:30 +00:00
Alasdair Kergon
99a4014f06
post-release
2007-01-11 23:19:08 +00:00
Alasdair Kergon
96710ad8dd
pre-release
2007-01-11 22:49:43 +00:00
Alasdair Kergon
6b36e863cb
updated dmeventd interface
2007-01-11 22:24:32 +00:00
Alasdair Kergon
65e635b685
Remove dmeventd mirror status line word limit
2007-01-11 19:52:06 +00:00
Alasdair Kergon
3b007b270d
Use CFLAGS when linking so mixed sparc builds can supply -m64
2007-01-11 17:12:27 +00:00
Alasdair Kergon
fb12fd445a
Prevent permission changes on active mirrors.
2007-01-10 19:56:39 +00:00
Milan Broz
e0096cabef
Print warning instead of error message if cannot zero volume
...
Update lvconvert man page (snapshot option)
2007-01-10 14:13:46 +00:00
Alasdair Kergon
2eeb2a1f54
dumpconfig accepts a list of configuration variables to display.
...
Change dumpconfig to use --file to redirect output to a file.
2007-01-09 23:22:31 +00:00
Alasdair Kergon
7c0cd2730c
Avoid vgreduce error when mirror code removes the log LV.
2007-01-09 23:14:35 +00:00
Alasdair Kergon
7cb5941799
Remove 3 redundant AC_MSG_RESULTs from configure.in.
2007-01-09 22:07:20 +00:00
Alasdair Kergon
e62436fc70
Free memory in _raw_read_mda_header() error paths.
...
Fix ambiguous vgsplit error message for split LV.
Fix lvextend man page typo.
2007-01-09 21:12:41 +00:00
Alasdair Kergon
33f732c5e9
Add configure --with-dmdir to compile against a device-mapper source tree.
...
Use no flush suspending for mirrors.
2007-01-09 20:31:08 +00:00
Alasdair Kergon
6032a223f4
Add dmeventd_mirror register_mutex, tidy initialisation & add memlock.
2007-01-08 14:24:20 +00:00
Milan Broz
aa8a4d96bd
Fix create mirror with name longer than 22 chars.
2007-01-05 15:53:40 +00:00
Alasdair Kergon
0ce83a83f0
Fix some activate.c prototypes when compiled without devmapper.
2006-12-20 16:19:01 +00:00
Alasdair Kergon
0c8569edea
Fix dmeventd mirror to cope if monitored device disappears.
2006-12-20 14:35:02 +00:00
Alasdair Kergon
1a42d65aa7
post-release
2006-12-14 22:21:32 +00:00
Alasdair Kergon
dced155411
pre-release
2006-12-14 20:05:08 +00:00
Alasdair Kergon
67e6c7e73d
Add missing pvremove error message when device doesn't exist.
2006-12-13 18:40:23 +00:00
Alasdair Kergon
5b61ca7281
When lvconvert allocates a mirror log, respect parallel area constraints.
...
Use loop to iterate through the now-ordered policy list in _allocate().
Check for failure to allocate just the mirror log.
Introduce calc_area_multiple().
Support mirror log allocation when there is only one PV: area_count now 0.
(See lvm-devel list archives for further details.)
2006-12-13 03:39:58 +00:00
Alasdair Kergon
948ee3e396
Fix detection of smallest area in _alloc_parallel_area() for cling policy.
2006-12-12 19:30:10 +00:00
Patrick Caulfield
699b275aea
Add manpage reference for clvmd -T that got missed out when I
...
checked the code in (sorry).
2006-12-11 14:06:25 +00:00
Patrick Caulfield
e3e6eba1aa
Fix gulm operation of clvmd. including a hang when attempting to
...
exclusively lock an LV that is already locked no another node.
2006-12-11 14:00:26 +00:00
Patrick Caulfield
47436a42df
Fix hang in clvmd if a pre-command failed. The pre/post thread was getting
...
out of sync in this instance and would not quit.
2006-12-11 13:48:41 +00:00
Alasdair Kergon
193992de35
post-release
2006-12-01 23:29:54 +00:00
Alasdair Kergon
b3bafefd83
pre release
2006-12-01 23:15:59 +00:00
Alasdair Kergon
0357f18ef0
Fix VG clustered read locks to use PR not CR.
...
VG metadata reads were not being locked out during metadata updates.
2006-12-01 22:48:47 +00:00
Alasdair Kergon
4dc0ec2253
Adjust some alignments for ia64 and sparc.
...
(Some of the changes are probably unnecessary.)
2006-11-30 23:11:42 +00:00
Alasdair Kergon
6c48fe7433
Fix mirror segment removal to use temporary error segment.
2006-11-30 17:52:47 +00:00
Patrick Caulfield
a16f48e31a
Always compile debug logging into clvmd as it's too useful to
...
restrict to just developers.
-d will switch it on and run the daemon in the foreground
2006-11-30 13:19:42 +00:00
Patrick Caulfield
736751930f
Add timeout to RHEL4 clvmd init script.
...
With the previous clvmd checkin this should address bz#187812
2006-11-30 10:16:48 +00:00
Patrick Caulfield
bd8be78c09
Add -T (startup timeout) switch to clvmd
2006-11-30 09:44:07 +00:00
Alasdair Kergon
d9cc917396
Improve lvm_dump.sh robustness.
2006-11-23 17:23:14 +00:00
Alasdair Kergon
066ac2ef50
Update lvm2create_initrd to support gentoo.
2006-11-21 22:41:56 +00:00
Alasdair Kergon
efecd5c15b
Fix clvmd_init_rhel4 line truncation (2.02.14).
2006-11-21 17:44:46 +00:00
Alasdair Kergon
55b5ce8710
post-release
2006-11-20 23:30:45 +00:00
Alasdair Kergon
4eee576490
Install lvmdump by default.
2006-11-20 20:03:26 +00:00
Alasdair Kergon
86eeeb5f3f
pre-release
2006-11-20 19:33:03 +00:00
Alasdair Kergon
253751656b
Fix check for snapshot module when activating snapshot.
2006-11-20 16:45:45 +00:00
Alasdair Kergon
ba4f5d8080
Fix pvremove error path for case when PV is in use.
2006-11-17 02:45:51 +00:00
Alasdair Kergon
9f7e77099b
Warn if certain duplicate config file entries are seen.
...
(not thoroughly tested)
2006-11-16 17:36:00 +00:00
Alasdair Kergon
15545b91dc
Enhance lvm_dump.sh for sysreport integration and add man page.
2006-11-16 16:44:48 +00:00
Alasdair Kergon
b65e33f442
Fix --autobackup argument which could never disable backups.
2006-11-14 15:28:50 +00:00
Alasdair Kergon
deb202bd42
Fix a label_verify error path.
2006-11-14 15:03:07 +00:00
Alasdair Kergon
3b2765395d
post-release
2006-11-10 21:27:51 +00:00
Alasdair Kergon
9f74b2fc3c
pre-release
2006-11-10 21:22:34 +00:00
Alasdair Kergon
f96cde8cbd
Fix adjusted_mirror_region_size() for 64-bit size.
2006-11-10 19:35:03 +00:00
Alasdair Kergon
a89d601463
Add some missing bounds checks on 32 bit extent counters.
...
Add Petabyte and Exabyte support.
Fix lvcreate error message when 0 extents requested.
2006-11-10 18:24:11 +00:00
Patrick Caulfield
581e811187
Add note to lvremove man page: volumes must be inactive on
...
all cluster nodes before being removed.
2006-11-06 14:11:40 +00:00
Alasdair Kergon
c1c16a8f01
Protect .cache manipulations with fcntl locking.
...
Change .cache timestamp comparisons to use ctime.
2006-11-04 03:34:10 +00:00
Alasdair Kergon
1c3c2df9e9
Fix mirror log LV writing to set all bits in whole LV.
2006-11-02 23:33:20 +00:00
Alasdair Kergon
df52a8b52a
Fix clustered VG detection and default runlevels in clvmd_init_rhel4.
2006-11-01 18:25:26 +00:00
Alasdair Kergon
c89024511b
Fix high-level free space check for partial allocations.
2006-10-30 16:10:55 +00:00
Alasdair Kergon
7d1c3fcd12
post-release
2006-10-27 15:37:02 +00:00
Alasdair Kergon
ffe524cc30
pre-release
2006-10-27 15:21:07 +00:00
Alasdair Kergon
7f31917dc3
dd couple of missing files to tools/Makefile CLEAN_TARGETS.
2006-10-26 20:37:13 +00:00
Alasdair Kergon
013577fb6a
When adding snapshot leave cow LV mapped device active after zeroing.
2006-10-26 18:22:10 +00:00
Alasdair Kergon
99d00efa02
.
2006-10-24 19:07:32 +00:00
Alasdair Kergon
4098f6282c
Add dev_flush() to set_lv()
2006-10-24 18:25:30 +00:00
Alasdair Kergon
e51d50a11e
try forcesync -> resync
2006-10-24 17:18:25 +00:00
Alasdair Kergon
04e023be19
Add lvchange --forcesync.
2006-10-23 23:03:55 +00:00
Alasdair Kergon
2bdc8e1252
Perform high-level free space check before each allocation attempt.
2006-10-23 15:54:51 +00:00
Patrick Caulfield
77fcc2076a
Don't allow a node to remove an LV that's exclusively active on anther node.
2006-10-23 11:46:16 +00:00
Alasdair Kergon
9766c3c960
Cope if same PV is included more than once in cmdline PE range list.
2006-10-21 23:18:43 +00:00
Alasdair Kergon
b16b9c2bf1
Set PV size to current device size if it is found to be zero.
2006-10-19 12:53:47 +00:00
Alasdair Kergon
7c5ec12630
Add segment parameter to target_present functions.
2006-10-18 18:01:53 +00:00
Alasdair Kergon
38a5f0b6e8
post-release
2006-10-16 17:18:08 +00:00
Alasdair Kergon
0b0fd3306d
pre-release
2006-10-16 16:44:28 +00:00
Alasdair Kergon
e663b4e856
Fix pvdisplay to use vg_read() for non-orphans
2006-10-16 16:29:40 +00:00
Alasdair Kergon
04dabc1562
Fall back to internal locking if external locking lib is missing or fails.
2006-10-14 16:37:54 +00:00
Alasdair Kergon
a590f3b6a3
Retain activation state after changing LV minor number with --force.
2006-10-13 21:33:31 +00:00
Alasdair Kergon
805dad5940
Propagate clustered flag in vgsplit and require resizeable flag.
2006-10-13 13:22:44 +00:00
Alasdair Kergon
89a4e806e9
post-release
2006-10-12 18:20:45 +00:00
Alasdair Kergon
181b5f0011
pre-release
2006-10-12 18:13:33 +00:00
Alasdair Kergon
78ee671f9b
Test message to lvm-devel list.
2006-10-10 17:20:40 +00:00
Patrick Caulfield
efa483c599
Add clvmd call to return the cluster name.
2006-10-09 14:11:57 +00:00
Alasdair Kergon
de5c82a0d9
add cling allocation policy
2006-10-08 12:01:13 +00:00
Alasdair Kergon
4a2ca1b998
.
2006-10-07 23:42:03 +00:00
Alasdair Kergon
b4e2a0e179
check_contiguous to use for_each_pv
2006-10-07 23:40:36 +00:00
Alasdair Kergon
b6f8552074
Extend _for_each_pv() to allow termination without error.
2006-10-07 12:41:06 +00:00
Alasdair Kergon
68d7c0e601
Remove duplicated pv arg from _check_contiguous().
2006-10-07 11:00:09 +00:00
Alasdair Kergon
705eabf721
Accept regionsize with lvconvert
2006-10-07 10:47:05 +00:00
Alasdair Kergon
d547cbb00d
Add report columns with underscore before field names ending 'size'.
2006-10-07 10:42:27 +00:00
Patrick Caulfield
e37a241536
Fix clvmd bug that could cause it to die when a node with a long name crashed.
2006-10-06 10:06:10 +00:00
Alasdair Kergon
209f03f2b6
Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
...
(This area of the code needs a lot more work.)
2006-10-05 22:02:52 +00:00
Alasdair Kergon
8d18637eca
Fix _for_each_pv() for mirror with core log.
2006-10-05 21:24:48 +00:00
Alasdair Kergon
929210542f
Add lvm_dump.sh script to create a tarball of debugging info from a system.
2006-10-05 18:42:33 +00:00
Patrick Caulfield
2a7f7fc1c9
Vastly improve the errors returned to the user from clvmd.
...
It now captures the error messages that are generated and returns them
in the reply packet rather than just telling the user to check syslog.
2006-10-05 13:55:50 +00:00
Alasdair Kergon
7089e02ce1
Remove unused #defines from filter-md.c.
2006-10-04 16:03:17 +00:00
Patrick Caulfield
dc9dcb3d35
Make clvmd restart init script wait until clvmd has died before starting it.
2006-10-04 08:42:14 +00:00
Patrick Caulfield
13583874fc
Add -R switch to clvmd.
...
This option will instruct all the clvmd daemons in the cluster to reload their device cache
2006-10-04 08:22:16 +00:00
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