]> sourceware.org Git - lvm2.git/log
lvm2.git
16 years agoAllow for vginfo changing during _vg_read.
Alasdair Kergon [Fri, 6 Jun 2008 09:48:04 +0000 (09:48 +0000)]
Allow for vginfo changing during _vg_read.

16 years agoInitialise params buffer to empty string in _emit_segment.
Alasdair Kergon [Thu, 5 Jun 2008 19:10:35 +0000 (19:10 +0000)]
Initialise params buffer to empty string in _emit_segment.

16 years agoDecode numbers in clvmd debugging output.
Alasdair Kergon [Thu, 5 Jun 2008 14:24:28 +0000 (14:24 +0000)]
Decode numbers in clvmd debugging output.

16 years agoAdd missing deactivation after activation failure in lvcreate -Zy.
Alasdair Kergon [Thu, 5 Jun 2008 13:38:30 +0000 (13:38 +0000)]
Add missing deactivation after activation failure in lvcreate -Zy.

16 years agoWhen activating, if precommitted metadata is still cached, assume it's live.
Alasdair Kergon [Thu, 5 Jun 2008 13:06:39 +0000 (13:06 +0000)]
When activating, if precommitted metadata is still cached, assume it's live.

16 years agoWhen removing LV symlinks, skip any where the VG name is not determined.
Alasdair Kergon [Thu, 5 Jun 2008 12:45:55 +0000 (12:45 +0000)]
When removing LV symlinks, skip any where the VG name is not determined.

16 years agoDrop metadata cache if update fails in vg_revert or vg_commit.
Alasdair Kergon [Tue, 3 Jun 2008 17:56:54 +0000 (17:56 +0000)]
Drop metadata cache if update fails in vg_revert or vg_commit.

16 years agoCorrect config file line numbers in messages when parsing comments. (kabi)
Alasdair Kergon [Tue, 3 Jun 2008 17:51:04 +0000 (17:51 +0000)]
Correct config file line numbers in messages when parsing comments. (kabi)

16 years agosuppress warning on silent failure with ECMD_PROCESSED
Alasdair Kergon [Tue, 3 Jun 2008 17:48:13 +0000 (17:48 +0000)]
suppress warning on silent failure with ECMD_PROCESSED

16 years agoTrivial fix to lvchange man pg for consistency.
Dave Wysochanski [Mon, 2 Jun 2008 15:54:32 +0000 (15:54 +0000)]
Trivial fix to lvchange man pg for consistency.

16 years agoIn script-processing mode, stop if any command fails.
Alasdair Kergon [Fri, 30 May 2008 15:27:44 +0000 (15:27 +0000)]
In script-processing mode, stop if any command fails.
Warn if command exits with non-zero status code without a prior log_error.

16 years agofix setpriority int error
Alasdair Kergon [Wed, 28 May 2008 23:12:45 +0000 (23:12 +0000)]
fix setpriority int error

16 years agoAvoid spurious duplicate VG messages referring to VGs that are gone.
Alasdair Kergon [Wed, 28 May 2008 22:27:47 +0000 (22:27 +0000)]
Avoid spurious duplicate VG messages referring to VGs that are gone.
(untested)

16 years agoSkip add_dev_node when ioctls disabled.
Alasdair Kergon [Wed, 21 May 2008 16:14:46 +0000 (16:14 +0000)]
Skip add_dev_node when ioctls disabled.
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.

16 years agoTemporarily disable dmeventd mirror monitoring during lvchange --resync.
Alasdair Kergon [Wed, 21 May 2008 14:10:11 +0000 (14:10 +0000)]
Temporarily disable dmeventd mirror monitoring during lvchange --resync.

16 years agorevert accidental checkin
Alasdair Kergon [Mon, 19 May 2008 20:06:34 +0000 (20:06 +0000)]
revert accidental checkin

16 years agoRefactor some vginfo manipulation code.
Alasdair Kergon [Mon, 19 May 2008 19:49:56 +0000 (19:49 +0000)]
Refactor some vginfo manipulation code.

