Bug 477040
| Summary: | Creation of mirrored logical volume with VG extent-size of 1K fails | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Milan Broz <mbroz> | |
| Component: | lvm2 | Assignee: | Milan Broz <mbroz> | |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.2 | CC: | agk, cmarthal, dwysocha, edamato, heinzm, jbrassow, mbroz, prockai, pvrabec | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | i386 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 490004 (view as bug list) | Environment: | ||
| Last Closed: | 2009-09-02 11:57:13 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 490004 | |||
|
Description
Milan Broz
2008-12-18 20:15:11 UTC
Fixed in upstream cvs in lvm2 2.02.44, planned for inclusion in RHEL5.4. Fix in version lvm2-2.02.46-1.el5. Fix verified in lvm2-2.02.46-2.el5. [root@grant-03 ~]# vgcreate -s 1K grant /dev/sdb1 /dev/sdb2 /dev/sdb3 Volume group "grant" successfully created [root@grant-03 ~]# lvcreate -L 64M -m 1 -n mirror grant Logical volume "mirror" created [root@grant-03 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices LogVol00 VolGroup00 -wi-ao 64.56G /dev/sda2(0) LogVol01 VolGroup00 -wi-ao 9.81G /dev/sda2(2066) mirror grant mwi-a- 64.00M mirror_mlog 100.00 mirror_mimage_0(0),mirror_mimage_1(0) [mirror_mimage_0] grant iwi-ao 64.00M /dev/sdb2(0) [mirror_mimage_1] grant iwi-ao 64.00M /dev/sdb3(0) [mirror_mlog] grant lwi-ao 2.00K /dev/sdb1(0) Just a note, this was verified w/o specifying the disks on the lvcreate cmdline. When specifying the disks and allowing 0 space for the log on a 1K extent VG, you'll end up hitting bug 502671. 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-2009-1393.html |