Windows Server 2019

Create Windows Server 2019 Storage Spaces Direct Volumes in Windows Admin Center

The last few days I have been playing around with Windows Server 2019 Storage Spaces Direct and the various ins and outs of the technology.  In the last post, we looked at Configuring Windows Server 2019 Storage Spaces Direct S2D in VMware vSphere.  In that post we configured a Hyper-V cluster and then enabled Storage Spaces Direct on the cluster.  After that, we created a storage pool from the available storage.  Next, on the list is actually creating the Windows Server 2019 Storage Spaces Direct volume that can be used to house virtual machines for use with running Hyper-V workloads.  In this post, we will take a look at how to create Windows Server 2019 Storage Spaces Direct Volumes in Windows Admin Center and what this process looks like.

Create Windows Server 2019 Storage Spaces Direct Volumes in Windows Admin Center

It is unlikely that you haven’t heard about Windows Admin Center. However, just in case you haven’t, this is the next generation of server management from Microsoft. The Windows Admin Center utility is a web driven management platform that allows managing Windows Servers, Failover Clusters, Hyper-V hosts, and HCI solutions from one dashboard. Microsoft has even went so far as to only expose some platform features inside of Windows Admin Center for Windows Server 2019, etc. However, Microsoft is stating at least at this point that it is not a replacement as of yet for various MSC RSAT utilities.  One thing I noticed at least in the Preview version of the Windows Admin Center (1808) that there is no way to create a Storage Pool in the WAC in Storage Spaces Direct management.

Below is an example of the S2D dashboard that gives a great overview of the health of Storage Spaces Direct, including host health, drives, volumes, etc.  As you can see below, I have an alert triggered due to physical memory which is fairly expected since my cluster hosts are only running 4 GB of memory a piece.

Windows-Server-2019-Storage-Spaces-Direct-Windows-Admin-Center-dashboard
Windows Server 2019 Storage Spaces Direct Windows Admin Center dashboard

Another look at the Windows Admin Center Storage Spaces Direct dashboard showing CPU and memory usage as well as storage usage.

Windows-Admin-Center-Storage-Spaces-Direct-Resource-Consumption
Windows Admin Center Storage Spaces Direct Resource Consumption

One neat thing to see with Windows Server 2019 Storage Spaces Direct is you now have the option for deduplication and compression.  As noted however in the message, you need to install the Data Deduplication role on every server in your S2D cluster.

Creating-a-Windows-Server-2019-Storage-Spaces-Direct-Volume-in-Windows-Admin-Center
Creating a Windows Server 2019 Storage Spaces Direct Volume in Windows Admin Center

You can easily do this in Server Manager as the Data Deduplication role is found under the File and Storage Services parent role.

Installing-Data-Deduplication-using-Server-Manager-in-Windows-Server-2019
Installing Data Deduplication using Server Manager in Windows Server 2019

Alternately, you can use PowerShell (my preferred method) to install the FS-Data-Deduplication role.  As noted in the PowerShell output, installing this role is a No Restart installation.

Install-Data-Deduplication-in-Windows-Server-2019-using-PowerShell
Install Data Deduplication in Windows Server 2019 using PowerShell

After creating a new Storage Pool as we covered in the previous post, you navigate to Volumes >> Create to create a new Storage Spaces Direct volume.

Creating-a-Windows-Server-2019-Storage-Spaces-Direct-New-Volume
Creating a Windows Server 2019 Storage Spaces Direct New Volume

After installing the Data Deduplication role, you should see the option to be able to check Use deduplication and compression on the new volume.  Note there are (3) different options that can be chose in the What type of data drop down box.  Each option specially tunes the deduplication and compression option for that specific workload.  According to Microsoft’s official KB on Deduplication and Compression found here: https://docs.microsoft.com/en-us/windows-server/storage/data-deduplication/install-enable#install-dedup the following description is provided for each option:

  • Default – tuned specifically for general purpose file servers
  • Hyper-V – tuned specifically for VDI servers
  • Backup – tuned specifically for virtualized backup applications, such as Microsoft DPM

The Integrity Checksums are a ReFS function that helps to protect against corruption by verifying data integrity using these integrity checksums.

Windows-Server-2019-Storage-Spaces-Direct-Deduplication-compression-and-integrity-options
Windows Server 2019 Storage Spaces Direct Deduplication compression and integrity options

Below, creating a new 120 GB volume from the S2D pool  Note how the 3-way mirror takes a considerable amount of storage space, since we are creating 3 copies of the data on 3 different hosts.

Selecting-the-volume-size-for-new-Windows-Server-2019-Storage-Spaces-Direct-volume
Selecting the volume size for new Windows Server 2019 Storage Spaces Direct volume

After clicking the Create button, you should see the new Windows Server 2019 Storage Spaces Direct volume get created and listed as Status OK.  Notice the ClusterPerformanceHistory volume that is created by default which stores the historic health and performance information of the Storage Spaces Direct cluster.

New-Windows-Server-2019-CSVFS-ReFS-Storage-Spaces-Direct-Volume-created-successfully
New Windows Server 2019 CSVFS ReFS Storage Spaces Direct Volume created successfully
Viewing-details-of-the-new-Windows-Server-2019-Storage-Spaces-Direct-volume-in-Windows-Admin-Center
Viewing details of the new Windows Server 2019 Storage Spaces Direct volume in Windows Admin Center

Takeaways

So far I have to say that working with Windows Server 2019 Storage Spaces Direct has been a good experience.  The process to Create Windows Server 2019 Storage Spaces Direct Volumes in Windows Admin Center was very straightforward.  Windows Admin Center provides great visibility into the Storage Spaces Direct infrastructure as well with visibility into server performance, storage performance as well as the health of even individual drives contained in the storage pool.  There are a few GUI operations missing from what I can tell such as creating Storage Pools as you can do in Server Manager, so there are certain features that are still missing at this point.  Stay tuned as I continue to cover the functionality with Windows Server 2019 Storage Spaces Direct.

Subscribe to VirtualizationHowto via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.