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

Khaled AlAkhras 110 Reputation points
2023-10-31T09:27:21.38+00:00

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.
{count} votes

Answer accepted by question author
  1. James Smith 175 Reputation points
    2023-11-02T13:58:13.35+00:00

    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.

    https://www.mail-archive.com/******@lists.launchpad.net/msg514627.html

    20 people found this answer helpful.

8 additional answers

Sort by: Most helpful
  1. Nikki 76 Reputation points
    2023-11-01T05:37:43.7+00:00

    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
    GRUB_DEFAULT="1>2"
    
    sudo update-grub
    
    restart
    

    Got the answer here: https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/kernel-related-boot-issues#bootingup-differentkernel-ARVMManual

    9 people found this answer helpful.

  2. M Ponj 15 Reputation points
    2023-11-02T09:05:30.09+00:00

    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
    2023-11-02T12:58:22.41+00:00

    My understanding of the issue is that this sits with Canonical - https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/2042092. 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
    2023-11-01T10:48:50.7533333+00:00

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

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.