Bug 863703
Summary: | Inconsistencies with flags of thin snapshots and origins | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | benscott |
Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
Status: | CLOSED NOTABUG | QA Contact: | Cluster QE <mspqa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | agk, dwysocha, heinzm, jbrassow, msnitzer, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-11-25 18:16:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
benscott
2012-10-06 18:33:07 UTC
It's worth to note here user should not be mistaking old-style COW snapshots with new 'thin' snapshots - they are not the same in terms of reported data and behave differently in many areas. Thus letter 's' should probably remain dedicated for old-style snaps. You cannot merge thin-snaps and you cannot get the 'real' size it takes. The fact that thin volume is snapshot of some other volume is rather 'syntax sugar' here - since such volume is fully autonomous thin volume - you can have it online/offline as you need (unlike with old snaps). We are likely not going to change the behavior here. Column 7 is target type - and target type really is (t)thin. (s)napshot target segtype is dedicated to old-style snaps. (lvcreate --type snapshot | lvcreate --type thin) Old-snaps and thin-snaps cannot be treated equally and also the lvm2 requires different treatment for those types. If you need to check if 'thin' volume is still a snapshot - check presence of "Orig" field. Also, we've added separate fields for each lv_attr field recently in lvm2 v2.02.108 as well as additional fields that help with identification of the LV type in v2.02.110 (lv_layout and lv_role fields). These are much more readable than the lv_attr bits that provide condensed view only. |