df command does not show the root device
Issue
dfcommand 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
dfto 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 -lcommand 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.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
