Red Hat Bugzilla – 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
Last modified: 2012-10-22 13:47:51 EDT
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):
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).
if one hits continue, automatic partitioning will be used on all disks.
the 'PRESERVE/DELETE/SHRINK' dialog.
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.
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.
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.