How to remove the /home directory on RHEL 7.3

Solution Verified - Updated -

Issue

  • Removing the /home directory fails with Device or resource busy error even though /home is not a mount point:

    # rmdir /home
    rmdir: failed to remove ‘/home’: Device or resource busy
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7.3

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.