From: Michael Tokarev <mjt@tls.msk.ru>
To: linux-fsdevel <linux-fsdevel@vger.kernel.org>
Subject: How to: determine if it's ext3 or ext2 mounted as ext4?
Date: Mon, 10 Jan 2011 15:13:40 +0300 [thread overview]
Message-ID: <4D2AF7F4.6040309@msgid.tls.msk.ru> (raw)
Hello.
I'm performing conversion from ext3 to ext4 currently,
on several nodes. The current plan is to remount them
as ext4 first, next use tune2fs to update list of
filesystem features, next to remount them again in order
to actually turn the features on.
The question is: what's the way to determine if the
actual features used corresponds to ext3 or ext4? Or,
in other words, if the last step in the above sequence
has been completed or not?
The filesystem superblock at this time will show ext4
already (since ext4-specific features are turned on),
but actual features used will be ext3.
Is there a way to determine if a remount is still needed?
Besides, when I first use tune2fs (on a ext3-mounted fs)
and next remount it, the filesystem wants an fsck pass,
which finds checksum errors on all newly written files,
and these errors can't be corrected automatically at boot
if -y fsck flag is NOT used (default on Debian). So I
had to remount them first and convert second.
Thanks!
/mjt
next reply other threads:[~2011-01-10 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 12:13 Michael Tokarev [this message]
2011-01-10 15:24 ` How to: determine if it's ext3 or ext2 mounted as ext4? Ted Ts'o
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=4D2AF7F4.6040309@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-fsdevel@vger.kernel.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.