All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Nick Warne <nick@ukfsn.org>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [QUESTION] root ext4 strange couldn't mount/can mount report
Date: Tue, 27 Jan 2009 09:14:26 -0500	[thread overview]
Message-ID: <20090127141426.GC11843@mit.edu> (raw)
In-Reply-To: <20090127134231.6daf4cbb@sauron.linicks.net>

On Tue, Jan 27, 2009 at 01:42:31PM +0000, Nick Warne wrote:
> 
> Jan 27 12:54:57 sauron kernel: EXT3-fs: sda2: couldn't mount because of unsupported optional features (40).
> Jan 27 12:54:57 sauron kernel: VFS: Mounted root (ext4 filesystem) readonly.
> 
> i.e. root / -> /dev/sda2 couldn't mount, but it does mount, and system
> boots normally and functions fine.

That's normal; what happens is that the kernel tries to mount it as
ext3 first, which takes a pass since it can't support certain
filesystems features, and then ext4 mounts it.  The ext4 filesystem
code will happily mount an ext3 filesystem, so that's why the kernel
tries ext3 first.  The idea is that for people who are conservative,
and have some filesystems using ext3 and some using ext4 (to try out,
for example), and then they compile a kernel with both ext3 and ext4,
if the root filesystem only has ext3 features, it should be mounted
with ext3, not ext4; so the kernel tries ext3 first.  If however, you
do not compile in ext3 support, the ext4 filesystem code will happily
mount an ext3 filesystem --- and in the latest 2.6.29-rc series, the
ext4 filesystem code can even happily mount an ext2 filesystem.

You will get some of the advantages of ext4's delayed allocation
support with ext2/ext3 filesystems, and it would also allow you to
only have one extX filesystem compiled into the kernel.  But of
course, ext4 is still relatively new, and some people like to be
conservative with their filesystem choices, and so that's why it's
unlikely the ext3 filesystem code will be disappearing from the
kernel, even though the ext4 filesystem code is a superset of ext3's
functionality.

							- Ted


  reply	other threads:[~2009-01-27 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27 13:42 [QUESTION] root ext4 strange couldn't mount/can mount report Nick Warne
2009-01-27 14:14 ` Theodore Tso [this message]
2009-01-27 14:37   ` Nick Warne
2009-01-27 15:37     ` Theodore Tso
2009-01-27 15:44       ` Nick Warne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090127141426.GC11843@mit.edu \
    --to=tytso@mit.edu \
    --cc=linux-ext4@vger.kernel.org \
    --cc=nick@ukfsn.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.