On Wed, Aug 12, 2015 at 03:02:31PM +0200, Gregory Storme wrote:
I have these two NFS mounts in fstab:
storage001:/vol/webdata /var/www/sites nfs defaults 0 0
storage001:/vol/webdata /var/www/sites-secondary nfs defaults 0 0
Running "df", "df -h", "df -t" only displays the first mount.
Both mounts are displayed using "mount", "df -a", "df -a -t nfs".
Why is it not displayed using "df -h" in this version?
In coreutils package 8.5-1 on squeeze, both mounts are displayed using "df -h".
There were many complaints in previous versions about df displaying
duplicative mounts, so new logic only displays the shortest name for
such a mount. (In other words, working as designed.) In the specific
case of NFS, they would be displayed if the remote paths were different,
but not if identical remote paths are mounted in two places.
Mike Stone