HOW TO MANAGE STORAGE SPACES AND STORAGE POOLS IN WINDOWS SERVER 2012 (Repost)

How To Manage Storage Spaces and Storage Pools in Windows Server 2012

Source: MCPMag.com

Microsoft delivered a completely new way of looking at our disks and storage in Windows Server 2012, with the biggest change in how storage is laid out and provisioned. Here’s how to create and manage it all.

Windows Server 2008 R2 used the traditional disk management MMC snap-in to manage the disk configuration, as well as the handy DISKPART command-line tool. It is fair to say that the storage subsystem was not exactly optimized for high speed, resilience or large-scale file server operations. So when the Windows Server team designed the new Windows Server 2012, they took a long hard look at storage.

The solution that Microsoft delivered is a completely new way of looking at our disks and storage in Windows Server 2012, with raft of changes in the storage arena. These include SMB 3.0, which opens up a number of exciting new possibilities. The biggest change, though, has been reserved for the layout and provision of the storage itself. The introduction of storage spaces bring with it the ability to provide clustering for high availability and integration with Cluster Shared Volumes for scalable deployments of virtual machines, file shares and other workloads.

Storage Spaces lets you group industry-standard disks into at least one storage pool. You can then create virtual disks from the available capacity. One of the most useful add-ons when using this technology is that you can thin provision a pool and it can grow as needed.

How Microsoft Achieves All This Disk Trickery
The concept of a storage pool and a Storage Space is based on taking a bunch of physical disks and creating a virtual single pool of space. This pool is then used to create volumes for our use. Clever!

Storage Pools and Storage Spaces

(Click image to view larger version.)

File and storage services is one of the 18 roles within Windows Server 2012 and requires nothing other than a working installation. The server can be a full GUI or the Server Core version. The storage subsystem can be controlled locally, remotely through a GUI or by PowerShell cmdlets:

storage subsystem can be controlled locally, remotely through a GUI or by PowerShell

(Click image to view larger version.)

Server Manager is the place to manage the role. Clicking File and Storage Services opens up the individual management areas:

Server Manager is the place to manage the role.

Storage Pools shows the individual storage spaces you have created on the local server or have access to on a remote server. The “primordial” space refers to any physical disks added to the server but not yet added to a storage space. Adding a disk wipes all data from it.

The full pool screen shows details about the storage spaces and the constituent physical disks, as well as any virtual disks already created on it:

storage spaces and the constituent physical disks details

(Click image to view larger version.)

To create a new pool, simply click Tasks then Create New Storage Pool to fire up the wizard:

Click Tasks then Create New Storage Pool

Choose the physicals disks you want to be part of the pool:

Choose the physicals disks

The pool shows up. Note that if you use all physical disks, the primordial space will disappear:

The pool shows up

You can remove an individual disk from a pool, but this creates a warning about data loss:

data loss warning

Having created a pool, the next task is to create a virtual disk on which to create our volume. I will create a three-way mirrored disk, although my choices are from simple spanning (or JBOD), Parity (three disks needed) or two- or three-way mirroring (three-way requires at least five disks):

create a virtual disk

(Click image to view larger version.)

Choose resilience type:

Choose resilience type

(Click image to view larger version.)

Choose provisioning type:

Choose provisioning type

(Click image to view larger version.)

Choose a disk size:

Choose disk size

Choose two- or three-way mirroring:

two- or three-way mirroring

(Click image to view larger version.)

On completion, the wizard creates the mirror:

wizard creates the mirror

(Click image to view larger version.)

Note that although I created a 10GB three-way mirror, only 1GB is allocated at present (thin provisioning). As data is saved, the allocation will increase accordingly:

allocation will increase accordingly

(Click image to view larger version.)

The final step is to create a usable volume on this mirror. This could be a mount point or a drive letter. A new wizard is required.

Right-click the new mirrored virtual disk, then se

Advertisements