Getty Images/iStockphoto

Guide to Windows storage management using Storage Spaces

Windows Storage Spaces is an alternative approach to traditional storage management that provides increased flexibility and scalability in a straightforward configuration process.

Traditional storage management in Windows file servers often depends on specialized hardware and relatively inflexible configuration options. These requirements don't fit the storage management needs of today's administrators, who expect highly configurable and easily scaled storage.

Windows Storage Spaces offers administrators a software-defined approach with greater flexibility, reliability and scalability. It also provides the following benefits and features:

  • Software-defined storage with no specialized hardware, enabling various disk combinations depending on requirements.
  • Resiliency options for different use cases.
  • Thin provisioning of disks to avoid wasted or overallocated space.
  • Native Windows graphical management tools and PowerShell cmdlets.
  • Support for mixed drive types, improving flexibility.
  • Scalability with support for dynamic resizing.
  • Redundancy through disk mirroring and/or data parity.

While parity features sound similar to RAID, Storage Spaces does not require the dedicated hardware and related support that RAID arrays call for. Storage Spaces more closely resembles Linux's Logical Volume Manager in terms of features, flexibility and resiliency.

Simple server deployments might still rely on traditional partitioning, but modern Windows servers will almost certainly benefit from the advantages Storage Spaces offers. This article covers the processes to configure, modify and manage Storage Spaces, as well as best practices for using this Windows feature.

Configure Windows Storage Spaces for storage management

Configuring Storage Spaces is straightforward once you understand the basic process and terminology. You'll begin by combining the capacity of two or more drives, creating a pool of available space. You then create virtual drives from that space. Partition the virtual drives, applying a file system, assigning a drive letter and configuring other settings. Users can then access the space as available storage in File Explorer.

The detailed steps are as follows.

Attach storage devices

Install or attach at least two physical drives. These could be internal, external, USB, Serial Advanced Technology Attachment or Serial-Attached SCSI drives. Back up any data on these disks, as Windows formats them during the configuration process. Note that the drives do not have to be the same type, capacity or speed.

After installing the drives, select Server Manager > File and Storage Services > Volumes > Disks. Right-click to bring each disk online so that Windows can work with it.

Screenshot of Windows Server Manager showing how to bring connected storage devices online through File and Storage Services.
Figure 1. Bring storage drives online using Windows Server Manager.

Create a storage pool

Follow these steps to create a storage pool that aggregates space on the attached drives:

  1. From Server Manager, go to File and Storage Services > Volumes > Storage Pools and open the New Storage Pool Wizard from the Tasks drop-down menu in the Physical Disks pane.
Screenshot of the Storage Pools settings in Windows Server Manager showing where to locate the New Storage Pool button.
Figure 2. Manage multiple physical drives as a single resource by creating a new storage pool.
  1. Once the New Storage Pool Wizard opens, click Next to proceed.
  2. Enter a name and description for the pool and then click Next.
Screenshot of the New Storage Pool Wizard prompting the user to specify a storage pool name and system.
Figure 3. The New Storage Pool Wizard requires a name and description for the pool. Then, select which drives to aggregate.
  1. Select the physical disks you want to include in the pool. You can configure multiple pools, so you don't need to select every available drive. Click Next.
  2. Confirm that the selections match your requirements and then click Create.
  3. After Windows creates the pool, close the interface. Note the option labeled "Create a virtual disk when this wizard closes." Check this box to proceed to the next steps automatically.

Create a virtual disk

The next task is to carve a virtual disk from the newly created storage pool. You'll use this virtual disk as if it were a physical disk. The following steps outline this process:

  1. Use the Tasks drop-down menu in the Virtual Disks pane to select New Virtual Disk.
  2. Select the storage pool from which to create the new virtual disk and click OK.
  3. The New Virtual Disk Wizard opens. Click Next to proceed.
Screenshot of the Storage Pools settings in Windows Server Manager showing where to locate the New Virtual Disk button.
Figure 4. After creating the storage pool, create a virtual disk using the New Virtual Disk Wizard.
  1. Enter a name and description for the virtual disk and then click Next.
  2. Configure enclosure awareness if your configuration supports it. Click Next.
  3. Select a storage layout to define resiliency and then click Next. There are three layout options:
    1. Simple (no resiliency).
    2. Mirror.
    3. Parity (similar to RAID 5).
  4. Select thin or fixed provisioning to allocate space to the virtual disk and then click Next.
  5. Specify the size of the new virtual disk. It does not have to consume the entire pool, as you can create multiple virtual disks from a single pool. Click Next.
Screenshot of the New Virtual Disk Wizard prompting the user to specify the size of the virtual disk.
Figure 5. Specify the size of the new virtual disk. Note that a single pool can have multiple virtual disks, so a single disk does not need to be the size of the entire pool.
  1. Confirm that the selections match your requirements and then click Create.
  2. After Windows creates the virtual disk, you can close the interface. Note the option labeled "Create a volume when this wizard closes." Check this box to proceed to the next steps automatically.

Create a volume

Think of the virtual disk as a physical disk. You must now create a volume on it using the following process, which resembles traditional partitioning:

  1. Right-click the new virtual disk in the Virtual Disks pane and then select New Volume to launch the New Volume Wizard.
