Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Namespace Servers

Direct answer

Namespace servers host a DFS namespace root and give clients referrals to folder targets. Domain-based namespaces can have several namespace servers for redundancy.

When to use this

Use this when adding redundancy for DFS namespace roots.

First 30 seconds

1. Namespace servers for the root (≥2).

2. Service DFS Namespace running.

3. Domain-based namespace in AD.

4. Site placement.

5. Test referral.

Operational verification

namespace servers host the root and give referrals

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Namespace servers only in one site.
  • DCs not able to provide referrals because of site mismatch.
  • Removing a namespace server without updating clients' cached referrals (they time out after the TTL).
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
Key commandGet-DfsnRootTarget -Path \\corp.local\files
Scope / prerequisiteUse this when adding redundancy for DFS namespace roots.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
Get-DfsnRootTarget -Path \\corp.local\files
dfsdiag /testdcs /domain:corp.local
dfsdiag /testreferral /dfspath:\\corp.local\files
dfsutil /pktinfo           # on a client: cached referrals
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
Key points
  • Each namespace server needs the root share.
  • Clients get referrals to the nearest namespace server.
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

Redundancy

Add at least two namespace servers for a domain-based namespace (New-DfsnRootTarget). Clients get referrals from the namespace server in their site first. Check with dfsutil diag viewdfsdirs or Get-DfsnRootTarget. If all namespace servers are down, clients still reach targets they have cached until the referral expires.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Namespace servers host the namespace root (a share on each server). Add at least two (often DCs or file servers) for availability.

New-DfsnRootTarget -Path \\corp.example.com\files -TargetPath \\fs02\files
Get-DfsnRootTarget -Path \\corp.example.com\files
Set-DfsnRoot -Path \\corp.example.com\files -EnableSiteCosting $true

Clients get a referral list ordered by site (same site first, then by cost with site costing). dfsdiag /testreferral /dfspath:\\corp.example.com\files checks referral health.

ReferenceConfiguration & state1 section · depth on demand

Commands

New-DfsnRootTarget -Path \\corp.local\files -TargetPath \\fs02\files
Get-DfsnRootTarget -Path \\corp.local\files

Documented example, not captured output. Add namespace servers in each major site.

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 → Namespace Servers. 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?