Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.55 KB

2018-11-14-mount-wrong-fs-type-bad-option-bad-superblock.md

File metadata and controls

43 lines (32 loc) · 1.55 KB
title author date url thumbnail categories tags
mount: wrong fs type, bad option, bad superblock
svennd
2018-11-14 10:02:51 +0000
/mount-wrong-fs-type-bad-option-bad-superblock/
/img/2020/05/edward-howell-OEfm0hrY_rw-unsplash-scaled.jpg
Linux
SysAdmin
filesystem

On Centos 7.5 base install, there are no utility's installed by default. So when I tried to mount an NFS share I got this error :

mount: wrong fs type, bad option, bad superblock on svennd.be:/data,
       missing codepage or helper program, or other error
       (for several filesystems (e.g. nfs, cifs) you might
       need a /sbin/mount.<type> helper program)

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

This clearly tells us it cannot communicate with the NFS share, fixing can be done installing : nfs-utils for Centos.

yum install nfs-utils

for Debian variants (Mint, Ubuntu, ...) this would be :

apt install nfs-common

After that, I see happy shares 🙂

mount.nfs: timeout set for Wed Nov 14 12:57:50 2018
mount.nfs: trying text-based options 'soft,intr,retrans=2,rsize=32768,wsize=32768,nfsvers=3,tcp,addr=svennd.be'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying svennd.be prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying svennd.be prog 100005 vers 3 prot TCP port 20048
/data    : successfully mounted