Screenshot of the Storage Pools settings in Windows Server Manager showing where to locate the New Volume button in the Virtual Disks pane.
Figure 6. After creating the new virtual disk, access the New Volume Wizard through the Virtual Disks pane.
  1. Select the server and virtual disk. Click Next.
Screenshot of the New Volume Wizard prompting the user to select the server and disk for the new volume.
Figure 7. Start by choosing a server and disk to host the new volume.
  1. Choose a size for the new volume. It does not need to consume the entire virtual disk. Click Next to proceed.
  2. Choose a drive letter or folder path for the mount point. Click Next.
  3. Select the NTFS or ReFS file system and then choose an allocation unit size and volume label. Click Next to proceed.
  4. Confirm that the selections match your requirements and then click Create.
  5. Select Close to exit the New Volume Wizard.

The wizard finishes by formatting and mounting the volume. It now appears as a drive in File Manager. You can create folders to share on the network or handle the volume just as you would a traditional drive.

Screenshot of Windows File Manager showing how a newly created volume appears as a drive in the
Figure 8. After creating the new volume, it will appear in File Manager using the drive letter or folder path selected in the New Volume Wizard.

Modify the storage capacity

Adding or removing storage capacity follows a similar procedure to creating a new pool. However, instead of creating new space, you will add it to existing storage. You also have the option to shrink storage. Follow these steps to modify the storage capacity:

  1. Install or connect a new physical drive.
  2. Use the Storage Pools menu to add the new drive to the necessary pool.
  3. Extend the virtual disk to include the new storage space.
Screenshot of the Virtual Disk pane in Windows Server Manager showing where to locate the Extend Virtual Disk button.
Figure 9. When adding capacity to the storage pool, extend the virtual disk to include the new physical storage drive.
  1. Extend the volume/partition using the Disk Management interface to utilize the additional capacity.

Note that the drives do not have to be offline to modify capacity. This feature is essential for busy file servers that need more space but must remain available to users.

Screenshot of the Disk Management interface showing how to modify the volume of a virtual disk.
Figure 10. The Disk Management interface enables users to extend, shrink or delete volumes from a virtual disk.

Manage Storage Spaces

There are several interfaces for managing Storage Spaces, including graphical and command-line options, among others.

The Server Manager interface offers an easy way to manage storage configurations. Access Storage Spaces by going to Server Manager > File and Storage Services > Storage Pools.

Many PowerShell cmdlets exist for managing storage capacity, including the following:

  • Get-PhysicalDisk: List available disks.
  • Add-PhysicalDisk: Add available disks to a pool.
  • New-StoragePool: Create a storage pool.
  • Get-StoragePool: Display storage pool information.
  • New-VirtualDisk: Create a virtual disk from a storage pool.
  • Get-VirtualDisk: Display virtual disk information.
  • Resize-VirtualDisk: Extend the virtual disk onto the newly installed space.
  • Resize-Partition: Extend the volume onto the extended virtual disk.
  • Optimize-StoragePool: Rebalances the physical disks in a pool to optimize space and performance.
Screenshot of a Windows PowerShell script running the Get-StoragePool cmdlet.
Figure 11. The Get-StoragePool cmdlet displays information for all storage pools.

You can create PowerShell scripts to automate storage administration and monitoring.

The storage capacity is ready for standard management. You can now configure additional storage features, including data deduplication, File Server Resource Manager components and Windows Backups.

Monitor Storage Spaces

Windows logs Storage Spaces information in Event Viewer, including warnings and errors pertaining to physical disks, storage pools and virtual disks. The primary log file is the System log, though you also might find information in the Applications and Services Logs under the StorageManagement and StorageSpaces log folders.

Screenshot of Windows Event Viewer.
Figure 12. Check Windows Event Viewer for warnings, errors and other events pertaining to Storage Spaces.

Review these logs if you suspect any issues with Storage Spaces.

Select the Volumes, Disk and Storage Pools nodes in Server Manager to review status and health information for each component of the storage pool.

Screenshot of Windows Server Manager showing status and health information for the volume component of the storage pool.
Figure 13. Revisit each component in Server Manager for updated status and health information.

As mentioned above, PowerShell also includes various monitoring and information-gathering cmdlets.

Storage Spaces best practices

Carefully document your Storage Spaces configurations, including any updates and changes to the capacity and drives.

Monitor Storage Spaces regularly using the Get-StoragePool and Get-VirtualDisk cmdlets for drive health, capacity information and status. Replace disks and add capacity based on this information.

Remember that the resiliency offered by Storage Spaces does not replace regular backups. Storage Spaces should be only one of several data protection layers.

Modern Windows servers benefit from Storage Spaces, so begin the process of migrating your data today.

Damon Garn owns Cogspinner Coaction and provides freelance IT writing and editing services. He has written multiple CompTIA study guides, including the Linux+, Cloud Essentials+ and Server+ guides, and contributes extensively to Informa TechTarget, The New Stack and CompTIA Blogs.

Dig Deeper on IT systems management and monitoring