Bug 665496

Summary: [6.0] parted command can't create a 1GB partition correctly.
Product: Red Hat Enterprise Linux 6 Reporter: Masayoshi Yamazaki <myamazak>
Component: partedAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: atodorov, rwilliam
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: parted-2.1-14.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:10:59 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: 658636, 705163    

Comment 2 Hans de Goede 2010-12-24 09:44:29 UTC
I'm no longer the parted maintainer, re-assigning.

Comment 6 Alexander Todorov 2011-08-11 15:08:46 UTC
Reproduced on RHEl 6.1 in KVM guest. Tested on latest 6.2 nightly:

# rpm -q parted 
parted-2.1-14.el6.x86_64

# parted /dev/vdb -s mkpart primary 0 1GB
Warning: The resulting partition is not properly aligned for best performance.

# parted /dev/vdb -s print
Model: Virtio Block Device (virtblk)
Disk /dev/vdb: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End     Size    Type     File system  Flags
 1      512B   1000MB  1000MB  primary

#

Comment 7 errata-xmlrpc 2011-12-06 15:10:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1626.html