{"id":460,"date":"2019-06-11T17:23:07","date_gmt":"2019-06-11T22:23:07","guid":{"rendered":"http:\/\/itblog.ldlnet.net\/?p=460"},"modified":"2019-06-12T07:31:54","modified_gmt":"2019-06-12T12:31:54","slug":"using-the-resilient-file-system-for-exchange-server","status":"publish","type":"post","link":"https:\/\/itblog.ldlnet.net\/index.php\/2019\/06\/11\/using-the-resilient-file-system-for-exchange-server\/","title":{"rendered":"Using the Resilient File System for Exchange Server"},"content":{"rendered":"\n<p>In my ongoing effort for becoming more knowledgeable on Exchange Server, I found that the preferred new file system for Exchange Databases and Log files is the ReFS. <br>ReFS is not that new. Microsoft&#8217;s Resilient File System (ReFS) was introduced with Windows Server 2012. ReFS is not a direct replacement for NTFS, and is missing some underlying NTFS features, but is designed to be (as the name suggests) a more resilient file system for extremely large amounts of data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Support for ReFS with Exchange Server<\/h2>\n\n\n\n<p>From Exchange Server 2013 and upwards (which includes Exchange Server 2019 today) Microsoft supports the use of ReFS for Exchange servers, and in fact they now recommend it as the preferred file system for Exchange Server 2019, within the following guidelines.<\/p>\n\n\n\n<p><strong>For Exchange Server 2013:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ReFS is supported for volumes containing Exchange database files, log files, and content index files.<\/li><li>ReFS is not supported for volumes containing Exchange binaries (the program files).<\/li><li>ReFS is not supported for volumes containing the system partition.<\/li><li>ReFS data integrity features must be disabled for the database (.edb) files or the entire volume that hosts database files.<\/li><li>Hotfix&nbsp;<a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2853418\">KB2853418<\/a> must be installed.<\/li><li>For Windows 2012, the following hotfixes must be installed:\n<ul><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2822241\">KB2822241<\/a><\/li><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2884597\">KB2884597<\/a><\/li><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2894875\">KB2894875<\/a><\/li><\/ul>\n<\/li><\/ul>\n\n\n\n<p>This means that you should continue to use NTFS for your operating system and Exchange Server 2013 installation volume, but you can consider using ReFS for the volumes hosting Exchange databases, log files, and index files.<\/p>\n\n\n\n<p><strong>For Exchange Server 2016:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ReFS is supported for volumes containing Exchange database files, log files, and content index files.<\/li><li>ReFS is not supported for volumes containing Exchange binaries (the program files).<\/li><li>ReFS is not supported for volumes containing the system partition.<\/li><li>ReFS data integrity features are recommended to be disabled.<\/li><li>For Windows 2012, the following hotfixes must be installed:\n<ul><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2822241\">KB2822241<\/a><\/li><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2884597\">KB2884597<\/a><\/li><li><a href=\"https:\/\/support.microsoft.com\/en-us\/kb\/2894875\">KB2894875<\/a><\/li><\/ul>\n<\/li><\/ul>\n\n\n\n<p>This means that you should continue to use NTFS for your operating system and Exchange Server 2016 installation volume, and it is <em>recommended<\/em>&nbsp;ReFS for the volumes hosting Exchange databases, log files, and index files.<\/p>\n\n\n\n<p><strong>For Exchange Server 2019:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>ReFS is supported for volumes containing Exchange database files, log files, and content index files.<\/li><li>ReFS is not supported for volumes containing Exchange binaries (the program files).<\/li><li>ReFS is not supported for volumes containing the system partition.<\/li><li>ReFS data integrity features are recommended to be disabled.<\/li><\/ul>\n\n\n\n<p>This means that you should continue to use NTFS for your operating system and Exchange Server 2019 installation volume, and it is <em>recommended<\/em>&nbsp;ReFS for the volumes hosting Exchange databases, log files, and index files.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Creating an ReFS Formatted Volume<\/strong><\/h2>\n\n\n\n<p>In Windows Server during the New Volume Wizard when you get to the step for configuring File System Settings change the file system from NTFS to ReFS.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/dhazzkfxd5m3i.cloudfront.net\/wp-content\/uploads\/2015\/10\/exchange-server-refs.png\" alt=\"exchange-server-refs\" class=\"wp-image-9053\"\/><\/figure><\/div>\n\n\n\n<p class=\"has-text-color has-small-font-size has-medium-pink-color\"><strong>NOTE: Using the New Volume Wizard does not give you the option to disable data integrity at the volume level. To set it at the volume level itself use PowerShell when configuring new volumes.<\/strong> <strong><em>I found this out the hard way and am now re-configuring my volumes to disable the Integrity Streams.<\/em><\/strong><\/p>\n\n\n\n<p>I needed to create the mount point to mount the volume to:<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">New-Item C:\\Exchange\\Data-ReFS -Type Directory<\/pre>\n\n\n\n<p>I then got a list of my available disks:<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">get-disk<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"99\" src=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-1-1024x99.png\" alt=\"\" class=\"wp-image-462\" srcset=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-1-1024x99.png 1024w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-1-300x29.png 300w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-1-768x74.png 768w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-1.png 1568w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In my case, disk 2 was the one I needed to format and change. I had to create a new partition and then format it:<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">Get-Disk -Number 2 | New-Partition -UseMaximumSize<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"123\" src=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-5-1024x123.png\" alt=\"\" class=\"wp-image-469\" srcset=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-5-1024x123.png 1024w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-5-300x36.png 300w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-5-768x92.png 768w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-5.png 1081w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<pre class=\"lang:PowerShell nums:False\">Get-Partition -DiskNumber 2 -PartitionNumber 2 | Format-Volume -FileSystem ReFS -NewFileSystemLabel \"EXCH2019-EDBDATA\" -AllocationUnitSize 65536 -SetIntegrityStreams:$False -Confirm:$False<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"72\" src=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-2.png\" alt=\"\" class=\"wp-image-463\" srcset=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-2.png 887w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-2-300x24.png 300w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-2-768x62.png 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/figure>\n\n\n\n<p>Once formatted, I mount the volume to the Directory created earlier:<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">Add-PartitionAccessPath -DiskNumber 2 -PartitionNumber 2  -AccessPath C:\\Exchange\\Data-ReFS<\/pre>\n\n\n\n<p class=\"has-text-color has-small-font-size has-medium-pink-color\"><strong>NOTE: Partition 1 on a disk is always reserved for system files on the drive volume. So the active partitions will always start at 2.<\/strong><\/p>\n\n\n\n<p>Lastly, verify that the partition is online and that the Integrity Streams are turned off:<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">get-partition -DiskNumber 2 -PartitionNumber 2 | fl<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"331\" src=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-3.png\" alt=\"\" class=\"wp-image-464\" srcset=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-3.png 816w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-3-300x122.png 300w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-3-768x312.png 768w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/figure><\/div>\n\n\n<pre class=\"lang:PowerShell nums:False\">Get-FileIntegrity C:\\Exchange\\Data-ReFS<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"62\" src=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-4.png\" alt=\"\" class=\"wp-image-465\" srcset=\"https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-4.png 332w, https:\/\/itblog.ldlnet.net\/wp-content\/uploads\/2019\/06\/image-4-300x56.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Additional Considerations<\/h2>\n\n\n\n<p>When you are deploying an Exchange 2016 or 2019 DAG and using Autoreseed, the disk reclaimer needs to know which file system to use when formatting spare disks. So when, creating a DAG in Exchange PowerShell, make sure to set the -FileSystem parameter. For Exchange Server 2013 DAGs, manually format the spare volumes with ReFS.<\/p>\n\n\n<pre class=\"lang:PowerShell nums:False\">Set-DatabaseAvailabilityGroup NameOfYourDAG -FileSystem ReFS<\/pre>\n\n\n\n<p>More coming soon. I will post how I setup the &#8220;IP-less&#8221; DAG for my environment and got replication functional for my Exchange Databases.<\/p>\n\n\n\n<p class=\"has-small-font-size\"><strong><em>REFERENCES:<\/em><\/strong> <br><a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/ee832792%28v=exchg.150%29.aspx\">Exchange 2013 storage configuration options<\/a><br><a href=\"http:\/\/blogs.technet.com\/b\/exchange\/archive\/2015\/10\/12\/the-exchange-2016-preferred-architecture.aspx\">Exchange 2016 Preferred Architecture<\/a><br><a href=\"https:\/\/channel9.msdn.com\/Events\/Ignite\/2015\/BRK3206\">Exchange Storage for Insiders: It&#8217;s ESE (Ignite video)<\/a><br><a href=\"https:\/\/practical365.com\/exchange-server\/refs-exchange-server-volumes\">ReFS Exchange Server Volumes<\/a><br><a aria-label=\"Preparing ReFS Volumes for Exchange (opens in a new tab)\" href=\"https:\/\/farkhadm.blogspot.com\/2016\/09\/preparing-refs-volumes-for-exchange.html\" target=\"_blank\" rel=\"noreferrer noopener\">Preparing ReFS Volumes for Exchange<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my ongoing effort for becoming more knowledgeable on Exchange Server, I found that the preferred new file system for Exchange Databases<\/p>\n<p class=\"link-more\"><a class=\"myButt \" href=\"https:\/\/itblog.ldlnet.net\/index.php\/2019\/06\/11\/using-the-resilient-file-system-for-exchange-server\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":161,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2,3,16],"tags":[106,9,150,149,151,147,197,199,200,198,12],"class_list":["post-460","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-exchange","category-general","category-powershell","category-windows","tag-dag","tag-exchange","tag-exchange-2013","tag-exchange-2016","tag-exchange-2019","tag-exchange-setup","tag-file-system","tag-ntfs","tag-partitions","tag-refs","tag-volumes","odd"],"_links":{"self":[{"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/posts\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":3,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":470,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/posts\/460\/revisions\/470"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/media\/161"}],"wp:attachment":[{"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itblog.ldlnet.net\/index.php\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}