DFS
Cheat sheet · https://pcornel.dk/topic.php?topic=3322
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— namespacesGet-DfsnFolderTarget -Path <path>— folder targets and stateGet-DfsrBacklog -GroupName <g> -FolderName <f> -SourceComputerName <a> -DestinationComputerName <b>— DFSR backlogdfsrdiag replicationstate— replication statedfsutil /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