16 years agomore cleanup
Alasdair Kergon [Fri, 9 May 2008 19:26:58 +0000 (19:26 +0000)]
more cleanup

16 years agoMore P_ and V_ lock cleanup.
Alasdair Kergon [Fri, 9 May 2008 18:45:15 +0000 (18:45 +0000)]
More P_ and V_ lock cleanup.

16 years agoAdd missing mutex around clvmd lvmcache_drop_metadata library call.
Alasdair Kergon [Fri, 9 May 2008 15:13:20 +0000 (15:13 +0000)]
Add missing mutex around clvmd lvmcache_drop_metadata library call.

16 years agoFix uninitialised mutex in clvmd if all daemons are not running at startup.
Christine Caulfield [Fri, 9 May 2008 09:59:39 +0000 (09:59 +0000)]
Fix uninitialised mutex in clvmd if all daemons are not running at startup.

Thanks to Mark Hlawatschek for pointing this out.

16 years agoMake clvmd-cman use a hash rather than an array for node updown info.
Christine Caulfield [Fri, 9 May 2008 07:20:04 +0000 (07:20 +0000)]
Make clvmd-cman use a hash rather than an array for node updown info.
This will allow it to cope with very large nodeids such as those
generated by clusters using cman_tool join -X

16 years agoAvoid unnecessary unlock attempts with LCK_CACHE pseudo-locks.
Alasdair Kergon [Thu, 8 May 2008 18:35:58 +0000 (18:35 +0000)]
Avoid unnecessary unlock attempts with LCK_CACHE pseudo-locks.

16 years agoWhen asked to drop cached committed VG metadata, invalidate cached PV labels.
Alasdair Kergon [Thu, 8 May 2008 18:28:27 +0000 (18:28 +0000)]
When asked to drop cached committed VG metadata, invalidate cached PV labels.

16 years agoDrop metadata cache before writing precommitted metadata instead of after.
Alasdair Kergon [Thu, 8 May 2008 18:06:58 +0000 (18:06 +0000)]
Drop metadata cache before writing precommitted metadata instead of after.

16 years agoremove unused lvmcache_drop_vg prototype
Alasdair Kergon [Thu, 8 May 2008 18:00:47 +0000 (18:00 +0000)]
remove unused lvmcache_drop_vg prototype

16 years agoDon't touch /dev in vgrename if activation is disabled.
Alasdair Kergon [Wed, 30 Apr 2008 14:34:02 +0000 (14:34 +0000)]
Don't touch /dev in vgrename if activation is disabled.

16 years agopost-release - reinstate incomplete enhancements
Alasdair Kergon [Tue, 29 Apr 2008 16:11:28 +0000 (16:11 +0000)]
post-release - reinstate incomplete enhancements

16 years agopre-release (bug fixes only - enhancements excluded)
Alasdair Kergon [Tue, 29 Apr 2008 15:58:25 +0000 (15:58 +0000)]
pre-release (bug fixes only - enhancements excluded)

16 years agofixing fsadm usage with older blockdev,blkid,readline tools
Zdenek Kabelac [Tue, 29 Apr 2008 15:25:28 +0000 (15:25 +0000)]
fixing fsadm usage with older blockdev,blkid,readline tools
fixing lvresize extension code path where size was not set for fsadm

16 years ago. remove_lock_wait.diff remove the definition of "struct lock_wait",
Christine Caulfield [Tue, 29 Apr 2008 08:55:20 +0000 (08:55 +0000)]
. remove_lock_wait.diff remove the definition of "struct lock_wait",
which is not used since the switch away from async version saLck
. num_nodes should equal to member_list_entries, i.e.
joined_list_entires is 0 when a node leaves the group.

Thanks to Xinwei Hu for the patch.

16 years agoThe attached patch is a try to make clvmd work correctly on openais stack.
Christine Caulfield [Mon, 28 Apr 2008 08:57:11 +0000 (08:57 +0000)]
The attached patch is a try to make clvmd work correctly on openais stack.
It does 2 things.

