Translated message

A translation of this page exists in English.

CIFS VF:BAD_NETWORK_NAME

Solution In Progress - Updated -

Issue

  • 挂载到 Linux 服务器上的 Windows SMB 共享会在经过一段时间后断开连接。

  • 环境如下:
    少数 LINUX 服务器,它们带有来自 Windows 文件共享(仅支持 SMB 3)和 Linux 客户端中的共享的 CIFS,它们通过 fstab 文件中的以下选项挂载。

//servername/folder /localfolder   cifs   credentials=/login.txt,x-systemd.automount,x-systemd.device-timeout=5,_netdev,noserverino,noperm,sec=ntlmssp,vers=3.0 0 0
  • 以上共享会在经过一段时间后,在 Linux 服务器上被断开连接并被自动卸载。检查消息日志,发现以下错误:
kernel: CIFS VFS: BAD_NETWORK_NAME: \\servername\folder
  • 需要手动卸载并再次挂载才能解决相关问题。

  • 备份作业在 CIFS 共享中共享,该共享从 RHEL 服务器上断开连接。

Environment

  • Red Hat Enterprise Linux 7.2
  • SMB3
  • Windows Server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content