Windows 7 / Getting Started

Implementing Storage Spaces

Implementing a standalone Storage Spaces solution in your environment basically involves doing two things:

  • Installing the File Server role service
  • Connecting additional physical storage to your server if this is needed

You can perform the first step by using either Server Manager or Windows PowerShell, as the following sections demonstrate. Additional physical storage can be added at any time, either by installing more internal disks in the server or by connecting external storage enclosures to the server. Such additional physical storage can also be added either before or after you install the File Server role service.

Note: Implementing a highly available Storage Spaces solution using Failover Clustering. Search the TechNet Library for more information on this scenario if it is needed by your organization.

Using Server Manager

You can use Server Manager to implement Storage Spaces on a server running Windows Server 2012. To do this, launch the Add Roles And Features Wizard from the Manage menu on the Server Manager toolbar. Then select the File Server role service, which is located under the File And iSCSI Services role services in the File And Storage Services role.

Note: The Storage Services role service of the File And Storage Services role is always installed by default whenever you install Windows Server 2012 on a server. This is because the Storage Services role service provides storage-management functionality that is needed by any other roles you might install on the server.

Using Windows PowerShell

You can also use Windows PowerShell to implement Storage Spaces on a server running Windows Server 2012. You can use the Get-WindowsFeature cmdlet to display the install state of the different role services of the File And Storage Services role on a clean install of Windows Server 2012 as follows:

[X] File And Storage 	  FileAndStorage-Services 	Installed
     Services
 [ ] File and iSCSI  	  File-Services 		Available
     Services
 [ ] File Server 	  FS-FileServer 		Available
 [ ] BranchCache for  	  Files FS-BranchCache 		Available
     Network
 [ ] Data Deduplication   FS-Data-Deduplication 	Available
 [ ] DFS Namespaces 	  FS-DFS-Namespace 		Available
 [ ] DFS Replication 	  FS-DFS-Replication 		Available
 [ ] File Server          FS-Resource-Manager 		Available
     Resource Manager
 [ ] File Server VSS      FS-VSS-Agent 			Available
     Agent Service
 [ ] iSCSI Target Server  FS-iSCSITarget-Server 	Available
 [ ] iSCSI Target         (... iSCSITarget-VSS-VDS 	Available
     Storage Provider
 [ ] Server for NFS 	  FS-NFS-Service 		Available
[X] Storage Services 	  Storage-Services 		Installed

For example, you can use the following command to implement Storage Spaces on server HOST7 by installing the File Server role service:

Install-WindowsFeature -Name FS-FileServer -ComputerName HOST7 - Restart

Afterward, you can use the following command to verify installation of the role service:

PS C:\> Get-WindowsFeature -ComputerName HOST7 | where DisplayName -eq "File Server"

Display Name 		Name 		  Install State
------------ 		---- 		  -------------
[X] File Server 	FS-FileServer 	  Installed
[Previous] [Contents] [Next]