Great question — you're dealing with a shared storage scenario for a Windows Server Failover Cluster (WSFC) file server role, and the choice between direct iSCSI/MPIO access from VMs vs. Shared VHDX on a Cluster Shared Volume (CSV) has significant architectural, performance, and supportability implications.
✅ Microsoft's Recommended Approach: Use Shared VHDX (or VHDX with Shared = True) on CSV
For a File Server Failover Cluster Instance (FSFCI) in Hyper-V, Microsoft strongly recommends using Shared VHDX (or VHDX with the "Shared" flag) stored on a Cluster Shared Volume (CSV) — not direct iSCSI LUNs mapped directly to the VMs.
🔍 Why Shared VHDX on CSV is the Proper Way (Microsoft Best Practice)
1. Supported and Fully Managed by Failover Clustering
- Microsoft does not support direct iSCSI LUNs mapped to clustered VMs (unless using Storage Spaces Direct or guest clustering with specific constraints).
- Shared VHDX is the officially supported and documented way to provide shared storage to VMs in a guest failover cluster.
- The Failover Cluster Manager can manage, migrate, and monitor the shared disk as part of the cluster group.
2. Live Migration & Cluster Mobility
- With Shared VHDX, the entire VM (including shared disks) can be live migrated between Hyper-V hosts.
- The shared disk is transparently handled by the cluster — no need to manually re-map iSCSI LUNs.
- Direct iSCSI LUNs mapped to VMs break live migration unless you use iSCSI persistent reservations with cluster-aware hosts, which is complex, fragile, and not recommended.
3. Simpler Storage Architecture
- The CSV (Cluster Shared Volume) is managed by the Hyper-V host cluster — it abstracts the underlying iSCSI LUNs.
- The file server VMs see a clean, shared disk (VHDX) — no need to expose raw iSCSI LUNs to VMs.
- You avoid guest-level iSCSI initiator configuration, which reduces complexity and troubleshooting.
4. MPIO & Storage Redundancy Handled at Host Level
- MPIO is configured on the Hyper-V hosts (not inside the VMs).
- The CSV (on the iSCSI LUN) benefits from host-level multipathing.
- The VMs don’t need MPIO — they just see a single shared VHDX.
5. Backup & Snapshots
- Shared VHDX supports Hyper-V VSS-based backups (with application consistency).
- Direct iSCSI LUNs in VMs are not VSS-aware in the same way and complicate backup orchestration.
6. Security & Isolation
- Shared VHDX runs over SMB 3.0+ or CSV, which is secure, encrypted, and supports Kerberos.
- Raw iSCSI from VMs increases attack surface and requires careful CHAP/ACL management.
❌ Why Direct iSCSI from VMs (Guest iSCSI) is Not Recommended
| Issue | Explanation |
|---|
| No Live Migration Support | iSCSI LUNs mapped to VMs can't be live-migrated unless using persistent reservations and cluster coordination — not supported for guest clusters in this context. |
| Complex Setup | Each VM needs iSCSI initiator, IQN, MPIO (in guest), CHAP, etc. — error-prone and hard to maintain. |
| No Cluster Awareness | Failover Cluster Manager can't manage or monitor the iSCSI LUN as a cluster resource. |
| Performance Overhead | Double iSCSI stack (host + guest) and no host-level optimizations. |
| Not Supported for FSFCI | Microsoft explicitly states that guest clusters should use Shared VHDX for shared storage. |
⚠️ Microsoft Support Policy: If you open a case with Microsoft for a failover cluster file server using direct iSCSI from VMs, they will ask you to reconfigure to Shared VHDX before troubleshooting.
✅ Proper Architecture (Recommended)
iSCSI Array
↓
Hyper-V Hosts (with MPIO) → Cluster Shared Volume (CSV) on iSCSI LUN
↓
Shared VHDX (stored on CSV, marked "Shared" in VM settings)
↓
File Server VM 1 ←→ Shared VHDX (Cluster Disk)
File Server VM 2 ←→ Shared VHDX (Cluster Disk)
↓
Failover Cluster (Guest Cluster) → File Server Role (FSFCI)
Steps:
- On Hyper-V Host Cluster:
- Create a CSV on an iSCSI LUN (using MPIO on hosts).
- Create VMs (part of a guest cluster).
- Attach a VHDX to both VMs:
- Store the VHDX on the CSV.
- In VM settings → "Advanced Features" → Check "Share this virtual disk".
- This creates a Shared VHDX (not the same as "Differencing" or "Dynamically expanding" — just a shared access flag).
- Inside VMs:
- Bring the disk online in Failover Cluster Manager.
- Add to cluster as a "Cluster Shared Volume" (CSV in guest) or use as a clustered disk.
- Create clustered roles (e.g., File Server).
🔗 Reference: Microsoft Docs - Use shared virtual hard disks in Hyper-V
📚 Microsoft Recommendations & Docs
💬 Microsoft: "For virtualized file servers, use shared VHDX files stored on a Cluster Shared Volume (CSV) for the clustered storage."
✅ Summary: What You Should Do
| Option | Recommendation |
|---|
| ❌ Direct iSCSI LUNs mapped to VMs | Avoid — not supported, breaks live migration, complex |
| ✅ Shared VHDX on CSV (host-level iSCSI) | ✅ YES — Microsoft Best Practice |
| Use MPIO | On Hyper-V hosts, not in VMs |
| Live Migration | Fully supported with Shared VHDX |
| Backup | Use Hyper-V VSS writer with application-consistent snapshots |
🔧 Pro Tip:
- Use fixed-size VHDX (not dynamic) for shared disks — better performance and reliability.
- Enable SMB 3.0+ encryption if accessing over SMB (though CSV uses internal cluster transport).
- Monitor CSV health and iSCSI path redundancy on hosts.
✅ Final Answer:
Use Shared VHDX stored on a Cluster Shared Volume (CSV) that resides on your iSCSI LUNs. Configure MPIO at the Hyper-V host level, not inside the VMs. This is Microsoft's recommended, supported, and scalable approach for virtualized file server failover clusters.
This gives you high availability, live migration, simplicity, and supportability — everything you need.