Why `df` command doesn't show duplicated mounts?
Issue
- The
dfcommand does not display all active mount points when the same remote share (NFS/CIFS) or local block device is mounted multiple times to different directories. - Running
df -hordf -afails to show all expected filesystems, even though they are confirmed to be active. - The
mountcommand or/proc/mountscorrectly lists all mount points, butdfonly displays a subset (often only the first or last one mounted). - At boot, all filesystems are mounted via
/etc/fstab, but only one entry per source device appears indf. - Manually unmounting and remounting a specific share may cause it to "appear" in
df, potentially displacing the previous entry for that same source.
Environment
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Remote Filesystems (NFS, CIFS)
- Local Filesystems (XFS, Ext4)
- Bind mounts
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.