Unable to mount azure file share all of sudden after package upgrades, complaining cifs not supported by the system

Yun Chen 0 Reputation points

I recently upgraded some packages when I logged into my linux vm. Then I tried to mount my file share, it complains "mount error: cifs filesystem not supported by the system. mount error(19): No such device".

I tried sudo dmesg | grep CIFS. no message regarding cifs.

I also checked my cifs installation it is the latest version. 2:6.14-1ubuntu0.1

My kernel is: 6.2.0-1016-azure

Can you help? I have large quantity of data on the file share now I can't access via linux vm and no computations can be done without them. Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,355 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
511 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ekpathak 15 Reputation points Microsoft Employee

    Hi Yun Chen, Welcome to Microsoft Q&A and Thanks for posting your query here!

    This seems to be a known bug/issue for the kernel version linux-image-6.2.0-1016-azure.

    Hence, either you can manually rollback to the previous kernel version following the below document:


    vi /etc/default/grub
    sudo update-grub

    Or the current workaround for new (i.e. no rollback kernel option) systems is to install the below module as cifs.ko is provided in the linux-modules-extra-azure module:

    apt install -y linux-modules-extra-azure

    Apparently the problem is that, between 6.2.0-1015 and 6.2.0-1016, the CIFS module was moved from fs/cifs/* to fs/smb/client/, fs/smb/common/ and fs/smb/server/*. The inclusion list (root/debian.azure-6.2/control.d/azure.inclusion-list) was not updated for this change, so the module is not included in the linux-modules-6.2.0-1026-azure package.

    Reference Documents:



    Please let us know if you have any further queries. I’m happy to assist you further.

    Please do not forget to "Accept the answer” and “up-vote” whenever the information provided helps you, as this can be beneficial to other community members.