df command does not show the root device

Solution Verified - Updated -

Issue

  • df command does not show usage of root file system :
[root@host ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/vda1               101086     12848     83019  14% /boot
tmpfs                   125808         0    125808   0% /dev/shm
  • However, forcing df to show the usage of / works, but note that it can not find the block device:
[root@host ~]# df /
Filesystem           1K-blocks      Used Available Use% Mounted on
-                      5586528   1445364   3852808  28% /
  • The mount -l command does not show the root file system as mounted.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • /etc/fstab does not mention the root file system

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.