Mounted NFS Does Not Show In Df -h

Home » CentOS » Mounted NFS Does Not Show In Df -h
CentOS 1 Comment

Hey guys,

This is kind of odd, so I wanted to do a sanity check.

I mounted an NFS share like so:

[root@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@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

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@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???

Thanks!!
Tim

One thought on - Mounted NFS Does Not Show In Df -h

  • Hi,

    That is strange!!!

    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

LEAVE A COMMENT