1

I have installed RockyLinux 8.5 and am trying to mount a directory via cifs. I get the following error message:

# mount -t cifs -o user=<remarked>,domain=<remarked>,password=<remarked> //<remarked>/backups /mnt/backups
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)

The RPM packages cifs-utils and samba-utils are booth installed, but it seems to be, that the kernel can not find the cifs module because it is not possible to load it:

# find / -name "cifs"
/usr/lib/modules/4.18.0-348.el8.0.2.x86_64/kernel/fs/cifs
# lsmod | grep cifs
# modprobe cifs
modprobe: FATAL: Module cifs not found in directory /lib/modules/4.18.0-348.el8.0.2.x86_64

Does anyone have an idea why RockyLinux cannot load the cifs module? This is probably the problem why the mount does not work.

Here are additionally my dmesg logs. I cant found anything about cifs.

Volker Raschek
  • 307
  • 1
  • 5
  • 13

2 Answers2

1

Because you don't have the cifs module, else you would have seen

# find / -name "cifs"
/usr/lib/modules/4.18.0-348.el8.0.2.x86_64/kernel/fs/cifs
/usr/lib/modules/4.18.0-348.el8.0.2.x86_64/kernel/fs/cifs/cifs.ko
Gerard H. Pille
  • 2,469
  • 1
  • 12
  • 10
0

I found the solution for my problem. I've installed such a minimal version of RockyLinux, that the RPM kernel-modules and kernel-core were missing.

After installing booth RPMs could cifs be loaded via modprobe cifs.

Volker Raschek
  • 307
  • 1
  • 5
  • 13