mv command gets hung when a file is opened at Windows end with edit enabled.

Solution Verified - Updated -

Issue

  • mv command gets hung when a file is opened at Windows end with edit enabled.
  • cifs repeatedly tries to open a file using smb v1 on an smb2 mount after receiving STATUS_SHARING_VIOLATION

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
    • kernels before 4.18.0-147.el7
  • smb2+ mounts

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