Bug 621490

Summary: Can't specify custom value for shrinking filesystem
Product: Red Hat Enterprise Linux 6 Reporter: Marian Ganisin <mganisin>
Component: anacondaAssignee: Brian Lane <bcl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: atodorov, borgan
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-13.21.88-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 12:31:56 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:
Bug Depends On:    
Bug Blocks: 582286, 647893    
Attachments:
Description Flags
anaconda logs generated by SIGUSR2 signal none

Description Marian Ganisin 2010-08-05 09:15:57 UTC
Description of problem:
I prepared system with ext4 partition created on whole disk.
During installation I tried to shrink this device (due to verification of Bug 602442), however I wasn't able to change non-zero default value (it was 353 MB in my case). If I set different size, it was ignored and default value was used instead.

Version-Release number of selected component (if applicable):
RHEL6.0-20100730.5
anaconda-13.21.66-1.el6.i686

Additional info:
Seems to be blocker to me, however I can't evaluate real impact to the customers needs and expectations.

Comment 1 Chris Lumens 2010-08-05 12:16:25 UTC
Please attach logs when reporting bugs.

Comment 2 Marian Ganisin 2010-08-05 13:19:52 UTC
Created attachment 436846 [details]
anaconda logs generated by SIGUSR2 signal

Sorry! logs attached.

However I found the issue. I used 'Alt+S' keyboard shortcut for 'Shrink' button to submit 'Volume to Shrink' dialog, user defined value is ignored in this case.

Comment 3 Chris Lumens 2010-08-05 13:30:33 UTC
We'll look into it, though I do not believe this is blocker material.  It does not prevent installation.

Comment 5 Brian Lane 2010-11-19 17:15:00 UTC
Did you try to set the value higher or lower than 353? It will not let you shrink it any lower than the minimum size of the partition.

Comment 6 Marian Ganisin 2010-11-23 09:31:13 UTC
(In reply to comment #5)
> Did you try to set the value higher or lower than 353?

Yes, I did.

Comment 7 Marian Ganisin 2010-11-23 09:32:10 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Did you try to set the value higher or lower than 353?
> 
> Yes, I did.
... set the value higher than 353. :)

Comment 8 Brian Lane 2011-01-11 19:55:00 UTC
Ends up you need to call .update() on the spinbuttons to make sure they have the latest value.

Comment 10 Alexander Todorov 2011-04-01 15:10:20 UTC
In Snap #2 changing the size of the partition and then using Alt+S works as expected.

Comment 11 errata-xmlrpc 2011-05-19 12:31:56 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0530.html