Bug 103978

Summary: autopartition generates bad partitions
Product: [Retired] Red Hat Linux Reporter: Pete Nishimoto <peter.nishimoto>
Component: partedAssignee: Matt Wilson <msw>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-25 19:24:54 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:
Attachments:
Description Flags
details on anaconda autoparotion failues none

Description Pete Nishimoto 2003-09-08 18:42:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.79C-CCK-MCD  [en] (X11; U; SunOS 5.9 sun4u)

Description of problem:
When using autopartition, depending upon the geometry of the disk, 
partitions may be allocated which are not on sector boudnaries.
Thus, during installation, if the autopartitioned disk is to be
scanned prior to package installation, if the partition is
NOT on a sector boundary, badblocks will fail and the installation
process will stop

See attachment for more (lots more) details

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

How reproducible:
Always

Steps to Reproduce:
1.select autopartition and scan the partitions created		
2.select more packages than room on the partition
3.after the 1st badblocks scan, anaconda will notice that there isn't
  enough room.  Remove packages until they all fit on the partition
4.disk will be scanned a 2nd time.  If the partition is not on a 
  cylinder boundary, badblocks will fail and the installation will 
  stop
    

Actual Results:  badblocks fails and installation stops		

Expected Results:  badblocks success and installation continues

Additional info:

Comment 1 Pete Nishimoto 2003-09-08 18:47:37 UTC
Created attachment 94311 [details]
details on anaconda autoparotion failues

This attachment contins detailed debug analysis of the problem and
possible fixes

Comment 2 Michael Fulbright 2003-09-10 19:12:35 UTC
This looks like its related to how parted aligns partition requests.