{"id":726,"date":"2011-01-16T23:03:43","date_gmt":"2011-01-16T21:03:43","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=726"},"modified":"2021-10-10T22:35:56","modified_gmt":"2021-10-10T20:35:56","slug":"dfs-replication-watch-out","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html","title":{"rendered":"6 Reasons NOT to Use Microsoft DFS Replication"},"content":{"rendered":"\n<p>Based on advice from a Microsoft techie, I decided to set up DFS (Distributed File System) on a few remote sites about a year ago. Sceptical at first, The product is so disappointing that I decided to warn people who haven&#8217;t made their mind up.<br>&nbsp;<br>Here are 6 good reasons NOT to use DFS Replication<br>&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"\/uploads\/railway-catenary-cross-work-wear-3660330.jpg\" alt=\"\"\/><figcaption><a href=\"https:\/\/pixabay.com\/users\/hpgruesen\">hpgruesen<\/a> \/ Pixabay<\/figcaption><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">No Defragmentation<\/h3>\n\n\n\n<p>After defragmenting, a new replication occurs generating a <a href=\"http:\/\/support.microsoft.com\/kb\/282791\">huge traffic<\/a> that could max out your lines bandwith for a few days if the folders size is big enough.<br>I haven&#8217;t tried but I wonder if the same thing wouldn&#8217;t happen when creating\/removing the disk index?<br>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">File Locking<\/h3>\n\n\n\n<p>There&#8217;s no such thing, inter-site file locking, since there are 2 local copies of each files (or more).<br>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Concurrent Access<\/h3>\n\n\n\n<p>Drawback from the previous point, data may be overwritten. If someone leaves a file open the whole day and saves it before he leaves the office, all changes made from another replication site will be lost.<br>Therefore, DFS is advised for write-protected files or files that can be modified from a single site.<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Failover<\/h3>\n\n\n\n<p>If one of the DFS server becomes unavailable on a same site, some users are still redirected to that server and may lose access to their files. Wasn&#8217;t it one of DFS goals?<br>Of course, users are still able to manually select the DFS target but most of them probably don&#8217;t know the trick. The problem does not happen on all folders as a DFS server is randomly selected for each one of them. There&#8217;s also a cache that defaults to 1800 seconds, that&#8217;s 30 minutes.<br>Solution: Upgrade to Windows Server Enterprise which provides clustering and rising the price of your license.<br>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Diagnostic Tools<\/h3>\n\n\n\n<p>No graphical tool (yet Microsoft speciality) is available to monitor what&#8217;s being replicated.<br>There are indeed those scripts connstat.cmd and iologsum.cmd written in Perl (Really!?) provided with Microsoft support tools. You first need to relocate the files in a path with no space or you&#8217;ll get the following error:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"powershell\" class=\"language-powershell\">Can't open perl script \"C:\\Program\": No such file or directory<\/code><\/pre>\n\n\n\n<p><br>Microsoft have posted a <a href=\"http:\/\/support.microsoft.com\/kb\/314203\">bug report<\/a> on their website back in 2007 rather than fixing it!<br>Try to replace &#8220;@perl %~dpn0.cmd %*&#8221; by &#8220;@perl %0 %*&#8221; around the end of the script&#8230;<br>Script usage is not very intuitive and information not always relevant in my opinion. Usage with a practical example is available on <a href=\"http:\/\/support.microsoft.com\/kb\/284947\">Microsoft<\/a> indeed.<br>&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Bandwith Throttling<\/h3>\n\n\n\n<p>Bandwith throttling isn&#8217;t possible as far as I know on Windows 2003 Server&#8230;<br>As well as that, to stop an ongoing replication, I stop the DFS service. Nothing happens, replication still goes on. I had to run &#8216;net stop ntfrs&#8217; to stop the flow. Unfortunately, this also denies Active Directory from replicating if you&#8217;re on a domain controller.<br>&nbsp;<br>In a nutshell, DFS has so many gaps and restrictions, it becomes difficult to use it for anything but content publishing across an enterprise.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on advice from a Microsoft techie, I decided to set up DFS (Distributed File System) on a few remote sites about a year ago. Sceptical at first, The product is so disappointing that I decided to warn people who haven&#8217;t made their mind up.&nbsp;Here are 6 good reasons NOT to use DFS Replication&nbsp; No [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[70],"tags":[325,391],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication<\/title>\n<meta name=\"description\" content=\"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication\" \/>\n<meta property=\"og:description\" content=\"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2011-01-16T21:03:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-10T20:35:56+00:00\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html\",\"name\":\"Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2011-01-16T21:03:43+00:00\",\"dateModified\":\"2021-10-10T20:35:56+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"description\":\"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!\",\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"6 Reasons NOT to Use Microsoft DFS Replication\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication","description":"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication","og_description":"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!","og_url":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html","og_site_name":"Netexpertise","article_published_time":"2011-01-16T21:03:43+00:00","article_modified_time":"2021-10-10T20:35:56+00:00","author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html","url":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html","name":"Netexpertise - 6 Reasons NOT to Use Microsoft DFS Replication","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2011-01-16T21:03:43+00:00","dateModified":"2021-10-10T20:35:56+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"description":"6 good reasons NOT to use Microsoft DFS replication on your Active Directory domain. You have been warned!","breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/systems\/windows\/dfs-replication-watch-out.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"6 Reasons NOT to Use Microsoft DFS Replication"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/726"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=726"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/726\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=726"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}