/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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content