Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=81f07c3cca417bbf8d290…
Commit: 81f07c3cca417bbf8d290073a20586b47a6d127e
Parent: 885eb2024ffff6757bba39666a1d334d6d72a066
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Thu May 31 16:38:39 2018 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Thu May 31 16:38:39 2018 -0500
man lvmlockd: update list of limitations
---
man/lvmlockd.8_main | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/man/lvmlockd.8_main b/man/lvmlockd.8_main
index 90a07c7..9fe569d 100644
--- a/man/lvmlockd.8_main
+++ b/man/lvmlockd.8_main
@@ -843,12 +843,6 @@ to a lockd VG".
Things that do not yet work in lockd VGs:
.br
\[bu]
-creating a new thin pool and a new thin LV in a single command
-.br
-\[bu]
-using lvcreate to create cache pools or cache LVs (use lvconvert)
-.br
-\[bu]
using external origins for thin LVs
.br
\[bu]
@@ -861,10 +855,7 @@ splitting mirrors in sanlock VGs
pvmove of entire PVs, or under LVs activated with shared locks
.br
\[bu]
-vgsplit
-.br
-\[bu]
-vgmerge
+vgsplit and vgmerge (convert to a local VG to do this)
.SS lvmlockd changes from clvmd
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=06b2e5c176b7a371efa62…
Commit: 06b2e5c176b7a371efa62b27af2acb1e6f7984be
Parent: caa600a409fe811a25f2d784daeb6780ea977614
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Thu May 31 15:52:23 2018 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Thu May 31 15:52:23 2018 -0500
lvmlockd: improve error message for existing lockspace
When a VG/lockspace already exists with the same name
don't just print the error number.
---
lib/locking/lvmlockd.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c
index 0af2b38..24a46e7 100644
--- a/lib/locking/lvmlockd.c
+++ b/lib/locking/lvmlockd.c
@@ -548,6 +548,9 @@ static int _init_vg_dlm(struct cmd_context *cmd, struct volume_group *vg)
case -EPROTONOSUPPORT:
log_error("VG %s init failed: lock manager dlm is not supported by lvmlockd", vg->name);
break;
+ case -EEXIST:
+ log_error("VG %s init failed: a lockspace with the same name exists", vg->name);
+ break;
default:
log_error("VG %s init failed: %d", vg->name, result);
}
@@ -671,6 +674,9 @@ static int _init_vg_sanlock(struct cmd_context *cmd, struct volume_group *vg, in
case -EMSGSIZE:
log_error("VG %s init failed: no disk space for leases", vg->name);
break;
+ case -EEXIST:
+ log_error("VG %s init failed: a lockspace with the same name exists", vg->name);
+ break;
default:
log_error("VG %s init failed: %d", vg->name, result);
}