[CentOS] mounted NFS does not show in df -h

Fri Apr 3 07:00:30 UTC 2015
Ashish Yadav <gwalashish at gmail.com>

Hi,

On Thu, Apr 2, 2015 at 9:44 PM, Tim Dunphy <bluethundr at gmail.com> wrote:

> Hey guys,
>
>  This is kind of odd, so I wanted to do a sanity check.
>
>  I mounted an NFS share like so:
>
> [root at web1:~] #mount -t nfs nfs1.jokefire.com:/home /mnt/home
>
> Seemed to go ok. Then I took a look at the output of df -h and didn't see
> it!
>
>
> [root at web1:~] #df -h
> Filesystem                  Size  Used Avail Use% Mounted on
> /dev/vda                     40G   24G   14G  64% /
> devtmpfs                    996M     0  996M   0% /dev
> tmpfs                      1001M     0 1001M   0% /dev/shm
> tmpfs                      1001M  101M  901M  11% /run
> tmpfs                      1001M     0 1001M   0% /sys/fs/cgroup
> s3fs                        256T     0  256T   0% /backup/cassandradb
> s3fs                        256T     0  256T   0% /backup/mysql
> nfs1.jokefire.com:/var/www   20G  3.1G   16G  17% /var/www
>

That is strange!!!


>
>
> Yet, when I do a df -h on the directory I mounted the NFS share on, I see
> that it's mounted via NFS as expected:
>
> [root at web1:~] #df -h /mnt/home
> Filesystem               Size  Used Avail Use% Mounted on
> nfs1.jokefire.com:/home   20G  3.1G   16G  17% /mnt/home
>
> So, what do you think could be happening? Why is it that I can't see the
> output I'm expecting just by going df -h???
>

It could be a bug with either mount, coreutils, the kernel or nfs-common.
Please look for update. That may solve this problem.

--Regards
Ashishkumar S. Yadav