{"id":3776,"date":"2015-06-22T08:47:44","date_gmt":"2015-06-22T13:47:44","guid":{"rendered":"http:\/\/www.poweradmin.com\/blog\/?p=3776"},"modified":"2015-06-12T14:42:10","modified_gmt":"2015-06-12T19:42:10","slug":"how-to-create-local-storage-with-windows-server-2012","status":"publish","type":"post","link":"https:\/\/www.poweradmin.com\/blog\/how-to-create-local-storage-with-windows-server-2012\/","title":{"rendered":"How to Create Local Storage with Windows Server 2012"},"content":{"rendered":"<p><span style=\"font-family: verdana,geneva,sans-serif;\">We\u2019ve talked previously about some of the features newly introduced with Windows Server 2012. In this article we\u2019ll discuss Storage Spaces, a feature that allows you to provision storage to remove servers by creating storage pools. With Storage Spaces you can utilize physical inexpensive disks that once configured react just like a SAN (storage area network) device. In small enterprises that don\u2019t require dedicated devices for storage space or high I\/O operations, Storage Spaces provides a good alternative in achieving similar results.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">To configure Storage Spaces you\u2019ll need one or multiple unpartitioned physical disks (two for mirroring, three for mirroring with parity). Note that this technology offers support for SCSI, SATA, SAS and USB so it will suit you well for most configurations. Disks may be provided either externally or internally and can even be used in JBOD configuration. Storage spaces is a feature that will be installed by default on all Windows Server 2012 machines because it\u2019s part of the File and Storage Services role, so you\u2019ll not need to cover the installation part.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">We\u2019ll continue by installing and configuring a storage pool and then create a VHD that can be used by other machines. Note that in the context of SAN, a VHD is referred to as a LUN (Logical Unit Number). When talking about Storage Spaces we can use these terms interchangeably because they basically offer similar functionalities. Note that disks initialized for Storage Space will use the <a href=\"http:\/\/www.ittrainingday.com\/2013\/02\/the-difference-between-mbr-and-gpt.html\" target=\"_blank\" rel=\"nofollow\">GPT partition style<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a>.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">I\u2019ve created a testing VM on my VirtualBox environment and I\u2019ve attached two extra disks to be able to show you how to configure Storage Spaces.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3782\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/winsrv2012-setting-storage.png\" alt=\"WinSrv2012 Setting Storage\" width=\"650\" height=\"416\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/winsrv2012-setting-storage.png 650w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/winsrv2012-setting-storage-300x192.png 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\"><\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">Once you login on the machine, open the <i>Server Manager<\/i> console and navigate to the File and <i>Storage Services\/Storage Pools<\/i> Section:<\/span><\/p>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-services-storage-pools.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3780\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-services-storage-pools.png\" alt=\"Storage Services - Storage Pools\" width=\"1234\" height=\"775\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-services-storage-pools.png 1234w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-services-storage-pools-300x188.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-services-storage-pools-1024x643.png 1024w\" sizes=\"auto, (max-width: 1234px) 100vw, 1234px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">In the bottom right section of the window, you\u2019ll see the physical disks attached on the machine. Note that in order to be able to create a storage pool, the disk must be at least 10 GB in size. All disks will be automatically added to the <i>Primordial<\/i> pool which contains all storage available on the server from which you can create storage pools. Use <i>Ctrl<\/i> to select multiple disks, <i>right click<\/i> and select <i>Now Storage Pool<\/i> or use the <i>Tasks<\/i> menu in the upper right corner of the panel. When the wizard starts, enter a name for the storage pool and then make sure that the desired disks are selected:<\/span><\/p>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-pool-wizard-select-physical-disks.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3779\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-pool-wizard-select-physical-disks.png\" alt=\"Storage Pool Wizard - Select Physical Disks\" width=\"916\" height=\"596\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-pool-wizard-select-physical-disks.png 916w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/storage-pool-wizard-select-physical-disks-300x195.png 300w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">There are three options available in the allocation section:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Automatic<\/b> \u2013 disk drives capacity is configured automatically<\/span><\/li>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Hot Spare<\/b> \u2013 the disk will not be part of the active pool, it will act as a replacement if one of the active disks fails. A hot spare will automatically be activated if one physical disk is not available anymore<\/span><\/li>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 <\/b><b>Manual<\/b> \u2013 the admin will configure manually the storage allocation<\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">You can also use Powershell to configure Storage Pools much faster by using the <i>New-StoragePool<\/i> cmdlet just like in the following example:<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\"><i>New-StoragePool \u2013FriendlyName MyNewPool \u2013StorageSubsystemFriendlyName \u201cStorage Spaces*\u201d \u2013PhysicalDisks (Get-PhysicalDisk PhysicalDisk1, PhysicalDisk2)<\/i><\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">With the <i>Get-StoragePool -IsPrimordial $true | Get-PhysicalDisk | Where-Object CanPool -eq $True<\/i> you can get the physical disks available in the Primordial pool.<\/span><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">Once the storage pool has been created, we can create a virtual disk by <i>right clicking<\/i> on the pool and selecting <i>New Virtual Disk<\/i>:<\/span><\/p>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/creating-a-virtual-disk-in-storage-pools.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3783\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/creating-a-virtual-disk-in-storage-pools.png\" alt=\"Creating a Virtual Disk in Storage Pools\" width=\"1235\" height=\"428\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/creating-a-virtual-disk-in-storage-pools.png 1235w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/creating-a-virtual-disk-in-storage-pools-300x104.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/creating-a-virtual-disk-in-storage-pools-1024x355.png 1024w\" sizes=\"auto, (max-width: 1235px) 100vw, 1235px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">Choose the storage pool that will host the VHD, set the name and description for your new VHD and set the provisioning method that you desire, there are three options available:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Simple<\/b><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Mirror<\/b><\/span><\/li>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Parity<\/b><\/span><\/li>\n<\/ul>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">If you want to find out more about SAN technologies available with Windows Server and more about provisioning method, check out <a href=\"http:\/\/www.ittrainingday.com\/2015\/01\/storage-area-network-technologies-used.html\" target=\"_blank\" rel=\"nofollow\">this<img class=\"extlink-icon\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/plugins\/external-links-nofollow-open-in-new-tab-favicon\/images\/extlink.png\"><\/a> article.<\/span><\/p>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/virtual-disk-storage-layout-type.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3781\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/virtual-disk-storage-layout-type.png\" alt=\"Virtual Disk - Storage Layout Type\" width=\"770\" height=\"562\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/virtual-disk-storage-layout-type.png 770w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/virtual-disk-storage-layout-type-300x219.png 300w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">In the provisioning tab select the type that suits best for your environment:<\/span><\/p>\n<ul>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022<\/b> <b>Thin<\/b> \u2013 uses storage space from the pool as written on the VHD<\/span><\/li>\n<li><span style=\"font-family: verdana,geneva,sans-serif;\"><b>\u2022 Fixed<\/b> \u2013 allocates all disk space from the beginning<\/span><\/li>\n<\/ul>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/new-virtual-disk-wizard-provisioning-type-thin-fixed.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3784\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/new-virtual-disk-wizard-provisioning-type-thin-fixed.png\" alt=\"New Virtual Disk Wizard - Provisioning Type Thin Fixed\" width=\"770\" height=\"564\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/new-virtual-disk-wizard-provisioning-type-thin-fixed.png 770w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/new-virtual-disk-wizard-provisioning-type-thin-fixed-300x220.png 300w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">All that\u2019s left to do is to set the VHD size and finish the configuration. Once the VHD is ready, it will appear in the Virtual Disks section on the selected Storage Pool. Now you can use this VHD and allocate it to a server within your network:<\/span><\/p>\n<p><a href=\"http:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/set-vhd-size-storage-pools.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3785\" src=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/set-vhd-size-storage-pools.png\" alt=\"Set VHD Size Storage Pools\" width=\"1233\" height=\"776\" srcset=\"https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/set-vhd-size-storage-pools.png 1233w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/set-vhd-size-storage-pools-300x189.png 300w, https:\/\/www.poweradmin.com\/blog\/wp-content\/uploads\/2015\/06\/set-vhd-size-storage-pools-1024x644.png 1024w\" sizes=\"auto, (max-width: 1233px) 100vw, 1233px\"><\/a><\/p>\n<p><span style=\"font-family: verdana,geneva,sans-serif;\">That\u2019s a about it for this article folks, as you can see, Storage Pools VHDs can be easily configured with Windows Server 2012 and really offers a fast and cheap solution to provide storage to your network servers. Because this feature is included in the Windows Server 2012 Edition by default, you only have to purchase the necessary license and physical disks rather than buy a SAN device thus seriously decreasing costs. Hope you\u2019ve enjoyed this article and if so, please rate it in our dedicated section.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019ve talked previously about some of the features newly introduced with Windows Server 2012. In this article we\u2019ll discuss Storage Spaces, a feature that allows you to provision storage to remove servers by creating storage pools. With Storage Spaces you can utilize physical inexpensive disks that once configured react just like a SAN (storage area [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3780,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,9,8],"tags":[],"class_list":["post-3776","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general-it","category-how-to","category-technical","category-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/3776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/comments?post=3776"}],"version-history":[{"count":5,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/3776\/revisions"}],"predecessor-version":[{"id":3840,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/posts\/3776\/revisions\/3840"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media\/3780"}],"wp:attachment":[{"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/media?parent=3776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/categories?post=3776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.poweradmin.com\/blog\/wp-json\/wp\/v2\/tags?post=3776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}