Skip Links

Network World

Glenn Weadock

DFS: Not a Distributed Database

Distributed File System replication does not offer file locking

By Glenn Weadock on Fri, 10/30/09 - 5:32pm.
Newsletter Signup

You may have read something about DFS replication in Server 2008. (DFS stands for Distributed File System or Distributed File Service.) Or perhaps you've been using this feature, which (among other capabilities) lets you create multiple redundant targets for file shares that you want to make available to network users. The DFS replication service (also known as DFS-R) is responsible for synchronizing updates to files that exist in more than one DFS target location. The version of DFS-R that comes with Server 2008 and Server 2003 R2 is dramatically better than earlier versions because the new version replicates only changes to affected files, not the entire files.

One of the questions that usually comes up is whether Windows has some way to automatically lock a file in a DFS target so that a simultaneous update to the same file in another target folder cannot occur. Alas, this capability is not part of DFS, even in Server 2008. What will happen is the “last write wins” and the earlier of the two simultaneous updates will get overwritten and lost.

The moral here is that DFS-R is not a distributed database system. If you expect frequent simultaneous updates of files in your DFS target folders, then DFS may not be the best tool to use to provide fault tolerance or performance benefits. Microsoft would likely suggest SharePoint for such scenarios, because it offers a check-out/check-in system.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <strong> <i> <br /> <br> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
About Glenn Weadock on Windows Server 2008

Glenn Weadock is a longtime instructor for Global Knowledge and teaches Windows 7, Server 2008, and Active Directory. He has recently co-developed with Mark Wilkins two advanced Server 2008 classes in the Microsoft Official Curriculum. Glenn also consults through his Colorado-based company Independent Software, Inc. and is technical director of MarketCoach Investment Education Software LLC.

Global Knowledge