Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have set up shares on an NFS server. I can mount the shares with no error. The share sizes reported by "df" are much smaller than the share size on the server eg. server reports 1 TB but the share looks like 3.8 G from the clients. I can create a test file on the nfs share from a client, and this test file is visible from all clients, but when I go to the shared directory on the server, the file is not there. Similarly, files that pre-exist on the server, are not visible to any clients. On the server, I ran the command "updatedb" and searched for the newly created test file; however, it is not found anywhere on the server. So, I am accessing some share, and I can create files on the share from the client, but can't see these files anywhere on the server. I see no significant nfs related errors in /var/log/messages. The server is CentOS 5.8. The clients are CentOS 6.4. Iptables is turned off on both server and clients for testing.

I don't see any issues with name resolution or DNS.


[root@vmappp04 /]# cat /etc/exports

[root@vmappp04 /]# rpm -qa |grep nfs-utils

[root@vmappp04 /]# rpm -qa |grep nfs4-acl-tools

[root@vmappp04 /]# rpm -qa |grep portmap

There is no hosts.allow or hosts.deny file existing on the server.


cat /etc/fstab
vmappp04:/  /data/filer_01  nfs4    noauto,defaults 0 0 

[root@vmappp11 ~]# rpm -qa |grep nfs-utils

[root@vmappp11 ~]# rpm -qa |grep nfs4-acl-tools

portmap is not installed on clients

output from mount command on client appears correct:

[root@vmappp11 ~]# showmount -e vmappp04
vmappp04:/ on /data/filer_01 type nfs4 (rw,addr=,clientaddr=

Export list for vmappp04:

[root@vmappp11 ~]# showmount -d vmappp04

Directories on vmappp04:

[root@vmappp11 ~]# showmount -a vmappp04

All mount points on vmappp04:

[root@vmappp11 ~]# showmount -a

All mount points on

I've tried all kinds of permutations on the server and client side. Unsure how to proceed, please advise; much obliged for any assistance.

share|improve this question

It was not clear to me what the hierarchies of mounted filesystems were on your server and clients, but you have to be careful about mounting directories and subdirectories, and when+where they are mounted. It looks to me like you are mounting things incorrectly.

Mounting to a subdirectory or parent directory will yield the type of results you are seeing. It's possible you are saving files "under" a mount point on the server. For example if /data is mounted to a disk, the files you are saving via the clients are going to the /data that exists "before" /data is mounted, i.e. on /. Is the / on the server 3.8 G?

You will not want to mount subdirectories of mount points, because they are handled differently. You should export each directory you want to mount separately.

Also, based on that fstab you appear to be mounting vmappp04:/ not vmappp04:/data - that will cause this too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.