mainly linux, some windows…

using DNS name in fstab

leave a comment »

kept getting error when using hostname (DNS entry or hosts file) in fstab for a CIFS share;

mount: wrong fs type, bad option, bad superblock on //SDDSKBLK/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)
In some cases useful info is found in syslog – try
dmesg | tail  or so

First I installed smbfs. This changed the error to;

mount error(5): Input/output error

I found that the hostname had to match the machine name to clear this.


BAD – //someothernamedefinedinhostsfile/share /mnt/share

OK – //actaulHostNameOfServer/share /mnt/share


Written by Steve

July 23, 2010 at 7:05 PM

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: