Home linux Error when mounting remote FS: "Mount: Wrong FS Type, Bad Option"

Error when mounting remote FS: “Mount: Wrong FS Type, Bad Option”

Author

Date

Category

Trying to mount a remote file system:

sudo mount -t cifs "//some.url/path" '~ / local.path' -o
  username = $ (Whoami), rw, iocharset = utf8, uid = 1000, noperm

I get a mistake with a rather uncertain comment. What is the problem, how to mount?

Mount: Wrong FS Type, Bad Option, Bad Superblock on Some.url / Path, Missing Codepage or Helper Program, OR Other Error (For Sevel Filesystems (EG NFS, CIFS) You Might Need A / Sbin / Mount. Helper Program)
In Some Cases Useful Info Is Found in Syslog – Try DMesg | Tail or SO.


Answer 1, Authority 100%

In this case, the relative part of the error message that says the utility required to work with the file system cifs :

For Sevel FileSystems (E.G. NFS, CIFS) You Might Need A / Sbin / Mount. Helper Program

To mount the desired file system, such as CIFS or NFS, you must install the appropriate utilities.

Check the ability to work:

ls -l /ssbin/mount.cifs
LS -L /Sbin/mount.nfs.

Is the package installed:

dpkg -l cifs-utils
DPKG -L NFS-COMMON

Set (Example for Debian / Ubuntu, similar packages are for other batch managers):

sudo apt-get install cifs-utils
Sudo Apt-Get Install NFS-COMMON

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions