Bug 1215000 - [New] - Data alignment value is always passed as 1024k to pvcreate
Summary: [New] - Data alignment value is always passed as 1024k to pvcreate
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Ramesh N
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On: 1178705
Blocks: rhsc_qe_tracker_everglades 1225831
TreeView+ depends on / blocked
 
Reported: 2015-04-24 05:42 UTC by RamaKasturi
Modified: 2016-02-10 12:56 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1225831 (view as bug list)
Environment:
Last Closed: 2016-02-10 12:56:46 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40842 0 master MERGED gluster: change the value in RaidType to String Never
oVirt gerrit 41532 0 ovirt-engine-3.5-gluster MERGED gluster: change the value in RaidType to String Never

Description RamaKasturi 2015-04-24 05:42:38 UTC
Description of problem:
Data alignment value is always taken as 1024k on RHEL7. Data alignment value should be calculated based on RAID6, RAID10 and RAID0 and should be passed to pvcreate appropriately.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150420232310.gite30f655.el6.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Add a RHEL7 host to console.
2. Now select the device and say create brick.
3. once the brick is created, run the command to check the data alignment value.
pvs -o +pe_start <disk>

Actual results:
Data alignment value is always passed as 1024k

Expected results:
Data alignment should be caluclated based on RAID0,RAID6 and RAID10 and should be passed appropriately.

Additional info:

Comment 1 Sahina Bose 2015-04-27 06:51:10 UTC
Tim, Can you update with blivet bug dependency?

Comment 2 Max Kovgan 2015-06-28 14:12:30 UTC
ovirt-3.6.0-3 release

Comment 3 RamaKasturi 2016-02-10 09:16:04 UTC
Tested with RHEV 3.6.2.6 and RHGS Nightly ( glusterfs-3.7.5-17.el7rhgs )

verified this with virtual disks as of now and provided all the necessary details required.

When a brick is created on RAID6 (on RHEL7) with 12 disks and 128KB stripe size below is the data alignment value.

On RAID6:
----------------
----------------
[root@dhcp37-136 ~]# pvs -o +pe_start /dev/vde
  PV         VG      Fmt  Attr PSize   PFree 1st PE 
  /dev/vde   RHS_vg4 lvm2 a--  100.00g 5.00m   1.25m



When a brick is created on RAID10 (on RHEL7) with 10 disks and 256KB stripe size below is the data alignment value.
On RAID10:
--------------
--------------
[root@dhcp37-136 ~]# pvs -o +pe_start /dev/vdf
  PV         VG             Fmt  Attr PSize   PFree 1st PE 
  /dev/vdf   vg-test-brick2 lvm2 a--  100.00g 1.25m   1.25m


When a brick is created using RAID0 (on RHEL7) with 1 disk and 256KB stripe size below is the data alignment value.

On RAID0:
--------------------
--------------------
[root@dhcp37-68 ~]# pvs -o +pe_start /dev/vde
  PV         VG      Fmt  Attr PSize   PFree 1st PE 
  /dev/vde   RHS_vg4 lvm2 a--  100.00g 5.00m   1.25m


Note You need to log in before you can comment on or make changes to this bug.