Mount Error on AlmaLinux 9 - error(19) no such device

If you try to mount an cifs shares on AlmaLinux 9 and get the following error message

[tux@server]$ sudo mount -a
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)

then you are missing the required kernel-modules.

You can install them like this.

dnf install kernel-modules

After that you should be able to mount the share.

This solution is based on this reddit thread.

profile picture of the author

Jannik Rehkemper

I'm an professional Linux Administrator and Hobby Programmer. My training as an IT-Professional started in 2019 and ended in 2022. Since 2023 I'm working as an Linux Administrator.