Bug 868676 - anaconda bypasses the resize dialog when 2 or more disks are selected but if one select each disk individually the resize dialog is correctly shown
Summary: anaconda bypasses the resize dialog when 2 or more disks are selected but if ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-21 16:27 UTC by Reartes Guillermo
Modified: 2012-10-22 17:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-22 17:47:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Reartes Guillermo 2012-10-21 16:27:07 UTC
Description of problem:

If one selects each disks individually, anaconda does the right thing (it shows the 'PRESERVE/DELETE/SHRINK' dialog for each disk. The disks do have partitions and data. 

But if one select 2 or more disks, the dialog is not shown and if one presses 'continue' automatic partitioning will be used on all disks.

So, this might be a potential data loss.

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

How reproducible:
always

Steps to Reproduce:
In this case, the guest has 3 disks, all with existing partitions.

0. Select one disk and 'continue'. Anaconda will shown the 'PRESERVE/DELETE/SHRINK' dialog.

1. Deselect that disk and select another, then 'continue'.  Anaconda will shown the 'PRESERVE/DELETE/SHRINK' dialog.

2. Select both disks, anaconda will say 'there is plenty of free space' and unless one selects 'manual partitioning' anaconda will shown 'automatic partitioning selected' in the main hub with potential data loss. (since all disks have existing partitions).
  
Actual results:
if one hits continue, automatic partitioning will be used on all disks.

Expected results:
the 'PRESERVE/DELETE/SHRINK' dialog.

Additional info:

Comment 1 Chris Lumens 2012-10-22 14:26:32 UTC
If the dialog is skipped, it is because you have enough space on your combined disks to continue with installation.  We currently fall back to LVM if we can make enough space by assembling all the various free space chunks into one big-enough one.

We do not do clearpart by default anymore, so automatic partitioning will only work with free space and not do anything destructive.  If you are seeing behavior other than this, please attach your /tmp/storage.log so we can see what happened.

Comment 2 Reartes Guillermo 2012-10-22 17:44:36 UTC
I did not observe any actual data loss yet.

As per comment #1 (and specially the second paragraph), this bug-report can be closed as NOTABUG.

Comment 3 Chris Lumens 2012-10-22 17:47:51 UTC
Great, thanks.  I know it's a little hard to keep up with the changes going on around storage especially.  We're really moving fast here.


Note You need to log in before you can comment on or make changes to this bug.