Bug 1040413 - Cannot change a logical volume's size twice, then return it to the original size
Summary: Cannot change a logical volume's size twice, then return it to the original size
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker https://fedoraproject...
Depends On: 1211746
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 11:45 UTC by Kamil Páral
Modified: 2015-05-29 13:41 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-29 13:41:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bug demonstration video (1.18 MB, video/ogg)
2013-12-11 11:45 UTC, Kamil Páral
no flags Details
anaconda.log (40.95 KB, text/plain)
2013-12-11 11:46 UTC, Kamil Páral
no flags Details
program.log (23.19 KB, text/plain)
2013-12-11 11:46 UTC, Kamil Páral
no flags Details
storage.log (82.42 KB, text/plain)
2013-12-11 11:46 UTC, Kamil Páral
no flags Details
syslog (68.21 KB, text/plain)
2013-12-11 11:46 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1027947 0 unspecified CLOSED Cannot change a logical volume's size, then return it to the original size 2021-02-22 00:41:40 UTC

Internal Links: 1027947

Description Kamil Páral 2013-12-11 11:45:51 UTC
Created attachment 835233 [details]
bug demonstration video

Description of problem:
This is a fork of bug 1027947. Several bugs have been identified in it, this is one of them.

It's not possible to select an existing logical volume, resize it multiple times, and then change the size back to original value. The size is instead reset to second-to-last value, which is very confusing.

You can reset to original size only if you perform a single resize (the first part of the video). Once you perform multiple resizes, you're out of luck.

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

How reproducible:
always

Steps to Reproduce:
1. boot installer with an existing installation on disk (at least one LV partition)
2. enter custom partitioning
3. select an existing LV partition (e.g. /) and change its size (e.g. from 8GB to 7GB). Click Update Settings.
4. try to change the size back to 8GB, it works.
5. now resize it to two different values, e.g. 5 and 4 GB.
6. try to revert it back to 8 GB, you no longer can. the value is reset to second-to-last value.

Comment 1 Kamil Páral 2013-12-11 11:46:31 UTC
Created attachment 835234 [details]
anaconda.log

Comment 2 Kamil Páral 2013-12-11 11:46:36 UTC
Created attachment 835235 [details]
program.log

Comment 3 Kamil Páral 2013-12-11 11:46:39 UTC
Created attachment 835236 [details]
storage.log

Comment 4 Kamil Páral 2013-12-11 11:46:43 UTC
Created attachment 835237 [details]
syslog

Comment 5 Kamil Páral 2013-12-11 11:48:11 UTC
Proposing a Final blocker:
"Any installer mechanism for resizing storage volumes must correctly attempt the requested operation. "
https://fedoraproject.org/wiki/Fedora_20_Final_Release_Criteria#Storage_volume_resize

In this case, you cannot really cancel a previously requested (double) resize, unless you reset all your changes completely (that is, however, an available workaround).

Comment 6 Mike Ruckman 2013-12-11 17:28:21 UTC
Discussed in 2013-12-11 Blocker Review Meeting [1]. Voted as an RejectedBlocker. This is inconvenient, but can be easily worked around by hitting Reset All.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2013-12-11/

Comment 7 David Shea 2015-04-14 19:08:45 UTC
Does this still occur in F21 or F22?

Comment 8 Lukas Brabec 2015-04-23 08:14:55 UTC
Reproducing this bug resulted in crash, see bug 1211746.

Comment 9 Lukas Brabec 2015-04-23 08:15:25 UTC
(In reply to Lukas Brabec from comment #8)
> Reproducing this bug resulted in crash, see bug 1211746.

I forgot to mention, I used Fedora 22 Beta RC3

Comment 10 Kamil Páral 2015-04-27 11:20:56 UTC
Let's renew the needinfo once bug 1211746 is fixed.

Comment 11 Fedora End Of Life 2015-05-29 09:57:47 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Kamil Páral 2015-05-29 13:41:33 UTC
This seems to work properly in F22.


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