“Wrong fs type, bad option, bad superblock”

One of my co-workers setup a server with Ubuntu 14.04 server running on it. I was using it to create and test some software running in VMs. As I was using KVM as my hypervisor, I needed qcow2 images. Another co-worker pointed me to a second server where the directory that held the images was NFS mounted. Rather than scp the images from the second server, I chose to mount the folder on my server.

Very simply, I added the following line to my server’s /etc/fstab file:

server.company-name.com:/usr_global /usr/global nfs ro,noatime,nodiratime,intr,noacl,sloppy,vers=3 0 0

Attempting to mount on the command line (mount /usr/global) yielded the error you see in the title of this post: Wrong fs type, bad option, bad superblock and some words about possibly needing a helper function.

After looking at several possible solutions, the one that ultimately worked for me was to install the nfs-common package:

apt-get install nfs-common

After this, the mount worked as expected!

 

Advertisements