Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=055c628e38589bf1…
Commit: 055c628e38589bf1ea66bc0b2c5da36ed115b551
Parent: 065526c59084d3d47de476acee2d095199e9412d
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Wed Feb 17 15:38:27 2016 +0100
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Wed Feb 17 15:38:27 2016 +0100
man: fix list of restricted LV name suffixes
---
man/lvm.8.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/man/lvm.8.in b/man/lvm.8.in
index 4f801c9..fe30b75 100644
--- a/man/lvm.8.in
+++ b/man/lvm.8.in
@@ -489,7 +489,7 @@ not be used as LV or VG names. A VG cannot be called anything that exists in
An LV cannot be called '.', '..', 'snapshot' or 'pvmove'.
The LV name may also not contain any of the following strings:
\fR'_cdata', '_cmeta', '_corig', '_mlog', '_mimage', '_pmspare',
-\fR'_rimage', '_rlog', '_tdata' or '_tmeta'.
+\fR'_rimage', '_rmeta', '_tdata', '_tmeta' or '_vorigin'.
A directory bearing the name of each Volume Group is created under
\fI/dev\fP when any of its Logical Volumes are activated.
Each active Logical Volume is accessible from this directory as a symbolic
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=45be3c875f4605f4…
Commit: 45be3c875f4605f4f950e8abfa12cf422526f5db
Parent: 099d99975c25ba4f4c0593b778c95e7e185fd527
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Mon Feb 15 15:50:11 2016 +0100
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Mon Feb 15 15:52:13 2016 +0100
pv: use pv->fmt to check for fake PVs, not pv->vg
pv->vg is not set yet during pvcreate processing. Use pv->fmt instead to
check for these fake PVs (all normal PVs have format defined, devices
which are not PVs don't have this set).
This fixes commit 0000db7f98a07aa31c5b1cf13938b612e7f2821b.
---
lib/metadata/pv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/metadata/pv.c b/lib/metadata/pv.c
index d5820b5..1d68045 100644
--- a/lib/metadata/pv.c
+++ b/lib/metadata/pv.c
@@ -213,7 +213,7 @@ int is_used_pv(const struct physical_volume *pv)
struct lvmcache_info *info;
uint32_t ext_flags;
- if (!pv->vg)
+ if (!pv->fmt)
return 0;
if (!is_orphan(pv))
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=099d99975c25ba4f…
Commit: 099d99975c25ba4f4c0593b778c95e7e185fd527
Parent: cc9e683adcb6c56332d708baf02dec63eba4fba9
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Mon Feb 15 15:20:23 2016 +0100
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Mon Feb 15 15:20:23 2016 +0100
cleanup: make the message about marked PVs consistent with the others
---
tools/toollib.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/toollib.c b/tools/toollib.c
index 1bdc113..22c38a1 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -3068,7 +3068,7 @@ static int _process_pvs_in_vg(struct cmd_context *cmd,
pv_name = pv_dev_name(pv);
if (cmd->system_id && is_orphan(pv) && is_used_pv(pv)) {
- log_verbose("PV %s is belonging to a VG but its metadata is missing.", pv_name);
+ log_verbose("PV %s is marked as belonging to a VG but its metadata is missing.", pv_name);
log_verbose("Skipping PV %s because it's not possible to decide whether it matches system id.", pv_name);
continue;
}