Bug 692080

Summary: Disk Utility partition sizes are different to sizes create by the part command.
Product: Red Hat Enterprise Linux 6 Reporter: Jon Pryce <bugzilla>
Component: gnome-disk-utilityAssignee: David King <dking>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: k.georgiou
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: 40
Clone Of: Environment:
Last Closed: 2017-12-06 11:56:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jon Pryce 2011-03-30 11:47:30 UTC
Description of problem:

I install RHEL 6 using a kickstart file that sets up two disks for RAID level 1 in the pre-install script as follows:

  echo "part raid.11 --size 200 --ondisk=sda --asprimary" >> /tmp/part-include
  echo "part raid.12 --size=4096 --ondisk=sda" >> /tmp/part-include
  echo "part raid.13 --size=8192 --grow --ondisk=sda" >> /tmp/part-include
  echo "part raid.21 --size 200 --ondisk=sdb --asprimary" >> /tmp/part-include
  echo "part raid.22 --size=4096 --ondisk=sdb" >> /tmp/part-include
  echo "part raid.23 --size=8192 --grow --ondisk=sdb" >> /tmp/part-include

Note that the third partition consumes all remaining space on the disk, which is normally more than 8GB. Note also that the 200MB partition gets rounded up to 210MB.

The problem is that when I replace a faulty disk with a new one I can not set up the same partition sizes using the GNOME Disk Utility. If I try to create a partition of size 200 it gets rounded up to 214MB not 210MB, and as a result I can not add the new disk to the raid array because the third partition ends up smaller than it should be (assuming the new disk is the same size as the old one).

Version-Release number of selected component (if applicable):

2.30.1

How reproducible:

See description

Expected results:

Disk Utility should be able to exactly reproduce the installation partition sizes as this is essential for RAID. (Ideally for RAID I would like to be able to copy the sizes from one of the existing live disks in the array with a single click!)

Comment 2 RHEL Program Management 2011-03-30 12:17:46 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 4 Suzanne Logcher 2012-02-14 23:08:08 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 5 Jan Kurik 2017-12-06 11:56:55 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/