Bug 1002032
Summary: | mke2fs can't return the correct filesystem type when blockscount is less than 2048 for ext3 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | bfan |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | leiwang, wshi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.22.6-5.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 12:57:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
bfan
2013-08-28 11:12:45 UTC
As discussed on IRC, the problem is that the filesystem isn't large enough to contain a journal. mke2fs prints the warning message: Filesystem too small for a journal This message is normally eaten by libguestfs, although you can see it if you enable debugging. The warning doesn't stop mke2fs; it goes ahead and creates a filesystem without a journal, a.k.a. ext2. Anyway, we should document that this may happen. BTW don't confuse "blockscount" (size of the filesystem in blocks) with block size. Fix also included in libguestfs-1.20.10-4.el6 (note there is no separate bug for RHEL 6, I just included the fix in the routine build). Verified with libguestfs-1.22.6-16.el7.x86_64
><fs> help mke2fs
DESCRIPTION
"mke2fs" is used to create an ext2, ext3, or ext4 filesystem on
"device".
The optional "blockscount" is the size of the filesystem in blocks. If
omitted it defaults to the size of "device". Note if the filesystem is
too small to contain a journal, "mke2fs" will silently create an ext2
filesystem instead.
Help out is update
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |