Bug 258381
| Summary: | mke2fs rejects feature options listed by tune2fs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | John Reiser <jreiser> |
| Component: | e2fsprogs | Assignee: | Eric Sandeen <esandeen> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7 | CC: | tytso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.40.7.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-29 16:42:21 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
John Reiser
2007-08-27 23:16:12 UTC
> The option "large_file" does not appear in the manual page "man mke2fs".
The option "large_file" is also the option which is causing you trouble when you
try to feed it to mkfs.ext3:
[root@bear-05 ~]# mke2fs -j -O
has_journal,resize_inode,dir_index,filetype,sparse_super,large_file
/dev/mapper/testvol-test1
mke2fs 1.39 (29-May-2006)
Invalid filesystem option set:
has_journal,resize_inode,dir_index,filetype,sparse_super,large_file
[root@bear-05 ~]# mke2fs -j -O
has_journal,resize_inode,dir_index,filetype,sparse_super
/dev/mapper/testvol-test1 mke2fs 1.39 (29-May-2006)
Filesystem label=
OS type: Linux
<snip>
This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
But, large_file is set anyway:
[root@bear-05 ~]# tune2fs -l /dev/mapper/testvol-test1 | grep feature
Filesystem features: has_journal resize_inode dir_index filetype
sparse_super large_file
This is probably an oversight, but I'll double-check. I agree that a message
about why the feature set was rejected would be a good idea.
Thanks,
-Eric
On its way to rawhide via e2fsprogs-1.40.7-1 From the changelog: Allow mke2fs and tune2fs manipulate the large_file feature. Previously we just let the kernel and e2fsck do this automatically, but e2fsck will no longer automatically clear the large_file feature. It still isn't really necessary to worry about this feature flag explicitly, but some users seem to care. (Addresses Red Hat Bugzilla: #258381) I think Ted is also planning to print more info about which option was rejected, if/when that is still necessary. |