Bug 586076 - Misleading error messages in LV commands when VG name given instead of LV
Summary: Misleading error messages in LV commands when VG name given instead of LV
Alias: None
Product: Fedora
Classification: Fedora
Component: lvm2
Version: 14
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-04-26 18:46 UTC by Alasdair Kergon
Modified: 2012-08-16 19:00 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-08-16 19:00:38 UTC
Type: ---

Attachments (Terms of Use)

Description Alasdair Kergon 2010-04-26 18:46:55 UTC
> lvconvert -m0 /dev/vg3
"/dev/vg3": Invalid path for Logical Volume
Please provide a valid volume group name
Run `lvconvert --help' for more information.

> lvresize /dev/vg3 -L 10M
Path required for Logical Volume "vg3"
Please provide a volume group name
Run `lvresize --help' for more information.

Review all commands that accept LV names but not VG names and have them share validation functions and fix these messages.

Testing for sane messages should include all combinations viz. /dev, /dev/vg3, vg3, lvol0, vg3/lvol0, /dev/vg3/lvol0, /dev/lvol0

Comment 1 Corey Marthaler 2010-05-04 17:49:21 UTC
What should the testing check for, the fact that they say "Please provide a volume group name" when that's exactly what was given and not an LV name?

Comment 2 Bug Zapper 2010-07-30 11:28:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle.
Changing version to '14'.

More information and reason for this action is here:

Comment 3 Fedora End Of Life 2012-08-16 19:00:41 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Note You need to log in before you can comment on or make changes to this bug.