Bug 839811
Summary: | Invalid snapshot incorrectly set the first attribute flag to 'S' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | benscott |
Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 6.5 | CC: | agk, cmarthal, coughlan, dwysocha, heinzm, jbrassow, msnitzer, nperic, prajnoha, prockai, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.97-2.el6 | Doc Type: | Bug Fix |
Doc Text: |
lvs no longer capitalises the first LV attribute character for invalid snapshots. This state is available from the 5th char (I or S). (An 'S' in the first position is supposed to indicate only a merging snapshot.)
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-21 08:11:40 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-07-12 22:25:50 UTC
It does look like: repstr[0] = toupper(repstr[0]); in lv.c serves no useful purpose now: the 5th position will either be I or S in those circumstances. Adding QA ack for 6.4. Devel will need to provide unit testing results however before this bug can be ultimately verified by QA. Tested with lvm2-2.02.98-8.el6.x86_64 (04:09:05) [root@r6-node01:~]$ lvs LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert lv_root VolGroup -wi-ao--- 7.54g lv_swap VolGroup -wi-ao--- 1.97g lvol0 vg owi-a-s-- 20.00m lvol1 vg swi-a-s-- 20.00m lvol0 0.00 (04:10:23) [root@r6-node01:~]$ lvs LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert lv_root VolGroup -wi-ao--- 7.54g lv_swap VolGroup -wi-ao--- 1.97g lvol0 vg owi-a-s-- 20.00m lvol1 vg swi-I-s-- 20.00m lvol0 100.00 The attributes changed as expected to swi-I-s-- after snapshot is 100% full. Without lvmetad: (04:19:48) [root@r6-node01:~]$ lvs /dev/vg/lvol1: read failed after 0 of 4096 at 20905984: Input/output error /dev/vg/lvol1: read failed after 0 of 4096 at 20963328: Input/output error /dev/vg/lvol1: read failed after 0 of 4096 at 0: Input/output error /dev/vg/lvol1: read failed after 0 of 4096 at 4096: Input/output error LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert lv_root VolGroup -wi-ao--- 7.54g lv_swap VolGroup -wi-ao--- 1.97g lvol0 vg owi-a-s-- 20.00m lvol1 vg swi-I-s-- 20.00m lvol0 100.00 Marking Verified with a note that lvs should maybe try and suppress errors which are expected, and not wite those I/O errors. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0501.html |