{"id":9661,"date":"2017-07-08T18:20:09","date_gmt":"2017-07-09T01:20:09","guid":{"rendered":"http:\/\/riguy.com\/?page_id=9661"},"modified":"2019-03-21T17:36:23","modified_gmt":"2019-03-22T00:36:23","slug":"windows-2012-server-vhdx-vm-share","status":"publish","type":"page","link":"https:\/\/riguy.com\/?page_id=9661","title":{"rendered":"Windows 2012 Server VHDX VM Share"},"content":{"rendered":"<p class=\"x_MsoNormal\">In a Windows 2012 Hyper-V environment, it is possible, maybe desirable, to have a local file or data server of sorts for multiple shares. Even if an organization is in the cloud, there may be very good reasons to have some data stored locally [i.e. in an office], or maybe replicated partially etc.<\/p>\n<p class=\"x_MsoNormal\">One idea is to have a host Hyper-V machine allocate a large enough data RAID chunk for data usage; because Hyper-V servers themselves cannot actually be used for work [they HOST virtual machines for that purpose after all] this space will then need to be overseen by or connected to one of the virtual machines.<\/p>\n<p>Here are the steps to create a <span style=\"display: inline !important; float: none; background-color: transparent; color: #333333; cursor: text; font-family: 'Libre Franklin','Helvetica Neue',helvetica,arial,sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;\">Virtual Machine<\/span> [VM] share:<\/p>\n<p class=\"x_MsoNormal\">Create a file server disk partition in Windows Server 2012 &#8211; a Virtual Machine will handle file server services; storage will be a VHDX drive passed through to a VM via the Host.<\/p>\n<p class=\"x_MsoNormal\">On the Host:<\/p>\n<p class=\"x_MsoNormal\">Go to Hyper-V Manager &#8211; right-click the host machine, create a new hard disk: go to the Virtual Hard Disk Wizard, select VHDX, a more robust option.<\/p>\n<p>For better performance, choose &#8220;Fixed size&#8221;.<\/p>\n<p>Give the disk a name, then a location = browse, out to the Partition [Drive D for me]: I used all the space of a drive; then created a Hard Disk Image file, named it, then saw the drive turn red within Windows Explorer. A little space remains for OS usage\/overhead. The red is good &#8211; because all that space is now reserved for the VHDX.<\/p>\n<p>Now connect the new disk to the Virtual Machine File or Data Server:<\/p>\n<p>What if the Disk is not showing in Explorer? This means it needs to be configured.<\/p>\n<p>If this VM server is in use, this needs to be scheduled. Shut down the VM, then once the VM server is off, go back in the Hyper-V Host, locating the server being hosted.<\/p>\n<p>Right-click the file server virtual machine, go to &#8220;SCSI controller&#8221; under the Hardware section: browse out to the correct path to locate the Physical hard disk and add it as needed!<\/p>\n<p>In the VM now, go to File and Storage Services in Server Manager:\u00a0 should see the disk, right- click it, do the New Volume Wizard, referencing the aforementioned disk [chose NTFS, because I will use Data Deduplication]<\/p>\n<p>You now see it is online within Volume Disks , with allotted space. In fact, it should show in Explorer now, ready for use.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a Windows 2012 Hyper-V environment, it is possible, maybe desirable, to have a local file or data server of sorts for multiple shares. Even if an organization is in the cloud, there may be very good reasons to have some data stored locally [i.e. in an office], or maybe replicated partially etc. One idea &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/riguy.com\/?page_id=9661\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows 2012 Server VHDX VM Share&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":801,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_crdt_document":"","footnotes":""},"class_list":["post-9661","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/pages\/9661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9661"}],"version-history":[{"count":6,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/pages\/9661\/revisions"}],"predecessor-version":[{"id":10546,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/pages\/9661\/revisions\/10546"}],"up":[{"embeddable":true,"href":"https:\/\/riguy.com\/index.php?rest_route=\/wp\/v2\/pages\/801"}],"wp:attachment":[{"href":"https:\/\/riguy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}