Misleading error message with pvremove
Bug #593228 reported by
Casandro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I want to remove a physical volume which still is part of a volume group I get the following message:
root@vdr:~# pvremove /dev/sdf1
Can't pvremove physical volume "/dev/sdf1" of volume group "vdr" without -ff
Now when I actually append -ff to the line, I end up with a corrupt volume group. It would be much better it it told the user to use vgreduce.
(note for people encountering this problem)
If you have used -ff it's easy to fix. Just type pvdisplay and look for the missing volume uuid. Then create a new physical volume with the same uuid. (parameter -u)
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e . I have classified this bug as a bug in lvm2 /wiki.ubuntu. com/ReportingBu g
(With many applications, you can report a future bug directly on the appropriate package by opening the application's "Help" menu and choosing "Report a Problem". https:/