/proc/mounts does not contain ext3/ext4 mount option data_err=abort correctly

Solution Verified - Updated -

Issue

  • /proc/mounts does not contain ext3/ext4 mount option data_err=abort correctly in RHEL7.
    And, if /etc/fstab is not used, remount becomes impossible.

    Here is a sample of operations that show the problem:

    # mount -o loop,data_err=abort image.img /mnt/
    # cat /proc/mounts | grep /dev/loop
    /dev/loop0 /mnt ext4 rw,seclabel,relatime,(null),data=ordered 0 0
    # mount -o rw,remount /mnt
    mount: /mnt not mounted or bad option
    
           In some cases useful info is found in syslog - try
           dmesg | tail or so.
    # dmesg | tail -1
    [260738.383411] EXT4-fs (loop0): Unrecognized mount option "(null)" or missing value
    

Environment

  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.