I am encountering an issue with mounting CIFS shares on a Linux system from a Windows 10 desktop. Here’s the setup:
On the Windows 10 desktop, I created two folders:
One is named 测试
(Chinese characters for “test”).
Another is named testshare
(English characters).
Both folders are shared with the Everyone group, granting read and write permissions.
On the Linux system, I successfully mounted both folders to /media/share
.
Initially, both mounts work correctly. However, after some minutes, the mount with the Chinese characters (“测试”) disconnects. The syslog shows the following error message:
CIFS VFS: BAD_NETWORK_NAME: \10.10.239.180测试
Meanwhile, the English-named folder (“testshare”) remains mounted without any issues.
Troubleshooting Steps Taken:
(1)Verified that the shares on Windows are still accessible and properly configured.
(2)Ensured that the iocharset=utf8 option is used for both mounts to handle the encoding correctly.
(3)Checked network stability, ensuring there are no packet losses or high latency.
Questions:
(1)What could be causing the CIFS mount with Chinese characters to disconnect while the English-named folder remains stable?
(2)Are there any additional mount options or configurations that might help maintain the connection for shares with non-ASCII characters?
(3)Could this be related to specific settings or limitations within the Windows sharing service when handling non-ASCII named shares?
Any insights or suggestions to resolve this issue would be greatly appreciated. Thank you!