1. The cpg_deliver_callback make a compare between target_nodeid and our_nodeid.
It turns out openais set target_nodeid to 0 sometimes. for broadcasting ? I change the behavior so that lvm will process_remote also on target_nodeid == 0

2. The joined_list passed to cpg_confchg_callback doesn't include the already exist nodes in the group, which leads to an incomplete node_hash. I simply add all other nodes in member_list to node_hash also.

Thanks to Xinwei Hu for this patch.

16 years agoExclude VG_GLOBAL from internal concurrent VG lock counter.
Alasdair Kergon [Thu, 24 Apr 2008 02:22:07 +0000 (02:22 +0000)]
Exclude VG_GLOBAL from internal concurrent VG lock counter.
(Avoids 'device left open' warning messages from vgscan etc.)

16 years agoAdd test for rhbz440405 - lvconvert -m0 fails incorrectly if all PEs allocated.
Dave Wysochanski [Wed, 23 Apr 2008 18:27:59 +0000 (18:27 +0000)]
Add test for rhbz440405 - lvconvert -m0 fails incorrectly if all PEs allocated.

16 years agoFix vgsplit internal counting of snapshot LVs.
Dave Wysochanski [Wed, 23 Apr 2008 14:33:06 +0000 (14:33 +0000)]
Fix vgsplit internal counting of snapshot LVs.

16 years agoUpdate test function _check_{vg|lv|pv}_field to aid in test debug.
Dave Wysochanski [Wed, 23 Apr 2008 13:02:03 +0000 (13:02 +0000)]
Update test function _check_{vg|lv|pv}_field to aid in test debug.

Author: Dave Wysochanski <dwysocha@redhat.com>

16 years agoFix internal snapshot_count when vgmerge with snapshots in source VG.
Dave Wysochanski [Wed, 23 Apr 2008 12:53:10 +0000 (12:53 +0000)]
Fix internal snapshot_count when vgmerge with snapshots in source VG.

16 years agoSimplify locking code by using saLckResourceLock rather than
Christine Caulfield [Wed, 23 Apr 2008 09:53:49 +0000 (09:53 +0000)]
Simplify locking code by using saLckResourceLock rather than
saLckResourceLockAsync.

Thanks to Xinwei Hu for the patch.

16 years agoCheck lv_count in vg_validate.
Alasdair Kergon [Tue, 22 Apr 2008 12:54:33 +0000 (12:54 +0000)]
Check lv_count in vg_validate.
Fix internal LV counter when a snapshot is removed.

16 years agoFix metadata corruption writing lvm1-formatted metadata with snapshots.
Alasdair Kergon [Tue, 22 Apr 2008 11:47:22 +0000 (11:47 +0000)]
Fix metadata corruption writing lvm1-formatted metadata with snapshots.

16 years agoUse 'active' for !suspended as the code already uses that.
Alasdair Kergon [Mon, 21 Apr 2008 16:57:11 +0000 (16:57 +0000)]
Use 'active' for !suspended as the code already uses that.

16 years agoAdd 3 new reporting colums: tables_loaded, readonly, suspended.
Alasdair Kergon [Mon, 21 Apr 2008 13:16:30 +0000 (13:16 +0000)]
Add 3 new reporting colums: tables_loaded, readonly, suspended.

16 years agoAdd --prefixes to dmsetup
Alasdair Kergon [Mon, 21 Apr 2008 11:59:22 +0000 (11:59 +0000)]
Add --prefixes to dmsetup

E.g. dmsetup info -c --prefixes

Again, might change the name of this option.

16 years agoAdd --prefixes to reporting tools for field name prefix output format.
Alasdair Kergon [Sun, 20 Apr 2008 00:15:08 +0000 (00:15 +0000)]
Add --prefixes to reporting tools for field name prefix output format.

E.g. lvs --prefixes --noheadings --unbuffered --units m --nosuffix

