A junior administrator cloned a workstation's ext4 root partition to an older production server that still runs a 4.4-series kernel. On first boot the system drops to emergency mode and the console shows:
EXT4-fs (sda1): couldn't mount because of unsupported optional features (0x400)
The goal is to restore normal boot without re-creating the filesystem or losing data. Which action is most likely to achieve this?
Boot from rescue media, run tune2fs -O ^metadata_csum /dev/sda1 and then e2fsck -f /dev/sda1.
Re-create the filesystem with mkfs.ext4 -F /dev/sda1 and restore the data from backup.
Add the mount option nobarrier for /dev/sda1 in /etc/fstab and reboot.
Run fsck.ext4 -y /dev/sda1 from the emergency shell and reboot.
The hexadecimal flag 0x400 corresponds to the metadata_csum feature that was enabled when the filesystem was created on the newer workstation. Kernels and e2fsprogs versions older than 4.5/1.43 cannot mount an ext4 volume with this feature enabled. Booting from rescue media and using tune2fs -O ^metadata_csum /dev/sda1 clears the feature bit in the superblock; an immediate e2fsck rewrites the metadata so that the filesystem is consistent. Because the feature is removed rather than the filesystem being re-formatted, the data remain intact and the next boot proceeds normally.
Re-formatting with mkfs.ext4 would work but destroys all data, so it violates the requirement to avoid data loss.
Adding nobarrier in /etc/fstab only changes write-barrier behavior and does not affect feature compatibility bits.
Running fsck alone cannot disable an unsupported feature bit, so the mount would still fail.
Therefore, disabling metadata_csum with tune2fs followed by e2fsck is the correct corrective action.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is metadata_csum in ext4 filesystems?
Open an interactive chat with Bash
Why is booting from rescue media required to fix the issue?
Open an interactive chat with Bash
What does the `tune2fs` command do, and why is it used here?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .