using DNS name in fstab
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.
e.g.
BAD – //someothernamedefinedinhostsfile/share /mnt/share
OK – //actaulHostNameOfServer/share /mnt/share
Advertisement
