Bug 519131
| Summary: | resize2fs -M is failing during live image creation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sebastian Vahl <fedora> | ||||||
| Component: | e2fsprogs | Assignee: | Josef Bacik <jbacik> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | bruno, esandeen, jbacik, kevin, kzak, oliver | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-09-10 21:52:52 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Sebastian Vahl
2009-08-25 10:05:35 UTC
Can you attach or otherwise make available that resize-image-PzrdHC? Or maybe better, if you can replicate this, can you attach the full livecd creation log as well as the resulting image? Although I'll need to think about this a bit more... and I'm on vacation this week so will have to get back to it later. Thanks, -Eric Created attachment 359136 [details] full log of livecd-creator I don't know how big the attachments could be so I've uploaded the gzip'ed image to my webspace: http://deadbabylon.de/files/resize-image-PzrdHC.gz thanks. So fsck says we are using 535447 blocks currently: F12-KDE-039-x86_: 84842/196608 files (0.1% non-contiguous), 535447/786432 blocks and resize2fs -M tries to resize it to 534923, which is -smaller- : Resizing the filesystem on /daten/LIVECD/tmp/imgcreate-dQzAbO/tmp-UsG6hL/ext3fs.img to 534923 (4k) blocks. Ugh. The minimum resize calculation is so full of voodoo & heuristics that this may be tough. As a fallback, livecd-creator -could- go back to the ol' binary search for minimum... But I'll see if I can sort this out. Thanks for providing the image, that'll help a lot. -Eric Created attachment 359775 [details]
might be a fix?
I think the attached patch would solve the problem.
-Bergwolf
Yup, that patch fixes the problem. I've committed the fix to rawhide. |