Bug 199580
Summary: | Mirror device placement needs to be easier | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Dean Jansa <djansa> |
Component: | lvm2 | Assignee: | Jonathan Earl Brassow <jbrassow> |
Status: | CLOSED WONTFIX | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4 | CC: | agk, dwysocha, fweyns, heinzm, jbrassow, joe.thornber, mbroz, prockai, richard.f.dawson, robert.lawton |
Target Milestone: | --- | Keywords: | Documentation |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-05-19 14:17:04 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
Dean Jansa
2006-07-20 15:37:56 UTC
Defect fix requires a change to lvm2 in base rhel release. Moving this to the RHEL product and updating to lvm2 component. Will also update the tags for the proposed release. Devel ACK This does not require any kernel changes. In fact, if the user is willing to take the time, you _can_ have deterministic mirror creation. What we want is the following: lvcreate -m 1 -L 500M -n lv vg /dev/sda1 /dev/sdb1 /dev/sdc1 Where the trailing three arguments would represent the first mirror device, the second mirror device, and the log. You can, however, acheive this if you also specify the extent count as follows: lvcreate -m 1 -L 500M -n lv vg /dev/sda1:0-500 /dev/sdb1:0-499 /dev/sdc1:0 A simple approach suggested by agk is to do a two phased create. # Create linear device lvcreate -L <size> -n LV VG <1st set of devices> # Upconvert to mirror lvconvert -m1 VG/LV <2nd set of devices> I've tested this and it works nicely. Marking as modified given the above method for device placement. Removed Cluster flag since this is in RHEL proper; though needed for cluster mirror. Moved to 4.6 proposed. pm-ack provided and other flags cleared. This isn't going to make 4.6. Still needs to be addressed though. modified -> assigned Adding 'cc ecs-dev-list for tracking *** Bug 234314 has been marked as a duplicate of this bug. *** Removing automation notification Moving to RHEL5, is it only documentation or still some code changes? Anyway, for RHEL4 are planned only approved fixes currently. Won't fix in rhel5. The solution will either have to be: 1) specifying the devices at the end of the command and specifically denoting the log devices via a trailing ':x' (e.g. /dev/sdd1:0) 2) create a linear device and follow-up with an lvconvert - specifying which devices to use at each step |