Bug 15733

Summary: Partitioning shows empty space between partitions
Product: Mageia Reporter: Pascal Terjan <pterjan>
Component: InstallerAssignee: Pascal Terjan <pterjan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: stormi-mageia, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Pascal Terjan 2015-04-19 00:48:04 CEST
They are probably due to alignment (but the hole was 1.5MB in my test while I thought we aligned on 1MB), but this is not usable for anything so we should not show it.

Also, I don't know why we don't extend the first partition to not leave a hole give that it was auto allocated.

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-04-19 15:32:16 CEST
AFAIK we align on 2MB now.

CC: (none) => stormi

Samuel Verschelde 2015-04-19 15:32:43 CEST

CC: (none) => tmb

Comment 2 Pascal Terjan 2015-04-19 17:52:55 CEST
The code say 1MB for the start:
http://gitweb.mageia.org/software/drakx/tree/perl-install/partition_table.pm#n35

On dos partition tables we do some complex alignment of the end to cylinder boundary:

http://gitweb.mageia.org/software/drakx/tree/perl-install/partition_table/raw.pm#n92

On gpt ones we only adjust the start and not the end.
Comment 3 Mageia Robot 2015-04-20 00:56:09 CEST
commit 8e034f26d81087858a25b15c779c536887fc95a3
Author: Pascal Terjan <pterjan@...>
Date:   Sun Apr 19 22:55:57 2015 +0000

    hide empty space < 2MB, we have such holes due to alignment (mga#15733)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=8e034f26d81087858a25b15c779c536887fc95a3
Comment 4 Thierry Vignaud 2015-04-30 21:47:11 CEST
Closing

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED