How to lock files across DFS servers

Bill Tkach 86 Reputation points
2020-09-29T19:10:28.09+00:00

We have servers replicated via DFS.

If someone is editing a file on one server, the second DFS server does not know this, and will let someone else open up that same file on the other end.

Is there a way to have the second DFS server know that a file is locked, and thereby pass that information to the other DFS server, so that it cannot be opened again, causing possible data loss?

Thanks,

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    2020-09-30T05:44:21.877+00:00

    Hello,

    Thank you so much for posting here.

    This is an unfortunate "missing" feature when it comes to DFS. This article would probably be an interesting read:
    https://learn.microsoft.com/en-us/archive/blogs/askds/understanding-the-lack-of-distributed-file-locking-in-dfsr

    Hope the information is helpful. Thanks.

    Best regards,
    Hannah Xiong

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Leon Laude 86,026 Reputation points
    2020-09-29T19:22:44.367+00:00

    Hi @Bill Tkach ,

    Unfortunately there's no functionality within DFS to know whether the files are locked or not, so I'm afraid this isn't possible.

    You can however suggest feedback about this over here:
    https://windowsserver.uservoice.com/forums/295047-general-feedback

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    1 person found this answer helpful.
    0 comments No comments

  2. Bill Tkach 86 Reputation points
    2020-09-30T21:42:44.953+00:00

    So DFS is dead, is what that says to me.
    Microsoft wants us to use another technology instead.

    Roger that.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.