Bug 587063
Summary: | Unable to create 1 extent snapshot on 1k VG | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Petr Rockai <prockai> |
Status: | CLOSED ERRATA | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.5 | CC: | agk, dwysocha, heinzm, jbrassow, joe.thornber, mbroz, prockai |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-13 22:41:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2010-04-28 19:08:22 UTC
Should be straightforward to detect this up front and give an error message. Proposed patch in https://www.redhat.com/archives/lvm-devel/2010-October/msg00002.html (pending review; trivial). ACK, a straightforward correct catcher. Checked in. Fix in lvm2-2.02.74-1.el5. This operation is no longer allowed. Marking verified in lvm2-2.02.74-1.el5. [root@grant-01 ~]# lvcreate -l 1 -n small_snap_on_1k_vg -s /dev/snapper/origin Unable to create a snapshot smaller than 2 chunks. [root@grant-01 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Devices origin snapper -wi-a- 10.00K /dev/sdb1(0) [root@grant-01 ~]# lvcreate -l 10 -n small_snap_on_1k_vg -s /dev/snapper/origin Logical volume "small_snap_on_1k_vg" created [root@grant-01 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Devices origin snapper owi-a- 10.00K /dev/sdb1(0) small_snap_on_1k_vg snapper swi-a- 10.00K origin 80.00 /dev/sdb1(10) An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0052.html |