CIFS mount returns mount error: cifs filesystem not supported by the system even if the cifs module is loaded

Solution Verified - Updated -

Issue

  • When mounting cifs manually I am getting errors:
[root@client ~]# mount.cifs -o username=user,password=userpassword //samba.example.com/cifs  /mnt/cifs  -vvv
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

Environment

  • Red Hat Enterprise Linux 9
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content