| Summary: | [lvm] same exit status for different errors on pvcreate command | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Haim <hateya> |
| Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
| Status: | CLOSED WONTFIX | QA Contact: | Corey Marthaler <cmarthal> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | agk, dwysocha, heinzm, jbrassow, mbroz, mgoldboi, prajnoha, prockai, thornber, yeylon, ykaul, zkabelac |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-21 15:14:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Haim
2011-07-21 14:49:58 UTC
We decided in the beginning not to attempt to create and maintain an exhaustive list of failure codes. We have two basic codes - one for a problem parsing or understanding the command line, the other for any other type of real failure. If your script needs to distinguish different failure cases, it needs to check each of them one-by-one itself. 'pvs' helps if you need to check lvm things individually. This isn't something we've any plans to change, I'm afraid. |