Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

This is what I got on server:

manuel@server ~ $ cat /etc/exports
  /var/share, sync)
manuel@server ~ $ cat /etc/hosts.allow 
manuel@server /etc $ cat /proc/filesystems | grep nfs
  nodev nfs
  nodev nfs4

This is what I get on my machine:

manuel@Timeline:~$ sudo mount -t nfs /media/share/
   mount: wrong fs type, bad option, bad superblock on,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)
       Manchmal liefert das Syslog wertvolle Informationen – versuchen
       Sie  dmesg | tail  oder so

server is Raspbian (Debian Wheezy) Timeline is Ubuntu 12.04

share|improve this question
/etc/export or /etc/exports? –  Karlson Feb 19 '13 at 20:36
man exports. Normally filename should be /etc/exports. –  Karlson Feb 19 '13 at 20:40
Have you changed filename on to /etc/exports? –  Karlson Feb 19 '13 at 20:42
I just corrected it to /etc/exports. No improvement –  ManuelSchneid3r Feb 19 '13 at 20:46

2 Answers 2

up vote 4 down vote accepted

Run exportfs -a on the server machine.

Also both machines have all of the needed NFS support packages and have nfs support? You can find if the kernel supports a specific filesystem by examining the output of cat /proc/filesystems.

And yes, the filename of the export file needs to be /etc/exports

Finally, check to see if you have enabled the NFS daemons during startup.

share|improve this answer
Hurray I had syntax errors in /etc/exports +1 for exportfs -a. But showmount still shows no shares. I updated the question. "Finally, check to see if you have enabled the NFS daemons during startup." - How? –  ManuelSchneid3r Feb 19 '13 at 20:53

The client needs nfs-common:

sudo apt-get install nfs-common


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.