Bug 444163
Summary: | [rfe] test transaction before rebooting | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Don Zickus <dzickus> |
Component: | preupgrade | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | katzj, wwoods |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-27 16:34:57 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: |
Description
Don Zickus
2008-04-25 15:30:37 UTC
Triaged Thanks for the suggestion. I did try adding an RPM transaction test to preupgrade. It took several minutes to run (just like it does in anaconda), but it got differing results from the anaconda test. (These differences are due to several known and unknown factors - anaconda copying files to your install drive, differing RPM versions, etc. - that we can't avoid.) So: preupgrade would spend a few minutes grinding at the disk and CPU, tell you everything was OK, and half the time the install *still* failed due to lack of disk space, just like before. In short: it didn't help. For preupgrade-0.9.8, it checks available disk space and does a best-guess estimate of the space you'll need to complete the install. It then *warns* you if you have low disk space, and tells you how much estimated disk space is needed. At that point, you can free up disk space and check again, or you can continue anyway and hope for the best. It's just as accurate as the RPM transaction for the obvious cases - where you have plenty of disk, or far too little. For the gray area in the middle, it doesn't give false positives like the RPM transaction did. It also doesn't take 2-5 minutes to run. So I'm going to close this as RAWHIDE - if you have ideas for refining the disk space checks any further, feel free to either reopen this bug or file a new one. |