Why EXT4 filesystem can't be mounted with "mand" option in RHEL8 and later?

Solution Verified - Updated -

Issue

  • Can we use "mand" option i.e. "Mandatory locking" while mounting the EXT4 filesystem in RHEL 8 ?
  • Unable to mount filesystem with mand option: Permission denied error :
[root@localhost ~]# mount /dev/mapper/testvg-mntlv /mnt -o mand
mount: /mnt: permission denied.       <<<<<<<<<
[root@localhost ~]# 

Environment

  • Red Hat Enterprise Linux 8
  • EXT4 filesystem

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