KB4520124 - FIX: Unable to mount SQL Server FILESTREAM share from Linux with SMB 3.x protocol

Applies to: SQL Server 2016 Service Pack 2SQL Server 2016 DeveloperSQL Server 2016 Enterprise


Assume that you have a Microsoft SQL Server 2016 or 2017 database that has a FileTable. When you try to mount the SQL Server FILESTREAM share (or a sub-directory) from Linux by using the SMB 3.x protocol, you notice that the mounting fails and returns the following error message:

Error message from Linux :

[UserName ~]$ sudo mount -t cifs -o vers=3.0,sec=ntlmssp,username=Username,domain=DomainName  //sql_machine_name/filestream_share /mnt/mount_dir
[sudo] password for UserName:
Password for UserName@//sql_machine_name/filestream_share: ********
mount error(22): Invalid argument


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. 


This issue is fixed in the following cumulative updates for SQL Server:
About cumulative updates for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.