How to recover a lost or corrupted /etc/mtab file?

Solution Unverified - Updated -

Issue

  • The /etc/mtab file has become corrupt or deleted and needs to be restored for mount commands to work again.
  • How to recover /etc/mtab file which was mistakenly edited but does not hold the correct data now?
  • How to reset /etc/mtab file to reflect the current mount information.

Environment

  • Redhat Enterprise Linux 4,5,6

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