Storage spaces are logical drives for storing data and other user files. Storage spaces are created from storage pools, a collection of space from multiple disk drives or other storage devices. A storage space displays and is managed as one drive regardless of the number of disks or devices contributing space to the storage pool.
Storage spaces are composed of three components:
- Devices are the hard disks or other types of storage from which storage pools are created. You can use a variety of devices to create storage pools, such as SATA drives, SCSI drives, and external USB drives.
- Pools of storage are created from the available disk space. A pool is composed of the free space available on the specified storage devices.
- Storage spaces define the virtual disks created from a pool. One or more storage spaces can be created from the pool. To the Windows system and the user, storage spaces appear as disks with typical drive letters (E drive, F drive, etc.).
Storage spaces can be managed dynamically and they eliminate the need for such tasks as repartitioning drives, resizing volumes, and backing up data in order to repartition. When you need more disk space for your storage spaces, follow these steps:
-
- Install a new storage device to the system.
- Add unallocated space on the device to a storage pool.
- Allocate space to an existing storage space.
A disk must be online and unallocated (not formatted or partitioned) to be added to a storage pool.
The following table identifies configuration options in storage pool creation:
Option | Description |
Allocation | Each disk in the pool is allocated as automatic or as a hot spare.
|
Storage layout | Storage spaces can include data resiliency implemented through storage layout options. When you create a virtual disk, choose a storage layout option. The options include:
|
Provisioning | Fixed provisioning allows you to specify the size of the space based on actual disk size. You can use all of the space on a disk or part of the space on a disk.
Thin provisioning or overbooking allows you to allocate larger storage spaces than disk space available in the pool.
|
Storage tiers | In Windows Server 2012 R2, storage tiers allow you to combine solid-state drives (SSDs) with hard disk drives (HDDs) in the virtual hard drive of storage spaces. Based on file usage, storage spaces automatically determine the type of drive on which the data is stored. When using storage tiers, storage spaces:
|
Write-back cache | In Windows Server 2012 R2, storage spaces can leverage solid-state drives within a storage pool to create a write-back cache. This cache performs two key functions:
Latency within the storage pool can be significantly reduced when using a write-back cache. A 1 GB write-back cache is enabled by default when a new storage space is created if the storage pool contains enough physical SSD disks. To use write-back caching, the storage pool must meet the following requirements:
Write-back caching is compatible with storage tiers. However, be aware that when the write-back cache is enabled in a storage space that uses storage tiers, the fast storage tier will actually be 1 GB smaller than the size you configure because of the SSD space allocated to the write-back cache. |
Keep in mind the following about storage spaces:
- The primordial storage pool contains unallocated disks that are connected to the server but are not assigned to a storage pool.
- Once a storage space is created, you create one or more volumes on the drive and manage the disk as you would a physical disk.
- Use the Detach Virtual Disk option to detach the storage space before deleting it.
- Automatic rebuild in Windows Server 2012 R2 automatically rebuilds storages spaces from storage pool free space in the event of drive failure. Automatic rebuild eliminates the need for hot spares in storage pools as long as there is a sufficient number of drives assigned to the pool.
Limitations of storage pools include:
- Disks containing the boot volume, system partition, or any Cluster Shared Volumes (CSV) cannot be added to the pool.
- The individual drives in the pool must be at least 10 GB.
- A storage pool must have at least one drive.
- Storage pools using Fibre Channel and iSCSI are not supported for failover clusters.
- Storage pool virtual disks to be used with a failover cluster must use NTFS.
PowerShell commands you can use to manage storage spaces include:
- New-StoragePool creates a new storage pool.
- Add-PhysicalDisk adds a new disk to an existing storage pool.
- New-VirtualDisk creates a virtual disk in the storage pool.
- Get-StoragePool retrieves information about the storage pool.
Enclosure awareness, introduced in Windows Server 2012 R2, provides an added level of fault tolerance in which each copy of data is associated with a particular JBOD (just a bunch of disks) enclosure. If one of the disks fails, another copy of the data exists on one or more enclosures. Be aware of the following regarding disk enclosures:
- The -EnclosureAwareDefault parameter of the New-StoragePool cmdlet identifies the default allocation policy for virtual disks created in an enclosure-aware storage pool.
- Enclosure awareness mirrors data between two or more enclosures.
- Using multiple SAS adapters per enclosure and per server allows multipathing.
- Cluster Shared Volumes I/O redirection is supported on enclosure-aware disks. This mitigates data loss when the connection to the disk enclosures is lost, but the server maintains connection to the network.
- JBOD storage enclosures must support SCSI Enclosure Services (SES).
- The following table identifies storage requirements:
Failed enclosures Configuration Storage required 1 Two-way mirroring 3 compatible storage enclosures 2 Three-way mirroring 5 compatible storage enclosures 1 Dual parity 4 compatible storage enclosures - The following table identifies the JBOD count and failure coverage for the specified configurations (all configurations are enclosure-aware):
Configuration Two JBOD Three JBOD Four JBOD Two-way mirroring 1 disk 1 enclosure 1 enclosure Three-way mirroring 2 disks 1 enclosure + 1 disk 1 enclosure + 1 disk Dual parity 2 disks 2 disks 1 enclosure + 1 disk