| Summary: | image generation fails on host ZFS due to "no free space" | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Alexander Dahl <post> |
| Component: | Other | Assignee: | Yann E. MORIN <yann.morin.1998> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | raspberrypi2 | Target: | |
| Build: | amd64 Debian GNU/Linux jessie with ZFS on Linux | ||
| Attachments: | last output | ||
|
Description
Alexander Dahl
2016-03-29 21:01:34 UTC
Maybe it's time we switch to use e2fsprogs from their 'next' branch, rather than our canned script? The upstream e2fsprogs now has the ability to fill-in the generated filesystem from the content of an existing directory (with the new -d option). FWIW, Debian is now using a snapshot of 2016-03-15 in Stretch (testing) and they have a single patch on top of that. I'd rather trust Debian. Regards, Yann E. MORIN. FWIW, the current release of e2fsprogs we have in Buildroot can generate filesystem images: ./output/host/usr/sbin/mke2fs -d fs/ test.img 1024 However, it will *not* solve the problem: you still have to pass the size of the filesystem to be created, either in number of blocks or in KB/MB/GB. Therefore, we still have to estimate it (like we're doing today), and potentially get it wrong. Maybe it is simply impossible to automatically calculate the filesystem size, and we should stop supporting auto-calculation, and instead ask the user to fill in a size for the filesystem (either in blocks or KB/MB/GB). Thoughts? We have dropped support for auto-calculating the size of the ext2 filesystem: the size *must* now be passed in a Buildroot option. See https://git.buildroot.org/buildroot/commit/?id=c6bca8cef0310bc649240b451989457ce94a8358. Therefore, the issue raised by this bug can no longer be encountered. |