(Used '--prefixes' for now, but I'm looking for a better name.)

16 years agoAdd field name prefix option to reporting functions.
Alasdair Kergon [Sun, 20 Apr 2008 00:11:08 +0000 (00:11 +0000)]
Add field name prefix option to reporting functions.

16 years agoCalculate string size within dm_pool_grow_object.
Alasdair Kergon [Sat, 19 Apr 2008 15:50:18 +0000 (15:50 +0000)]
Calculate string size within dm_pool_grow_object.

16 years agoFix lvconvert -m0 allocatable space check.
Alasdair Kergon [Fri, 18 Apr 2008 12:50:24 +0000 (12:50 +0000)]
Fix lvconvert -m0 allocatable space check.

16 years agopost-release
Alasdair Kergon [Tue, 15 Apr 2008 15:01:18 +0000 (15:01 +0000)]
post-release

16 years agomissing stack
Alasdair Kergon [Tue, 15 Apr 2008 14:57:12 +0000 (14:57 +0000)]
missing stack

16 years agopre-release
Alasdair Kergon [Tue, 15 Apr 2008 14:49:17 +0000 (14:49 +0000)]
pre-release

16 years agoDrop cached VG metadata before and after committing changes to it.
Milan Broz [Tue, 15 Apr 2008 14:46:19 +0000 (14:46 +0000)]
Drop cached VG metadata before and after committing changes to it.

16 years agorename P_global to P_#global
Alasdair Kergon [Tue, 15 Apr 2008 11:36:46 +0000 (11:36 +0000)]
rename P_global to P_#global

16 years agoDon't attempt remote metadata backups of non-clustered VGs. (2.02.29)
Alasdair Kergon [Mon, 14 Apr 2008 19:49:12 +0000 (19:49 +0000)]
Don't attempt remote metadata backups of non-clustered VGs. (2.02.29)

16 years agoDon't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)
Alasdair Kergon [Mon, 14 Apr 2008 19:24:16 +0000 (19:24 +0000)]
Don't store fid in VG metadata cache to avoid clvmd segfault. (2.02.34)

16 years agoFix vgsplit and vgmerge tests for updated lv counting.
Dave Wysochanski [Fri, 11 Apr 2008 14:06:16 +0000 (14:06 +0000)]
Fix vgsplit and vgmerge tests for updated lv counting.

16 years agoUpdate vgsplit test to verify loosening of active LV restriction.
Dave Wysochanski [Thu, 10 Apr 2008 21:38:52 +0000 (21:38 +0000)]
Update vgsplit test to verify loosening of active LV restriction.

This and prior 2 commits resolve Red Hat bz 252041:
Ability to vgsplit an active Volume Group where the split involves only inactive LVs

16 years agoUpdate vgsplit to only restrict split with active LVs involved in split.
Dave Wysochanski [Thu, 10 Apr 2008 21:34:53 +0000 (21:34 +0000)]
Update vgsplit to only restrict split with active LVs involved in split.

Existing code will reject a vgsplit if any LVs in the source VG are active.
This patch updates vgsplit to only check LVs involved in the split.

16 years agoAdd lv_is_active() to determine whether an lv is active.
Dave Wysochanski [Thu, 10 Apr 2008 21:34:18 +0000 (21:34 +0000)]
Add lv_is_active() to determine whether an lv is active.

Handles non-clustered as well as clustered.  For clustered,
the best we can do is try exclusive local activation.  If this
succeeds, we know it is not active elsewhere in the cluster.
Otherwise, we assume it is active elsewhere.

16 years agopost-release
Alasdair Kergon [Thu, 10 Apr 2008 20:07:19 +0000 (20:07 +0000)]
post-release

16 years ago.
Alasdair Kergon [Thu, 10 Apr 2008 20:02:04 +0000 (20:02 +0000)]
.

16 years agomore pre-release cleanup
Alasdair Kergon [Thu, 10 Apr 2008 19:59:43 +0000 (19:59 +0000)]
more pre-release cleanup

16 years agofix 3rd copy
Alasdair Kergon [Thu, 10 Apr 2008 19:16:35 +0000 (19:16 +0000)]
fix 3rd copy

16 years agomake list_move consistent with other list fns
Alasdair Kergon [Thu, 10 Apr 2008 19:14:27 +0000 (19:14 +0000)]
make list_move consistent with other list fns

16 years agoUpdate vgsplit tests that count LVs for adjusted LV counting.
Dave Wysochanski [Thu, 10 Apr 2008 18:55:40 +0000 (18:55 +0000)]
Update vgsplit tests that count LVs for adjusted LV counting.

16 years ago.
Alasdair Kergon [Thu, 10 Apr 2008 18:53:36 +0000 (18:53 +0000)]
.

16 years agopre-release
Alasdair Kergon [Thu, 10 Apr 2008 18:19:49 +0000 (18:19 +0000)]
pre-release

16 years agopost-release
Alasdair Kergon [Thu, 10 Apr 2008 18:04:31 +0000 (18:04 +0000)]
post-release

16 years agopre-release
Alasdair Kergon [Thu, 10 Apr 2008 18:00:45 +0000 (18:00 +0000)]
pre-release

16 years agoFix vgdisplay 'Cur LV' field to match lvdisplay output.
Alasdair Kergon [Thu, 10 Apr 2008 17:19:02 +0000 (17:19 +0000)]
Fix vgdisplay 'Cur LV' field to match lvdisplay output.
Fix lv_count report field to exclude hidden LVs.

16 years agoAdd vg_is_clustered() helper function.
Dave Wysochanski [Thu, 10 Apr 2008 17:09:32 +0000 (17:09 +0000)]
Add vg_is_clustered() helper function.

Should be no functional change.

16 years agoMinor vgsplit cleanups.
Dave Wysochanski [Thu, 10 Apr 2008 02:15:56 +0000 (02:15 +0000)]
Minor vgsplit cleanups.

16 years agoAdd _move_one_lv() helper function for vgsplit.
Dave Wysochanski [Thu, 10 Apr 2008 01:30:22 +0000 (01:30 +0000)]
Add _move_one_lv() helper function for vgsplit.

16 years agoFix lvm tool exit code display in some tests.
Dave Wysochanski [Thu, 10 Apr 2008 01:06:48 +0000 (01:06 +0000)]
Fix lvm tool exit code display in some tests.

16 years agoAdd vgsplit tests to verify mirror is not moved unnecessarily.
Dave Wysochanski [Wed, 9 Apr 2008 21:10:13 +0000 (21:10 +0000)]
Add vgsplit tests to verify mirror is not moved unnecessarily.

16 years agoFix vgsplit to only move hidden 'snapshotN' LVs when necessary.
Dave Wysochanski [Wed, 9 Apr 2008 20:56:06 +0000 (20:56 +0000)]
Fix vgsplit to only move hidden 'snapshotN' LVs when necessary.

This bug has been around for a long time as far as I can tell.
Without this fix, a vgsplit would unconditionally move the
'hidden/internal' snapshot LVs, and result in corrupted metadata
in the following case:
vg1: contains lv1, lv1snap, both on pvset1
vg1: contains lv2, on pvset2

"vgsplit vg1 vg2 pvset2"
would result in "snapshot0" hidden LV being moved to vg2, and
the origin and cow being left in vg1.  The tools detect the
corruption in vg2, but not in vg1.

16 years agoUpdate vgsplit tests for lvnames on the cmdline.
Dave Wysochanski [Wed, 9 Apr 2008 14:47:34 +0000 (14:47 +0000)]
Update vgsplit tests for lvnames on the cmdline.

16 years agoUpdate vgsplit man page to reflect lvnames on cmdline.
Dave Wysochanski [Wed, 9 Apr 2008 14:39:55 +0000 (14:39 +0000)]
Update vgsplit man page to reflect lvnames on cmdline.

16 years agoUpdate vgsplit to take "-n LogicalVolumeName" on the commandline.
Dave Wysochanski [Wed, 9 Apr 2008 13:47:13 +0000 (13:47 +0000)]
Update vgsplit to take "-n LogicalVolumeName" on the commandline.

16 years agoUse clustered mirror log with pvmove in clustered VGs, if available.
Alasdair Kergon [Wed, 9 Apr 2008 12:56:34 +0000 (12:56 +0000)]
Use clustered mirror log with pvmove in clustered VGs, if available.

16 years ago Fix some pvmove error status codes.
Alasdair Kergon [Wed, 9 Apr 2008 12:45:32 +0000 (12:45 +0000)]
 Fix some pvmove error status codes.

16 years ago*** empty log message ***
Dave Wysochanski [Tue, 8 Apr 2008 22:02:16 +0000 (22:02 +0000)]
*** empty log message ***

16 years agoFix vgsplit error display - fully remove log_suppress.
Dave Wysochanski [Tue, 8 Apr 2008 21:47:54 +0000 (21:47 +0000)]
Fix vgsplit error display - fully remove log_suppress.

Author: Dave Wysochanski <dwysocha@redhat.com>

16 years agoFix vgsplit error paths to release vg_to lock.
Dave Wysochanski [Tue, 8 Apr 2008 21:38:09 +0000 (21:38 +0000)]
Fix vgsplit error paths to release vg_to lock.

16 years agoIndicate whether or not VG is clustered in vgcreate log message.
Alasdair Kergon [Tue, 8 Apr 2008 14:22:13 +0000 (14:22 +0000)]
Indicate whether or not VG is clustered in vgcreate log message.
Mention default --clustered setting in vgcreate man page.

16 years agoAdd config file overrides to clvmd when it reads the LVs list so that
Christine Caulfield [Tue, 8 Apr 2008 13:03:13 +0000 (13:03 +0000)]
Add config file overrides to clvmd when it reads the LVs list so that
config items 'command_names' and 'prefix' don't prevent it working.

16 years agoFix vgreduce to use vg_split_mdas to check sufficient mdas remain.
Alasdair Kergon [Tue, 8 Apr 2008 12:49:21 +0000 (12:49 +0000)]
Fix vgreduce to use vg_split_mdas to check sufficient mdas remain.
Add (empty) orphan VGs to lvmcache during initialisation.
Fix orphan VG name used for format_pool.

16 years agocreate fids for internal orphan VGs
Alasdair Kergon [Mon, 7 Apr 2008 22:12:37 +0000 (22:12 +0000)]
create fids for internal orphan VGs

16 years agoUpdate lvmcache VG lock state for all locking types now.
Milan Broz [Mon, 7 Apr 2008 19:17:29 +0000 (19:17 +0000)]
Update lvmcache VG lock state for all locking types now.

16 years agoFix output if overriding command_names on cmdline.
Milan Broz [Mon, 7 Apr 2008 13:53:26 +0000 (13:53 +0000)]
Fix output if overriding command_names on cmdline.

16 years agoAdd detection of clustered mirror log capability.
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.

16 years agoAdd check to vg_commit() to ensure lock is held before writing new VG metadata.
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.

16 years agoAdd validation of LV name to pvmove -n.
Milan Broz [Fri, 4 Apr 2008 11:59:31 +0000 (11:59 +0000)]
Add validation of LV name to pvmove -n.

16 years agoIf lvm.conf was touched, clvmd attempted to update the toolcontext
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.

16 years agoAdd some basic internal VG lock validation.
Alasdair Kergon [Thu, 3 Apr 2008 18:56:40 +0000 (18:56 +0000)]
Add some basic internal VG lock validation.

16 years ago.
Alasdair Kergon [Thu, 3 Apr 2008 14:40:34 +0000 (14:40 +0000)]
.

16 years ago.
Alasdair Kergon [Thu, 3 Apr 2008 14:32:31 +0000 (14:32 +0000)]
.

16 years agofix vd->virtblk
Alasdair Kergon [Thu, 3 Apr 2008 10:29:00 +0000 (10:29 +0000)]
fix vd->virtblk

16 years agoenable vg metadata cache by default
Alasdair Kergon [Wed, 2 Apr 2008 21:31:14 +0000 (21:31 +0000)]
enable vg metadata cache by default

16 years agoAdd per-command flags to control which commands use the VG metadata cache.
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.

16 years agoFix vgsplit locking and remove unneeded error messages when split into new VG.
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

This page took 0.066446 seconds and 5 git commands to generate.