NFS does not work. mount: wrong fs type, bad option, bad superblock

The client needs nfs-common:

sudo apt-get install nfs-common

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


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.


Make sure mount.cifs, mount.nfs is listed into /sbin:

ls -l /sbin/mount.cifs
ls -l /sbin/mount.nfs

Check to see if package nfs-common, cifs-utils is installed:

dpkg -l cifs-utils
dpkg -l nfs-common

if /sbin/mount.nfs is not already there:

sudo apt-get install nfs-common

if /sbin/mount.cifs is not already there:

sudo apt-get install cifs-utils

Tags:

Ubuntu

Nfs