Take the 2-minute tour ×
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    192.168.178.20(rw, sync)
manuel@server ~ $ cat /etc/hosts.allow 
  portmap: 192.168.178.20
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 192.168.178.2:/var/share /media/share/
   mount: wrong fs type, bad option, bad superblock on 192.168.178.2:/exports/var/share,
       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
1  
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 2 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

Refer: http://www.cyberciti.biz/faq/missing-codepage-helper-program-other-error/

share|improve this answer

Your Answer

 
discard

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.