Bug 594777
| Summary: | mkfs -j is not equivalent to mkfs.ext3 -j -- does not create maximal filesystems | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Chris Pepper <pepper> |
| Component: | util-linux | Assignee: | Karel Zak <kzak> |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.5 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-21 22:33:40 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
Chris Pepper
2010-05-21 15:04:25 UTC
(In reply to comment #0) > mkfs -j should use mkfs.ext3 Why? See mkfs(8) man page, the default is ext2. The -j option is filesystem specific and it is not evaluated by the mkfs wrapper. You have to use: mkfs -t ext3 -j -L/noribeast2c /dev/noribeast2cd/noribeast2c I don't see any bug here. At an abstract level, RHEL should be able to mkfs a 15tb filesystem -- right now it cannot without user intervention (to specify ext3).
More specifically, sources such as mke2fs.8 make fuzz line between mke2fs and mkfs.ext3:
DESCRIPTION
mke2fs is used to create an ext2/ext3 filesystem (usually in a disk
partition). device is the special file corresponding to the device
(e.g /dev/hdXX). blocks-count is the number of blocks on the device.
If omitted, mke2fs automagically figures the file system size. If
called as mkfs.ext3 a journal is created as if the -j option was speci-
fied.
It is confusing that maximum filesystem size depends on "-t ext2" vs. "-t ext3", although this could minimally be addressed by updating the error message to point users to "-t ext3".
mkfs.ext2: Filesystem too large. No more than 2**31-1 blocks
(8TB using a blocksize of 4k) are currently supported.
[root@norimaki ~]# ls -li /sbin/mke2fs /sbin/mkfs.ext?
1457463 -rwxr-xr-x 3 root root 49608 Sep 3 2009 /sbin/mke2fs
1457463 -rwxr-xr-x 3 root root 49608 Sep 3 2009 /sbin/mkfs.ext2
1457463 -rwxr-xr-x 3 root root 49608 Sep 3 2009 /sbin/mkfs.ext3
(In reply to comment #2) > At an abstract level, RHEL should be able to mkfs a 15tb filesystem -- right > now it cannot without user intervention (to specify ext3). The feature depends on filesystem type. The default filesystem for mkfs(8) is ext2. This behaviour dis escribed in the man page. I don't think that change any default which is used for years is a good idea. Closing. Please, if you believe that the problem should be fixed then ask for help at official Red Hat support service -- for more details see http://support.redhat.com. Thanks. |