While working with CentOS Linux 5 & Kernel Version 2.6.18-8.1.6.e15 I was trying to mount a CIFS type filesystem.
The issue originally began when I "unmounted" the mount. After that, I could no longer "mount" it back.
The following is used to mount:
mount -t cifs //servername/fileshare /mnt/net -o user=username,pass=secret
The following is the response:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Someone mentioned to check for the module with the following code:
ls -al /lib/modules/`uname -r`/kernel/fs/cifs
drwxr-xr-x 2 root root 4096 Jun 18 12:47 .
drwxr-xr-x 27 root root 4096 Jun 18 12:47 ..
-rwxr--r-- 1 root root 249124 Jun 14 2007 cifs.ko
Seems like it is there.
It was mounted fine only a couple days ago, and nothing has changed besides me "unmounting" the mount. Now it says it is no longer supported.
Help is most appreciated.