Bug 1217605
Summary: | [RFE] make contiguous allocation with cling tags work for raid10 volumes | ||
---|---|---|---|
Product: | [Community] LVM and device-mapper | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED NOTABUG | Docs Contact: | |
Severity: | medium | ||
Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, zkabelac |
Version: | unspecified | Keywords: | FutureFeature |
Target Milestone: | --- | Flags: | pm-rhel:
lvm-technical-solution?
pm-rhel: lvm-test-coverage? |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-02 22:31:25 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
Corey Marthaler
2015-04-30 19:12:54 UTC
I'm closing this since cling allocation tags do technically work with 4 tags instead of just 2. If having just 2 tags ever becomes a restriction for some raid10 customer, then we can reopen this. [root@hayes-02 ~]# pvs -a -o +devices,pv_tags PV VG Fmt Attr PSize PFree Devices PV Tags /dev/sdb1 raid_sanity lvm2 a-- 548.00m 548.00m A /dev/sdc1 raid_sanity lvm2 a-- 548.00m 548.00m A /dev/sde1 raid_sanity lvm2 a-- 548.00m 548.00m C /dev/sdf1 raid_sanity lvm2 a-- 548.00m 548.00m B /dev/sdh1 raid_sanity lvm2 a-- 548.00m 548.00m B /dev/sdi1 raid_sanity lvm2 a-- 548.00m 548.00m D [root@hayes-02 ~]# lvcreate --alloc cling_by_tags --type raid10 -i 2 -n cling_raid -L 600M raid_sanity Using default stripesize 64.00 KiB. Logical volume "cling_raid" created. [root@hayes-02 ~]# lvs -a -o +devices LV VG Attr LSize Cpy%Sync Devices cling_raid raid_sanity rwl-a-r--- 600.00m 62.60 cling_raid_rimage_0(0),cling_raid_rimage_1(0),cling_raid_rimage_2(0),cling_raid_rimage_3(0) [cling_raid_rimage_0] raid_sanity Iwl-aor--- 300.00m /dev/sdb1(1) [cling_raid_rimage_1] raid_sanity Iwl-aor--- 300.00m /dev/sde1(1) [cling_raid_rimage_2] raid_sanity Iwl-aor--- 300.00m /dev/sdf1(1) [cling_raid_rimage_3] raid_sanity Iwl-aor--- 300.00m /dev/sdi1(1) [cling_raid_rmeta_0] raid_sanity ewl-aor--- 4.00m /dev/sdb1(0) [cling_raid_rmeta_1] raid_sanity ewl-aor--- 4.00m /dev/sde1(0) [cling_raid_rmeta_2] raid_sanity ewl-aor--- 4.00m /dev/sdf1(0) [cling_raid_rmeta_3] raid_sanity ewl-aor--- 4.00m /dev/sdi1(0) lvm2-2.03.08-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 lvm2-libs-2.03.08-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 device-mapper-1.02.169-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 device-mapper-libs-1.02.169-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 device-mapper-event-1.02.169-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 device-mapper-event-libs-1.02.169-2.el8 BUILT: Mon Feb 24 11:21:38 CST 2020 |