Warning message

A translation for your language preference does not exist.

xfs_info fails when mounted device name is specified as argument in RHEL 8

Solution Vérifié - Mis à jour -

Question

xfs_info fails with "contains a mounted filesystem" error when a mounted device name is specified as an argument.

$ xfs_info /dev/mapper/rhel-root 
xfs_info: /dev/mapper/rhel-root contains a mounted filesystem

fatal error -- couldn't initialize XFS library

Environnement

  • Red Hat Enterprise Linux 8
  • xfsprogs-4.18.0-3.el8

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