Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

DFS

Direct answer

DFS (Distributed File System) has two parts: DFS Namespaces, which present shares from many servers under one path like \\corp.local\files, and DFS Replication, which keeps folders in sync between servers.

When to use this

Use this when presenting shares from many servers under one path or keeping folders synchronized between file servers.

First 30 seconds

1. Namespace reachable: Test-Path \\domain\ns\folder.

2. Targets online: Get-DfsnFolderTarget.

3. Replication backlog small.

4. DFSR events (2213 dirty shutdown, 4012 stale).

5. Client referral cache.

Operational verification

namespace → referral → nearest target; DFSR keeps targets in sync

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Using DFS Replication as a backup — deletions and ransomware replicate too.
  • Multi-master editing of the same files in two sites (conflicts, last writer wins).
  • Staging quota too small, causing slow initial sync.
  • FRS still used for SYSVOL (unsupported since Server 2019) — migrate to DFSR.
Platform / version applicability
Windows storage and file services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows storage and file services
Scope / prerequisiteUse this when presenting shares from many servers under one path or keeping folders synchronized between file servers.
What next?2 suggested next steps
Child topics (this level)6
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • Namespace = path; replication = copies — they are separate.
  • DFSR is not a backup; deletes replicate.
  • Clients cache referrals.
Key checks
  • Get-DfsnRoot — namespaces
  • Get-DfsnFolderTarget -Path <path> — folder targets and state
  • Get-DfsrBacklog -GroupName <g> -FolderName <f> -SourceComputerName <a> -DestinationComputerName <b> — DFSR backlog
  • dfsrdiag replicationstate — replication state
  • dfsutil /pktinfo — client referral cache
ReferenceWhy it matters1 section · depth on demand

Namespaces and replication

ComponentDoesTypical command
DFS NamespacesOne path (\\corp.local\files) pointing to shares on many serversGet-DfsnFolderTarget
DFS Replication (DFSR)Keeps folder contents in sync between serversGet-DfsrBacklog, dfsrdiag

They are independent: a namespace can point to non-replicated shares, and DFSR can replicate without a namespace. DFSR is multi-master with last-writer-wins, so it is not suited to files edited at several sites at once (no locking). SYSVOL also uses DFSR.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

DFS has two independent parts:

PartPurpose
DFS Namespaces (DFSN)One logical path (\\corp.example.com\files\…) pointing to shares on many servers, with site-aware referrals
DFS Replication (DFSR)Multi-master file replication between servers (RDC, staging)

They are often used together, but namespaces work fine with any target (including NAS or Azure Files), and DFSR is also what replicates SYSVOL between DCs.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows storage and file services current

Authoritative/upstream documentation reviewed for bounded claims in DFS. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/storage/dfs-namespaces/dfs-overview · confidence 94%
Confirmation

Confirm action

Continue?