I am setting up a new NFS client on a LAN that has a working NFS server (Ubuntu 12.04) running nfs4. The other clients all work as expected.

On this new client I'm running ChrUbuntu with kernel 3.4.0 (Kubuntu 12.04) on an Acer Chromebook. I installed nfs-common. However, the mount command returns the error mount.nfs4 no such device. And # modprobe nfs returns Fatal: module nfs not found. Google didn't offer me any solutions.

The mount command is like:

sudo mount -t nfs4 -o _netdev,noatime,auto,rw myserver:/home/user/shared /home/user/mountpoint

The modprobe command is:

sudo modprobe nfs

And nfs-common is the latest version from this release's repo: 1:1.2.5-3ubuntu3.1

  • What mount command? What are your nfs settings? Have you started the nfs service? – terdon Mar 14 '14 at 17:16
  • Did you tried restarting? – Braiam Mar 14 '14 at 17:17
  • 1
    @terdon: the specific mount command doesn't matter because the real problem is that # modprobe nfs returns Fatal: module nfs not found. I can't start nfs if the kernel module isn't found. – MountainX Mar 14 '14 at 17:27
  • @Braiam - Yes, I restarted after installing nfs-common. – MountainX Mar 14 '14 at 17:28
  • 1
    @terdon - I am using the IP address in the mount command. It is exactly the same mount command that works on all the other clients. And there is no such service as nfs-common on any client (even the working clients). – MountainX Mar 14 '14 at 17:49

modprobe is looking in /lib/modules to know whether a module is present. So you should check first if the current version of your running kernel has nfs module:

ls -l /lib/modules/$(uname -r)/kernel/fs

if you don't see nfs folder, it means the nfs module is not compiled for your running kernel. You can recompile kernel to make it use nfs module. However, you should upgrade your kernel first:

sudo apt-get update
sudo apt-get dist-upgrade
sudo init 6
  • 2
    The kernel is already the latest. The nfs folder is missing. Given that this is ChrUbuntu, there is no way I am going to recompile the kernel. So I guess I am out of luck. But your answer seems to be the most correct one... – MountainX Mar 14 '14 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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