Hello,
Thank you for the detailed overview and thoughtful consideration of your environment and requirements. Based on your outlined use case and constraints, I’ve reviewed the feasibility of using DFS Replication (DFS-R) on Windows Server 2019 Standard to meet your goals. Below is a breakdown of your two key scenarios and how DFS-R aligns with them.
🅰 Scenario A: HDD Failure on Primary Server (PC-1)
You’re asking whether, in the event of a data HDD failure on PC-1, you can:
- Pause DFS replication
- Physically remove the replicated HDD from PC-2
- Install it into PC-1
- Resume operations with NTFS permissions intact
DFS-R Considerations:
- NTFS Permissions: Yes, NTFS file-level permissions are preserved on replicated volumes and will remain intact when the disk is moved.
- Replication Pause: You can pause or disable DFS replication using PowerShell or the DFS Management Console before removing the disk to prevent sync conflicts.
- Disk Swap: Physically moving the disk is technically feasible, but it’s important to ensure:
- The disk is healthy and not mid-replication
- The volume mount point and drive letter match the original configuration
- DFS-R database integrity is not compromised during the move
- The volume mount point and drive letter match the original configuration
- The disk is healthy and not mid-replication
⚠️ DFS-R is not designed for disk-level failover or hot-swapping. Manual intervention is required, and care must be taken to avoid triggering unexpected replication behavior.
🅱 Scenario B: OS Failure on Primary Server (PC-1)
You’re asking whether, in the event of OS failure on PC-1, you can:
- Move the data HDD from PC-1 to PC-2
- Rename PC-2 to PC-1
- Resume application connectivity with NTFS permissions intact
DFS-R Considerations:
- Disk Move: Yes, NTFS permissions will remain intact when the disk is moved.
- Renaming PC-2: Renaming the server to match PC-1 is possible, but:
- You’ll need to update DNS records and ensure AD replication reflects the change
- DFS-R may require reinitialization or cleanup of replication metadata to avoid conflicts
- DFS Namespace: You are correct—DFS Namespaces typically require a virtual name (e.g., PC-3) for abstraction. However, if you’re not using DFS Namespaces and relying solely on DFS-R for replication, you can retain direct access to “PC-1” by renaming PC-2 and updating DNS.
- You’ll need to update DNS records and ensure AD replication reflects the change
⚠️ DFS-R does not provide automatic failover or seamless redirection. Manual steps are required to switch roles between servers.
Summary of DFS-R Suitability
| Requirement | DFS-R Support | Notes |
|---|---|---|
| Preserve NTFS permissions | ✅ | File-level permissions are retained |
| Preserve NTFS permissions | ✅ | File-level permissions are retained |
| Manual disk swap between servers | ⚠️ | Possible but requires careful handling |
| Rename secondary server to primary | ✅ | Requires DNS and AD updates |
| Automatic failover | ❌ | DFS-R does not support automatic failover |
| Replication of multiple volumes | ✅ | Supported, unlike Storage Replica Standard |
| On-premises only setup | ✅ | Fully supported |
Alternative Suggestions
If downtime tolerance is 10–15 minutes and file integrity is paramount, DFS-R can work with manual intervention. However, for more seamless failover, consider:
- Robocopy-based scheduled syncs for simpler environments
- Third-party replication tools with better failover support
- Hyper-V replication if virtualization is an option
I hope my answer is useful for you.
Best regards,
Quinnie Quoc.