]> sourceware.org Git - lvm2.git/commit
lvconvert: fix vg parameter
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 25 Feb 2016 19:40:28 +0000 (20:40 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 25 Feb 2016 22:30:24 +0000 (23:30 +0100)
commitabd9618dd8b77ca1974074ae76fa6a08f1a687d9
tree7dedd2b092c42b5a123856eb3c971bb307bfb3f8
parenta68e601886e1c9b78345b4c33ce366451e2fe184
lvconvert: fix vg parameter

Since we want to read env LVM_VG_NAME vg names,
we cannot just check LV names which do contain '/'.

So before the patch commands like:

> lvconvert --repair vg

Before:

Please provide a valid volume group name

After:
Path required for Logical Volume "vg".
Please provide a valid volume group name

> LVM_VG_NAME=vg lvconvert --repair vg

Before:
Please provide a valid volume group name

After:
Can't find LV vg in VG vg
WHATS_NEW
tools/lvconvert.c
This page took 0.041896 seconds and 5 git commands to generate.