linux-image-6.2.0-1016-azure cifs is not supported

Khaled AlAkhras 110 Reputation points

Ubuntu 22.04.3 LTS (GNU/Linux 6.2.0-1016-azure x86_64)

After upgrading from linux-image-6.2.0-1015-azure to linux-image-6.2.0-1016-azure, we are unable to mount cifs file shares.

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)

sudo lsmod | grep cifs

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,338 questions
{count} votes

Accepted answer
  1. James Smith 175 Reputation points

    Functional workaround found in a different discussion.

    The current workaround answer for new (i.e. no rollback kernel option) systems is to:

    apt install -y linux-modules-extra-azure

    Apparently the problem is that they moved the location of the CIFS driver from fs/cifs/ to fs/smb/client/, but didn't update the include file for building the base modules package to include the new path.

    20 people found this answer helpful.

7 additional answers

Sort by: Most helpful
  1. Nikki 76 Reputation points

    I was able to get my virtual machine running with mounted filesystem again by setting grub to boot to the old kernel rather than the newest.

    vi /etc/default/grub
    sudo update-grub

    Got the answer here:

    9 people found this answer helpful.

  2. M Ponj 15 Reputation points

    This is critical issue for me, please can we have an update to this from Microsoft urgently?

    3 people found this answer helpful.
    0 comments No comments

  3. Daniel Forsberg 10 Reputation points

    My understanding of the issue is that this sits with Canonical - So not sure if MS can fix this per say, but rather Canonical needs to provide a fixed kernel image together with updated Ubuntu images that are then pushed to Azure for use when deploying new Ubuntu based VMs.

    2 people found this answer helpful.

  4. L S 5 Reputation points

    Please can we have an update to this from MS addressing this issue?

    1 person found this answer helpful.
    0 comments No comments