Bug 855389

Summary: CreateException: Can't have a partition outside the disk!
Product: [Fedora] Fedora Reporter: kevin martin <ktmdms>
Component: anacondaAssignee: David Lehman <dlehman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:9b4dbc49da4840cec4a2a80651fa70a505e864c88156555446be419a98795a45
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-23 01:35:52 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
File: ifcfg.log
none
File: anaconda-tb
none
File: environ
none
File: type
none
File: storage.log
none
File: version
none
File: program.log
none
File: product
none
File: syslog
none
File: hashmarkername
none
File: anaconda.log
none
File: release
none
File: description none

Description kevin martin 2012-09-07 15:05:38 UTC
Version-Release number of selected component:
anaconda-18.6.5

Additional info:
libreport version: 2.0.12
cmdline:        initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 quiet nouveau.modeset=0 vesa BOOT_IMAGE=vmlinuz 
kernel:         3.6.0-0.rc2.git2.1.fc18.x86_64

Comment 1 kevin martin 2012-09-07 15:05:48 UTC
Created attachment 610765 [details]
File: ifcfg.log

Comment 2 kevin martin 2012-09-07 15:05:51 UTC
Created attachment 610766 [details]
File: anaconda-tb

Comment 3 kevin martin 2012-09-07 15:05:52 UTC
Created attachment 610767 [details]
File: environ

Comment 4 kevin martin 2012-09-07 15:05:54 UTC
Created attachment 610768 [details]
File: type

Comment 5 kevin martin 2012-09-07 15:05:56 UTC
Created attachment 610769 [details]
File: storage.log

Comment 6 kevin martin 2012-09-07 15:05:58 UTC
Created attachment 610770 [details]
File: version

Comment 7 kevin martin 2012-09-07 15:05:59 UTC
Created attachment 610771 [details]
File: program.log

Comment 8 kevin martin 2012-09-07 15:06:01 UTC
Created attachment 610772 [details]
File: product

Comment 9 kevin martin 2012-09-07 15:06:03 UTC
Created attachment 610773 [details]
File: syslog

Comment 10 kevin martin 2012-09-07 15:06:04 UTC
Created attachment 610774 [details]
File: hashmarkername

Comment 11 kevin martin 2012-09-07 15:06:06 UTC
Created attachment 610775 [details]
File: anaconda.log

Comment 12 kevin martin 2012-09-07 15:06:07 UTC
Created attachment 610776 [details]
File: release

Comment 13 kevin martin 2012-09-07 15:06:09 UTC
Created attachment 610777 [details]
File: description

Comment 14 David Lehman 2012-09-07 17:32:09 UTC
10:04:54,378 DEBUG anaconda: populate_right_side: existing 10751MB partition sda3 (5) with existing ntfs filesystem
10:04:54,384 DEBUG anaconda: min: 10886  max: 16777216  current: 10751.0

Looks like NTFS.minSize is telling us a value larger then the block device's current size in spite of this:

10:01:20,873 INFO program: Running... ntfsresize -m /dev/sda3
10:01:21,020 INFO program: ntfsresize v2012.1.15 (libntfs-3g)
10:01:21,021 INFO program: Minsize (in MB): 10636

Comment 15 David Lehman 2012-09-07 18:21:24 UTC
Apparently we have some ancient code that adds 250 MB to the minimum size reported by ntfsresize -m. That's how the minimum size ends up greater than the current size. Now to figure out whether to keep that and, if so, how to deal with such nonsense.

Comment 17 David Lehman 2012-10-11 15:21:31 UTC
This should be fixed in anaconda-18.13-1.

Comment 18 Adam Williamson 2012-11-23 01:35:52 UTC
This bug looks to have been fixed for many anaconda builds now but missed being closed. If you find you are still experiencing it with Fedora 18 Beta (RC1) or later, please re-open the bug.