Share via

Need help with Hyper-V and Storage Spaces Direct

Richard Duane Wolford Jr 231 Reputation points
2024-04-25T13:54:17.1933333+00:00

We needed some help with Hyper-V and storage spaces direct. We have a four node cluster of Hyper-V servers using Storage Spaces Direct. We've installed additional NICs in each Hyper-V server and want to use this network exclusively for storage spaces direct, but we don't know exactly how to do this, s uch as what we need to do in the cluster configuration, what to create in Hyper-V, etc. in order to restrict storage spaces direct traffic to flow exclusively over these new network adapters.

Thanks!

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments

2 answers

Sort by: Most helpful
  1. kholienchieh 0 Reputation points MVP
    2026-06-10T04:18:53.8533333+00:00

    Hi @Richard Duane Wolford Jr ,

    You just need to make sure supported network adapter driver installed and NIC recognized by operating system by issuing Get-NetAdapter command.

    Once ready, you can issue command to prepare the NIC like enabling RDMA and the rest of storage NIC required setting follow my vSwitch creation.

    For Windows Server 2025, best practice is to use NetworkATC for intent creation.

    Regards,

    Kho

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2024-04-29T04:35:37.1+00:00

    Hi Richard,

    Hope you're doing well.

    Here's a general outline of the process:

    1. Ensure the additional NICs installed in each Hyper-V server are properly connected and recognized by the operating system. Then assign IP addresses to the new NICs. These IP addresses will be used for the storage network.
    2. Open Failover Cluster Manager and navigate to Networks under the cluster name. Identify the new network adapters dedicated for storage. Ensure these adapters are set to be used for cluster communication and storage traffic. Set the Metric value lower for the storage network adapters to prioritize storage traffic.
    3. Open PowerShell as an Administrator.

    Use the "Enable-ClusterS2D" cmdlet to enable Storage Spaces Direct on the cluster. Set the "S2DPreferredNetwork" parameter to specify the network adapters to use for storage traffic.

    Enable-ClusterS2D -S2DPreferredNetwork "StorageNetwork"

    Replace "StorageNetwork" with the appropriate network name identified in the cluster networking settings.

    1. After configuring S2D, use PowerShell cmdlets like "Get-ClusterNetwork" and "Get-ClusterS2D" to verify that the storage network is properly configured. Ensure that the storage network adapters are being used for cluster and storage traffic.

    Due to the limitation resource of forum, I cannot test these steps in my environment. You can choose to go to Microsoft Customer Service Center to open a Premier-level case so that with their permission level and resource, Microsoft could provide you with better help on your request.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.