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 an Ubuntu server and want to access its web folder (/var/www). What I done:

installed nfs-kernel-server, nfs-common and portmap (as in faq)

Setted up /etc/exports:


Then: sudo exportfs -ra

Then: sudo /etc/init.d/nfs-kernle-server restart

I checked, if all works on same machine: sudo /mnt/test

Then accessed /mnt/test and seen that all data present and all ok.

Next, I tried to connect this folder to windows7 using NFS client:

First, I checked, that linux exported path successfully:

showmount -e

All ok, go to mount:
mount -o anon z:

Console said, that all success.. but. I cant access drive Z (drive exists in the system and point to right folder). When I try to access drive Z my Explorer just going to sleep and then say that timeout expired.

Help me please.

share|improve this question
up vote 0 down vote accepted

I am thinking you'll need to set up User Name Mapping.

share|improve this answer
nfsd can work either with user names or ip addresses. User name mapping dont solve problem. Anyway I tried to assign unix user (with net use) but without success. I solved problem by installing Samba server. Thank you for answer. – Vitaly Apr 19 '10 at 14:52

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.