Pcornel
Windows

DFS

Cheat sheet · https://pcornel.dk/topic.php?topic=3322

Back to the Topic

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.

Remember

  • Namespace = path; replication = copies — they are separate.
  • DFSR is not a backup; deletes replicate.
  • Clients cache referrals.

First 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

Verify in this order

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

Where it usually breaks

First mismatch in device/provider → Windows storage mapping/pool → volume/filesystem/encryption → share/namespace/access policy → client/process read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3322

Confirmation

Confirm action

Continue?