holland lvm does not check for invalid snapshots correctly
Bug #1281333 reported by
Andrew Garner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
holland-backup |
New
|
Undecided
|
Unassigned |
Bug Description
When holland lvm fails due to an invalid snapshot, there is logic to detect this and provide a helpful error message on what happened. However, holland is only checking for an 'S' lv_attr - which is questionable logic by itself. On RHEL6 (and probably rhel5.7+ at least), invalid snapshot should have the "I" ((I)nvalid snapshot) generally rather than the "S" (invalid (S)uspended snapshot) flag.
Additionally holland should be specifically checking the 5th lv_attr bit rather than searching anywhere in the lv_attr string.
To post a comment you must log in.