Bug 426466

Summary: anaconda resizes lvm even when lv is selected to be formatted during install
Product: [Fedora] Fedora Reporter: G.Wolfe Woodbury <redwolfe>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-17 13:29:51 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    

Description G.Wolfe Woodbury 2007-12-21 05:36:15 EST
Description of problem:
  installing rawhide of 2007-12-20, I had /usr on an LVM lv.  I selected to
reduce the size of the lv, and selected to format the "partition".  Anaconda
spent way too much time resizing the lv prior to formatting the newly resized

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

How reproducible:

Steps to Reproduce:
1. install rawhide
2. resize an existing logical volume
3. also select to format the filesystem
Actual results:
  The horizontal "bouncer" ate large portions of the CPU time, while anaconda
was fscking the filesystem prior to resizing.  And all this wasted effort was
done for a filesystem that was immediately reformatted.

Expected results:
   I'd check the format flag prior to doing the resize and skip the fsck if the
result is going to be reformatted.

Additional info:
Comment 1 Jeremy Katz 2007-12-21 09:02:17 EST
Yeah, this is on my todo list, just haven't gotten there yet.  Thanks for filing
so I don't forget about it :)
Comment 2 Jeremy Katz 2007-12-26 22:14:10 EST
Fixed in git