Alasdair Kergon
a5fcb26a33
rely on pv_setup functions to fix up pe_count
2006-10-07 23:06:18 +00:00
Alasdair Kergon
2491a61481
Accept regionsize with lvconvert.
2006-10-07 23:04:36 +00:00
Alasdair Kergon
91831d51ed
more refactoring
2006-10-07 16:00:28 +00:00
Alasdair Kergon
174f0c19f7
Extend _for_each_pv() to allow termination without error.
2006-10-07 12:41:06 +00:00
Alasdair Kergon
de6fadfb4f
abstract _is_contiguous()
2006-10-07 11:34:53 +00:00
Alasdair Kergon
f946db3e00
move _for_each_pv()
2006-10-07 11:23:22 +00:00
Alasdair Kergon
8d05e5bc31
Remove duplicated pv arg from _check_contiguous().
2006-10-07 11:00:09 +00:00
Alasdair Kergon
cfb46820e4
Accept regionsize with lvconvert
2006-10-07 10:47:05 +00:00
Alasdair Kergon
081f1cbcc2
Correct regionsize default on lvcreate man page (MB).
2006-10-07 10:43:40 +00:00
Alasdair Kergon
7bc6da326f
Add report columns with underscore before field names ending 'size'.
2006-10-07 10:42:27 +00:00
Patrick Caulfield
cd95a0df7b
Use strncpy rather than strcpy
2006-10-06 10:06:37 +00:00
Patrick Caulfield
82fa497c16
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
44fd345206
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
088e1c9db4
Fix _for_each_pv() for mirror with core log.
2006-10-05 21:24:48 +00:00
Alasdair Kergon
d4f16e666e
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
8233cfd371
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
ff05e2e30d
Remove unused #defines from filter-md.c.
2006-10-04 16:03:17 +00:00
Patrick Caulfield
a8ea7dd3fb
Make clvmd restart init script wait until clvmd has died before starting it.
2006-10-04 08:42:14 +00:00
Patrick Caulfield
96f70a5303
Update man page for clvmd -R
2006-10-04 08:28:17 +00:00
Patrick Caulfield
f1604c3e69
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
c42c8c5192
Test. Future commit messages should now also go to the dm-devel list
...
(450 subscribers) for discussion as well as the read-only dm-cvs list
(just 15 subscribers).
2006-10-03 21:51:28 +00:00
Alasdair Kergon
5facb53a41
exclude targets that are always built-in
2006-10-03 18:02:06 +00:00
Alasdair Kergon
d039ce89af
Add LV column to reports listing kernel modules needed for activation.
2006-10-03 17:55:20 +00:00
Alasdair Kergon
bc7605103f
Show available fields if report given invalid field. (e.g. lvs -o list)
2006-10-02 16:46:27 +00:00
Alasdair Kergon
d305d655d4
Fix compiler warnings in percent arg. [pjc]
2006-10-02 16:15:03 +00:00
Alasdair Kergon
4ef1220b16
Add timestamp functions with --disable-realtime configure option. [AJ]
2006-09-30 20:02:02 +00:00
Alasdair Kergon
a4fef143cd
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
74ecb724a9
Fix two potential NULL pointer derefs in error cases in vg_read().
2006-09-21 20:25:54 +00:00
Alasdair Kergon
af235897ab
Separate --enable-cluster from locking lib options in lvmconf.sh.
2006-09-20 17:36:47 +00:00
Alasdair Kergon
5ec4e458b5
Supply missing comma. [via Debian]
2006-09-19 20:20:40 +00:00
Alasdair Kergon
2dae63ce21
post-release
2006-09-19 19:36:59 +00:00
Alasdair Kergon
be748fe33b
pre-release
old-v2_02_10
v2_02_10
2006-09-19 19:15:10 +00:00
Alasdair Kergon
7408340b6a
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
29eb92446e
post-release
2006-09-19 17:50:58 +00:00
Alasdair Kergon
ae6918742e
pre-release
dm_v1_02_10
old-dm_v1_02_10
2006-09-19 17:43:03 +00:00
Alasdair Kergon
863484bb65
Reorder mm bounds_check code to reduce window for a dmeventd race. (dm_free_aux)
2006-09-19 17:30:04 +00:00
Alasdair Kergon
1cd7ebce4c
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
eef8c7862e
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
b52375d446
fix vgreduce clustered check
2006-09-07 23:23:45 +00:00
Alasdair Kergon
6e2babc2ce
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
08e253bed1
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
c6661477a2
Change default locking_lib to liblvm2clusterlock.so.
2006-08-31 20:56:33 +00:00
Alasdair Kergon
415cfd99a0
Add skip_dev_dir() to process command line VGs.
2006-08-25 23:02:33 +00:00
Patrick Caulfield
8c2e37381a
Stop clvmd complaining about nodes that have left the cluster
2006-08-24 12:45:05 +00:00
Alasdair Kergon
45df79feba
stub.h shouldn't be here
2006-08-22 15:56:06 +00:00
Patrick Caulfield
5824f992b7
Add needed new parameter to create_toolcontext().
2006-08-22 09:49:20 +00:00
Alasdair Kergon
b0b60fafd5
Move lvm_snprintf into libdevmapper.
2006-08-21 12:54:53 +00:00
Alasdair Kergon
8d98b02ba2
Add dm_snprintf
old-v1_02_10
v1_02_10
2006-08-21 12:52:39 +00:00
Alasdair Kergon
a93fe79bc4
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-21 12:07:03 +00:00
Alasdair Kergon
4aebd7be37
fix lvm.conf (5) refs
2006-08-18 22:35:59 +00:00