]>
sourceware.org Git - lvm2.git/log
Alasdair Kergon [Mon, 7 Apr 2008 22:12:37 +0000 (22:12 +0000)]
create fids for internal orphan VGs
Milan Broz [Mon, 7 Apr 2008 19:17:29 +0000 (19:17 +0000)]
Update lvmcache VG lock state for all locking types now.
Milan Broz [Mon, 7 Apr 2008 13:53:26 +0000 (13:53 +0000)]
Fix output if overriding command_names on cmdline.
Milan Broz [Mon, 7 Apr 2008 10:23:47 +0000 (10:23 +0000)]
Add detection of clustered mirror log capability.
Currently only check for kernel module presence.
Dave Wysochanski [Fri, 4 Apr 2008 15:41:20 +0000 (15:41 +0000)]
Add check to vg_commit() to ensure lock is held before writing new VG metadata.
Milan Broz [Fri, 4 Apr 2008 11:59:31 +0000 (11:59 +0000)]
Add validation of LV name to pvmove -n.
Christine Caulfield [Fri, 4 Apr 2008 08:53:47 +0000 (08:53 +0000)]
If lvm.conf was touched, clvmd attempted to update the toolcontext
but only did half of the job. It now shares the do_refresh_cache()
function that vgscan invokes.
Alasdair Kergon [Thu, 3 Apr 2008 18:56:40 +0000 (18:56 +0000)]
Add some basic internal VG lock validation.
Alasdair Kergon [Thu, 3 Apr 2008 14:40:34 +0000 (14:40 +0000)]
.
Alasdair Kergon [Thu, 3 Apr 2008 14:32:31 +0000 (14:32 +0000)]
.
Alasdair Kergon [Thu, 3 Apr 2008 10:29:00 +0000 (10:29 +0000)]
fix vd->virtblk
Alasdair Kergon [Wed, 2 Apr 2008 21:31:14 +0000 (21:31 +0000)]
enable vg metadata cache by default
Alasdair Kergon [Wed, 2 Apr 2008 21:23:39 +0000 (21:23 +0000)]
Add per-command flags to control which commands use the VG metadata cache.
Dave Wysochanski [Wed, 2 Apr 2008 19:30:12 +0000 (19:30 +0000)]
Fix vgsplit locking and remove unneeded error messages when split into new VG.
When vg_lock_and_read() calls were added, they were done so incorrectly for
the destination VG (vg_to). This resulted in the VG lock not obtained when
a new VG was the destination (vg_lock_and_read() would fail in the vg_read()
clause, which would then release the lock before returning NULL), and could
result in corrupted destination VG.
The fix was to put back the original lock_vol() and vg_read() calls for 'vg_to'.
The failure of vg_read() indicates "vg does not exist", and we key off that
to determine whether we are dealing with a new or existing VG as the
destination.
The first two error messages were also the result of the incorrect
vg_lock_and_read() calls:
Volume group "new" not found
cluster request failed: Invalid argument
New volume group "new" successfully split from "vg"
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=438249
Dave Wysochanski [Wed, 2 Apr 2008 13:08:49 +0000 (13:08 +0000)]
Suppress "Volume group not found" message when vgsplit of new VG.
Dave Wysochanski [Wed, 2 Apr 2008 12:17:30 +0000 (12:17 +0000)]
Fix lvresize to dump stack if vg_lock_and_read() fails.
Necessary because vg_lock_and_read() may fail silently if the vg_check_status() call fails.
Also add lvresize tests.
Alasdair Kergon [Tue, 1 Apr 2008 22:40:13 +0000 (22:40 +0000)]
Cache VG metadata internally while VG lock is held.
Dave Wysochanski [Tue, 1 Apr 2008 22:15:16 +0000 (22:15 +0000)]
Fix redundant lvresize message if vg doesn't exist.
BEFORE:
tools/lvm lvresize -l +4 vg22/lv1linear
Volume group "vg22" not found
Volume group vg22 doesn't exist
AFTER:
tools/lvm lvresize -l +4 vg22/lv1linear
Volume group "vg22" not found
Christine Caulfield [Tue, 1 Apr 2008 15:01:30 +0000 (15:01 +0000)]
Fix another allocation bug with clvmd and large node IDs.`
Dave Wysochanski [Fri, 28 Mar 2008 19:08:23 +0000 (19:08 +0000)]
Add find_lv_in_lv_list() and find_pv_in_pv_list().
Update _add_pvs() to call find_pv_in_pv_list().
Dave Wysochanski [Fri, 28 Mar 2008 18:02:22 +0000 (18:02 +0000)]
Enhance test debugging by updating verbose mode of check_*_field_ functions.
Author: Dave Wysochanski <dwysocha@redhat.com>
Christine Caulfield [Fri, 28 Mar 2008 12:58:09 +0000 (12:58 +0000)]
Fix a couple of uninitialised variables. The newfd one could cause
some obscure hangs.
Dave Wysochanski [Wed, 26 Mar 2008 18:03:35 +0000 (18:03 +0000)]
Add vgmerge tests.
Dave Wysochanski [Wed, 26 Mar 2008 17:26:32 +0000 (17:26 +0000)]
Use list_move() in applicable places.
Dave Wysochanski [Wed, 26 Mar 2008 16:48:10 +0000 (16:48 +0000)]
Add pvseg_is_allocated() for identifying a PV segment allocated to a LV.
Dave Wysochanski [Wed, 26 Mar 2008 16:20:54 +0000 (16:20 +0000)]
Add list_move() support function for list manipulation.
Dave Wysochanski [Tue, 25 Mar 2008 15:24:59 +0000 (15:24 +0000)]
Add 'is_reserved_lvname()' helper function.
Very similar to apply_lvname_restrictions but without the error messages.
Alasdair Kergon [Tue, 25 Mar 2008 12:37:48 +0000 (12:37 +0000)]
Correct command name in lvmdiskscan man page.
Christine Caulfield [Tue, 25 Mar 2008 10:41:59 +0000 (10:41 +0000)]
When reallocating the node IDs array, make it bigger rather than smaller!
Dave Wysochanski [Sun, 23 Mar 2008 15:40:35 +0000 (15:40 +0000)]
Add vgsplit tests to verfy attributes of new VG match source VG.
Author: Dave Wysochanski <dwysocha@redhat.com>
Dave Wysochanski [Fri, 21 Mar 2008 22:00:29 +0000 (22:00 +0000)]
Fixup vgsplit tests in preparation for vgsplit changes.
Dave Wysochanski [Fri, 21 Mar 2008 21:14:38 +0000 (21:14 +0000)]
Update vgsplit tests to execute twice (existing and new VG as destination).
Dave Wysochanski [Thu, 20 Mar 2008 18:34:29 +0000 (18:34 +0000)]
Add LV and VG name restrictions to the lvm man page.
Original patch by: Gerrard Geldenhuis <Gerrard.Geldenhuis@datacash.com>
Alasdair Kergon [Mon, 17 Mar 2008 16:51:31 +0000 (16:51 +0000)]
preparation for vg cache
Christine Caulfield [Mon, 17 Mar 2008 09:37:47 +0000 (09:37 +0000)]
Fix potential thread deadlock.
Also make local sockets non-blocking.
Dave Wysochanski [Thu, 13 Mar 2008 22:51:24 +0000 (22:51 +0000)]
Const cleanups in find_* functions.
Alasdair Kergon [Thu, 13 Mar 2008 12:33:22 +0000 (12:33 +0000)]
Refactor text format initialisation into _init_text_import.
Milan Broz [Wed, 12 Mar 2008 17:34:58 +0000 (17:34 +0000)]
Add metadata test for escaping double quotes in device names (bz431474).
Alasdair Kergon [Wed, 12 Mar 2008 16:03:22 +0000 (16:03 +0000)]
Escape double quotes and backslashes in external metadata and config data.
Add functions for escaping double quotes in strings.
Rename count_chars_len to count_chars.
Alasdair Kergon [Mon, 10 Mar 2008 18:51:27 +0000 (18:51 +0000)]
Use return_0 in a couple more places.
Correct a function name typo in _line_append error message.
Christine Caulfield [Thu, 6 Mar 2008 08:41:05 +0000 (08:41 +0000)]
Include limits.h so it compiles with newer headers.
Alasdair Kergon [Wed, 5 Mar 2008 18:15:04 +0000 (18:15 +0000)]
add vd to filters
Dave Wysochanski [Tue, 4 Mar 2008 22:49:00 +0000 (22:49 +0000)]
Update vgsplit tests.
- Add validation on pv_count, lv_count, and snap_count after split
NOTE: Some of these counts are misleading. If you compare "lvs" output
with these counts you will be left scratching your head what a "logical volume"
really is. ;-)
Dave Wysochanski [Tue, 4 Mar 2008 19:48:32 +0000 (19:48 +0000)]
Update vgsplit tests.
- Divide into 'usage' and 'operation' tests.
- Add operation tests for specific LV types.
Dave Wysochanski [Fri, 29 Feb 2008 00:13:48 +0000 (00:13 +0000)]
Refactor _move_pv() in vgsplit.
Should be no functional change.
Dave Wysochanski [Fri, 29 Feb 2008 00:09:21 +0000 (00:09 +0000)]
Add vgsplit test to check failure when PV not in source volume group.
Dave Wysochanski [Thu, 28 Feb 2008 17:39:47 +0000 (17:39 +0000)]
Fix t-vgsplit-operation.sh lv2-3 definitions to include test signature.
Dave Wysochanski [Thu, 28 Feb 2008 16:48:09 +0000 (16:48 +0000)]
Fix t-vgsplit-operation.sh lv1 definition to include test signature.
Alasdair Kergon [Fri, 22 Feb 2008 13:28:29 +0000 (13:28 +0000)]
Fix resetting of MIRROR_IMAGE and VISIBLE_LV after removal of LV.
Alasdair Kergon [Fri, 22 Feb 2008 13:22:44 +0000 (13:22 +0000)]
Fix remove_layer_from_lv to empty the LV before removing it. (2.02.30)
Alasdair Kergon [Fri, 22 Feb 2008 13:22:21 +0000 (13:22 +0000)]
Add missing no-longer-used segs_using_this_lv test to check_lv_segments.
Jim Meyering [Fri, 15 Feb 2008 14:14:58 +0000 (14:14 +0000)]
Remove redundant if-before-free tests.
Jim Meyering [Fri, 15 Feb 2008 14:12:32 +0000 (14:12 +0000)]
Remove redundant if-before-free tests in clvmd.c.
Jim Meyering [Wed, 13 Feb 2008 20:01:48 +0000 (20:01 +0000)]
is_orphan: make parameter "const" to avoid compiler warning
Alasdair Kergon [Tue, 12 Feb 2008 13:29:08 +0000 (13:29 +0000)]
Fix lvconvert detection of mirror conversion in progress.
Alasdair Kergon [Tue, 12 Feb 2008 13:26:53 +0000 (13:26 +0000)]
Avoid automatic lvconvert polldaemon invocation when -R specified.
Dave Wysochanski [Mon, 11 Feb 2008 16:57:40 +0000 (16:57 +0000)]
Reflect actual default setting of preferred_names in example.conf and
update comments.
Alasdair Kergon [Wed, 6 Feb 2008 16:09:51 +0000 (16:09 +0000)]
Fix 'pvs -a' to detect VGs of PVs without metadata areas.
Alasdair Kergon [Wed, 6 Feb 2008 15:47:28 +0000 (15:47 +0000)]
split orphan VG by format type
Zdenek Kabelac [Wed, 6 Feb 2008 12:45:32 +0000 (12:45 +0000)]
Fix lvresize to support /dev/mapper prefix in the lvname
Fix unfilled paramater passed to fsadm from lvresize
Update fsadm to call lvresize if the partition size differs (with option -l)
Fix fsadm to support vg/lv name (like the rest of lv-tools)
Patrick Caulfield [Tue, 5 Feb 2008 09:38:04 +0000 (09:38 +0000)]
Update usage message for clvmd.
Fix clvmd man page printing <br>, clarified debug options.
Dave Wysochanski [Mon, 4 Feb 2008 20:26:14 +0000 (20:26 +0000)]
Fix default preferred_names filter to use /dev/mapper/mpath devices.
If these devices exist, we should be using them for multipath rather than any
underlying device names.
Reference: http://kbase.redhat.com/faq/FAQ_96_11196.shtma
bz195685
Alasdair Kergon [Thu, 31 Jan 2008 12:41:13 +0000 (12:41 +0000)]
post-release
Alasdair Kergon [Thu, 31 Jan 2008 12:36:58 +0000 (12:36 +0000)]
pre-release
Alasdair Kergon [Thu, 31 Jan 2008 12:35:31 +0000 (12:35 +0000)]
a couple more compiler warnings
Alasdair Kergon [Thu, 31 Jan 2008 12:19:36 +0000 (12:19 +0000)]
Fix mirror log name construction during lvconvert. (2.02.30)
Make monitor_dev_for_events recurse through the stack of LVs.
Clean up some more compiler warnings.
Add mirror names test script.
Alasdair Kergon [Wed, 30 Jan 2008 16:18:37 +0000 (16:18 +0000)]
only read labels once between each lock event
Alasdair Kergon [Wed, 30 Jan 2008 14:17:29 +0000 (14:17 +0000)]
undo a few 'stack' moves
Alasdair Kergon [Wed, 30 Jan 2008 14:00:02 +0000 (14:00 +0000)]
Some whitespace tidy-ups.
Alasdair Kergon [Wed, 30 Jan 2008 13:19:47 +0000 (13:19 +0000)]
Use stack return macros throughout.
Alasdair Kergon [Tue, 29 Jan 2008 23:45:48 +0000 (23:45 +0000)]
Rely upon internally-cached PV labels while corresponding VG lock is held.
Alasdair Kergon [Tue, 29 Jan 2008 12:02:04 +0000 (12:02 +0000)]
post-release
Alasdair Kergon [Tue, 29 Jan 2008 11:48:11 +0000 (11:48 +0000)]
pre-release
Alasdair Kergon [Sat, 26 Jan 2008 00:30:28 +0000 (00:30 +0000)]
Fix two check_lv_segments error messages to show whole segment.
Alasdair Kergon [Sat, 26 Jan 2008 00:25:45 +0000 (00:25 +0000)]
.
Alasdair Kergon [Sat, 26 Jan 2008 00:25:04 +0000 (00:25 +0000)]
Refactor mirror log attachment code.
Alasdair Kergon [Sat, 26 Jan 2008 00:13:45 +0000 (00:13 +0000)]
Fix internal metadata corruption in lvchange --resync.
Alasdair Kergon [Tue, 22 Jan 2008 16:02:26 +0000 (16:02 +0000)]
suppress compiler warning
Alasdair Kergon [Tue, 22 Jan 2008 15:58:31 +0000 (15:58 +0000)]
update
Dave Wysochanski [Tue, 22 Jan 2008 03:49:39 +0000 (03:49 +0000)]
Fix vgsplit test mode
Dave Wysochanski [Tue, 22 Jan 2008 03:30:14 +0000 (03:30 +0000)]
Fix vgsplit tests 12-13
Dave Wysochanski [Tue, 22 Jan 2008 03:25:45 +0000 (03:25 +0000)]
Fix vgsplit - print different message on successful split of existing / new vg
Fix vgsplit - fix a couple error paths that forgot to call unlock_vg
Update vgsplit test cases
Dave Wysochanski [Tue, 22 Jan 2008 02:48:53 +0000 (02:48 +0000)]
Fix vgsplit - print error if vgcreate option given w/existing vg destination
Fix vgsplit - reject split if metadata types or clustered attributes differ
Fix vgsplit - remove physicalextentsize option
Add vgsplit test cases
Patrick Caulfield [Mon, 21 Jan 2008 14:07:46 +0000 (14:07 +0000)]
Remove redundant cnxman-socket.h file.
Alasdair Kergon [Sun, 20 Jan 2008 01:23:46 +0000 (01:23 +0000)]
Fix pvs, vgs, lvs error exit status on some error paths.
(note -o help is now considered error)
Alasdair Kergon [Sun, 20 Jan 2008 01:14:38 +0000 (01:14 +0000)]
Use log_warn for reporting field help text instead of log_print.
Alasdair Kergon [Sat, 19 Jan 2008 12:36:37 +0000 (12:36 +0000)]
clarify
Alasdair Kergon [Sat, 19 Jan 2008 12:30:55 +0000 (12:30 +0000)]
post-release
Alasdair Kergon [Sat, 19 Jan 2008 12:28:03 +0000 (12:28 +0000)]
Pre-release
Alasdair Kergon [Fri, 18 Jan 2008 22:02:37 +0000 (22:02 +0000)]
Fix lvcreate --nosync not to wait for non-happening sync.
Alasdair Kergon [Fri, 18 Jan 2008 22:00:46 +0000 (22:00 +0000)]
add lvconvert messages
Alasdair Kergon [Fri, 18 Jan 2008 21:56:39 +0000 (21:56 +0000)]
Fix lvcreate -M1 readahead.
Dave Wysochanski [Thu, 17 Jan 2008 18:29:36 +0000 (18:29 +0000)]
Add a test case for 'vgreduce --removemissing' on stacked mirror
Dave Wysochanski [Thu, 17 Jan 2008 18:05:57 +0000 (18:05 +0000)]
More test script fixes.
Alasdair Kergon [Thu, 17 Jan 2008 17:17:09 +0000 (17:17 +0000)]
pre-release review cleanups
Dave Wysochanski [Thu, 17 Jan 2008 15:56:53 +0000 (15:56 +0000)]
Minor test fix
Alasdair Kergon [Thu, 17 Jan 2008 15:53:01 +0000 (15:53 +0000)]
fix default stripesize
Alasdair Kergon [Thu, 17 Jan 2008 15:31:18 +0000 (15:31 +0000)]
fix default extent_size
Alasdair Kergon [Thu, 17 Jan 2008 15:02:59 +0000 (15:02 +0000)]
pre-release
Alasdair Kergon [Thu, 17 Jan 2008 13:54:05 +0000 (13:54 +0000)]
rename lv_remap_error
This page took 0.064581 seconds and 5 git commands to generate.