Exchange Server storage configuration options
Understanding the storage options and requirements for Mailbox servers in Exchange Server 2016 and Exchange Server 2019 is an important part of your Mailbox server storage design solution.
Storage architectures
The following table describes supported storage architectures and provides best practice guidance for each type of storage architecture where appropriate.
Supported storage architectures:
Storage architecture | Description | Best practice |
---|---|---|
Direct-attached storage (DAS) | DAS is a digital storage system directly attached to a server or workstation, without a storage network in between. For example, DAS transports include Serial Attached Small Computer System Interface (SCSI) and Serial Attached Advanced Technology Attachment (ATA). | Not available. |
Storage area network (SAN): Internet Small Computer System Interface (iSCSI) | SAN is an architecture to attach remote computer storage devices (such as disk arrays and tape libraries) to servers in such a way that the devices appear as locally attached to the operating system (for example, block storage). iSCSI SANs encapsulate SCSI commands within IP packets and use standard networking infrastructure as the storage transport (for example, Ethernet). | Don't share physical disks backing up Exchange data with other applications. Use dedicated storage networks. Use multiple network paths for stand-alone configurations. |
SAN: Fibre Channel | Fibre Channel SANs encapsulate SCSI commands within Fibre Channel packets and generally use specialized Fibre Channel networks as the storage transport. | Don't share physical disks backing up Exchange data with other applications. Use multiple Fibre Channel network paths for stand-alone configurations. Follow storage vendor's best practices for tuning Fibre Channel host bus adapters (HBAs), for example, Queue Depth and Queue Target. |
A network-attached storage (NAS) unit is a self-contained computer connected to a network, with the sole purpose of supplying file-based data storage services to other devices on the network. The operating system and other software on the NAS unit provide the functionality of data storage, file systems, and access to files, and the management of these functions (for example, file storage).
All storage used by Exchange for storage of Exchange data must be block-level storage because Exchange 2016 doesn't support the use of NAS volumes, other than in the SMB 3.0 scenario outlined in the article Exchange Server virtualization. Also, in a virtualized environment, NAS storage that's presented to the guest as block-level storage via the hypervisor isn't supported.
Using storage tiers isn't recommended, as it could adversely affect system performance. For this reason, don't allow the storage controller to automatically move the most accessed files to "faster" storage.
Physical disk types
The following table provides a list of supported physical disk types and provides best practice guidance for each physical disk type where appropriate.
Supported physical disk types:
Physical disk type | Description | Supported or best practice |
---|---|---|
Serial ATA (SATA) | SATA is a serial interface for ATA and integrated device electronics (IDE) disks. SATA disks are available in various form factors, speeds, and capacities. In general, choose SATA disks for Exchange 2016 mailbox storage when you have the following design requirements:
|
Supported: 512-byte sector disks for Windows Server 2008 and Windows Server 2008 R2. In addition, 512e disks are supported for Windows Server 2008 R2 with the following:
Exchange 2013 and later supports native 4 kilobyte (KB) sector disks and 512e disks. Support requires that all copies of a database reside on the same physical disk type. For example, it isn't a supported configuration to host one copy of a given database on a 512-byte sector disk and another copy of that same database on a 512e disk or 4K disk. Best practice: Consider enterprise class SATA disks, which generally have better heat, vibration, and reliability characteristics. |
Serial Attached SCSI | Serial Attached SCSI is a serial interface for SCSI disks. Serial Attached SCSI disks are available in various form factors, speeds, and capacities. In general, choose Serial Attached SCSI disks for Exchange 2016 mailbox storage when you have the following design requirements:
|
Supported: 512-byte sector disks for Windows Server 2008 and Windows Server 2008 R2. In addition, 512e disks are supported for Windows Server 2008 R2 with the following:
Exchange 2013 and later supports native 4 kilobyte (KB) sector disks and 512e disks. Support requires that all copies of a database are on the same physical disk type. For example, it is not a supported configuration to host one copy of a given database on a 512-byte sector disk and another copy of that same database on a 512e disk or 4K disk. Best practice: Physical disk-write caching must be disabled when used without a UPS. |
Fibre Channel | Fibre Channel is an electrical interface used to connect disks to Fibre Channel-based SANs. Fibre Channel disks are available in various speeds and capacities. In general, choose Fibre Channel disks for Exchange 2016 mailbox storage when you have the following design requirements:
|
Supported: 512-byte sector disks for Windows Server 2008 and Windows Server 2008 R2. In addition, 512e disks are supported for Windows Server 2008 R2 with the following:
Exchange 2013 and later supports native 4 kilobyte (KB) sector disks and 512e disks. Support requires that all copies of a database are on the same physical disk type. For example, it isn't a supported configuration to host one copy of a given database on a 512-byte sector disk and another copy of that same database on a 512e disk or 4K disk. Best practice: Physical disk-write caching must be disabled when used without a UPS. |
Solid-state drive (SSD) (flash disk) | An SSD is a data storage device that uses solid-state memory to store persistent data. An SSD emulates a hard disk drive interface. SSD disks are available in various speeds (different I/O performance capabilities) and capacities. In general, choose SSD disks for Exchange 2016 mailbox storage when you have the following design requirements:
|
Supported: 512-byte sector disks for Windows Server 2008 and Windows Server 2008 R2. In addition, 512e disks are supported for Windows Server 2008 R2 with the following:
Exchange 2013 and later supports native 4 kilobyte (KB) sector disks and 512e disks when all copies of a database are on the same physical disk type. For example, it isn't a supported configuration to host one copy of a given database on a 512-byte sector disk and another copy of that same database on a 512e disk or 4K disk. Best practice: Physical disk-write caching must be disabled when used without a UPS. In general, Exchange 2016 Mailbox servers don't require the performance characteristics of SSD storage. |
Factors to consider when choosing disk types
There are several trade-offs when choosing disk types for Exchange 2016 storage. The correct disk is one that balances performance (both sequential and random) with capacity, reliability, power utilization, and capital cost. The following table of supported physical disk types provides information to help you when considering these factors.
From a performance perspective, using large, slower disks for Exchange storage is okay, provided the disks can maintain an average read and write latency of 20 ms or less under load.
Factors in disk type choice:
Disk speed (RPM) | Disk form factor | Interface or transport | Capacity | Random I/O performance | Sequential I/O performance | Power utilization |
---|---|---|---|---|---|---|
5,400 | 2.5 inch | SATA | Average | Poor | Poor | Excellent |
5,400 | 3.5 inch | SATA | Excellent | Poor | Poor | Above average |
7,200 | 2.5 inch | SATA | Average | Average | Average | Excellent |
7,200 | 2.5 inch | Serial Attached SCSI | Average | Average | Above average | Excellent |
7,200 | 3.5 inch | SATA | Excellent | Average | Above average | Above average |
7,200 | 3.5 inch | Serial Attached SCSI | Excellent | Average | Above average | Above average |
7,200 | 3.5 inch | Fibre Channel | Excellent | Average | Above average | Average |
10,000 | 2.5 inch | Serial Attached SCSI | Below average | Excellent | Above average | Above average |
10,000 | 3.5 inch | SATA | Average | Average | Above average | Above average |
10,000 | 3.5 inch | Serial Attached SCSI | Average | Above average | Above average | Below average |
10,000 | 3.5 inch | Fibre Channel | Average | Above average | Above average | Below average |
15,000 | 2.5 inch | Serial Attached SCSI | Poor | Excellent | Excellent | Average |
15,000 | 3.5 inch | Serial Attached SCSI | Average | Excellent | Excellent | Below average |
15,000 | 3.5 inch | Fibre Channel | Average | Excellent | Excellent | Poor |
SSD: -= | Not applicable | SATA, Serial Attached SCSI, Fibre Channel | Poor | Excellent | Excellent | Excellent |
Best practices for supported storage configurations
This section provides best practice information about supported disk and array controller configurations. In addition to the commonly used Redundant Array of Independent Disks (RAID), there's also just a bunch of disks (or drives), or JBOD, which refers to a collection of hard disks that haven't been configured to act as a redundant array.
RAID is often used to both improve the performance characteristics of individual disks (by striping data across several disks) and to provide protection from individual disk failures. With the advancements in Exchange 2016 high availability, RAID isn't a required component for Exchange 2016 storage design. However, RAID is still an essential component of Exchange 2016 storage design for standalone servers and solutions that require storage fault tolerance.
Operating System, System, or Pagefile Volume
The recommended configuration for an operating system, system, or pagefile volume is to use RAID technology to protect this data type. The recommended RAID configuration is either RAID-1 or RAID-1/0, however all RAID types are supported.
Separated Mailbox Database and Log Volumes
If you're deploying a standalone Mailbox server role architecture, RAID technology is required for the mailbox database and log volumes. The recommended RAID configuration for mailbox volumes is RAID-1/0 (especially if you're using 5.4 K or 7.2 K disks); however all RAID types are supported. For log volumes, RAID-1 or RAID-1/0 is the recommended RAID configuration.
When using RAID-5 or RAID-6 configurations for the operating system, pagefile, or Exchange data volumes, note the following:
RAID-5 configurations, including variations such as RAID-50 and RAID-51, should have no more than seven disks per array group and array controller high-priority scrubbing and surface scanning enabled.
RAID-6 configurations should have array controller high-priority scrubbing and surface scanning enabled.
Although JBOD is supported in high availability architectures that have three or more highly available database copies, because the log and mailbox database volumes are separated, JBOD isn't recommended as a solution.
Mailbox Database and Log Volume Co-Location
Mailbox database and log volume co-location are not recommended in standalone architectures. In high availability architectures, there are two possibilities for this scenario:
Single database per volume
Multiple databases per volume
Single Database Per Volume
In an Exchange environment, a JBOD storage solution involves having both the database and its associated logs stored on a single disk. To deploy a JBOD solution, you must deploy a minimum of three highly available database copies. Using a single disk is a single point of failure, because when the disk fails, the database copy residing on that disk is lost. Having a minimum of three database copies ensures fault tolerance by having two additional copies if one copy (or one disk) fails. However, placement of three highly available database copies, and the use of lagged database copies, can affect storage design. The following table shows guidelines for RAID or JBOD considerations.
RAID or JBOD Considerations:
Datacenter servers | Two highly available copies (total) | Three highly available copies (total) | Two or more highly available copies per datacenter | One lagged copy | Two or more lagged copies per datacenter |
---|---|---|---|---|---|
Primary datacenter servers | RAID | RAID or JBOD (2 copies) | RAID or JBOD | RAID | RAID or JBOD |
Secondary datacenter servers | RAID | RAID (1 copy) | RAID or JBOD | RAID | RAID or JBOD |
To deploy on JBOD with the primary datacenter servers, you need three or more highly available database copies within the DAG. If mixing lagged copies on the same server hosting highly available database copies (for example, not using dedicated lagged database copy servers), you need at least two lagged database copies.
For the secondary datacenter servers to use JBOD, you should have at least two highly available database copies in the secondary datacenter. The loss of a copy in the secondary datacenter won't result in requiring a reseed across the WAN or having a single point of failure in the event the secondary datacenter is activated. If mixing lagged database copies on the same server hosting highly available database copies (for example, not using dedicated lagged database copy servers), you need at least two lagged database copies.
For dedicated lagged database copy servers, you should have at least two lagged database copies within a datacenter to use JBOD. Otherwise, the loss of disk results in the loss of the lagged database copy, and the loss of the protection mechanism.
Multiple Databases Per Volume
Multiple databases per volume are a new JBOD scenario available in Exchange 2016 that allows for active and passive copies (including lagged copies) to be mixed on a single disk, enabling better disk utilization. However, to deploy lagged copies in this manner, automatic lagged copy log file play down must be enabled. The following table shows guidelines for JBOD considerations for multiple databases per volume.
JBOD Considerations:
Datacenter Servers | 3 or more copies (total) | Two or more copies per datacenter |
---|---|---|
Primary datacenter servers | JBOD | JBOD |
Secondary datacenter servers | N/A | JBOD |
The following table provides guidance about storage array configurations for Exchange 2016.
Supported RAID types for the Exchange 2016 Mailbox server role:
RAID type | Description | Supported or best practice |
---|---|---|
Disk array RAID stripe size (KB) | The stripe size is the per disk unit of data distribution within a RAID set. Stripe size is also referred to as block size. | Best practice: 256 KB or greater. Follow storage vendor best practices. |
Storage array cache settings | The cache settings are provided by a battery-backed caching array controller. | Best practice: 100 percent write cache (battery or flash backed cache) for DAS storage controllers in either a RAID or JBOD configuration. 75 percent write cache, 25 percent read cache (battery or flash backed cache) for other types of storage solutions such as SAN. If your SAN vendor has different best practices for cache configuration on their platform, follow the guidance of your SAN vendor. |
Physical disk write caching | The settings for the cache are on each individual disk. | Supported: Physical disk write caching must be disabled when used without a UPS. |
The following table provides guidance about database and log file choices.
Database and log file choices for the Exchange 2016 Mailbox server role:
Database and log file options | Description | Stand-alone: supported or best practice | High availability: supported or best practice |
---|---|---|---|
File placement: database per log isolation | Database per log isolation refers to placing the database file and logs from the same mailbox database on to different volumes backed by different physical disks. | Best practice: For recoverability, move database (.edb) file and logs from the same database to different volumes backed by different physical disks. | Supported: Isolation of logs and databases isn't required. |
File placement: database files per volume | Database files per volume refer to how you distribute database files within or across disk volumes. | Best practice: Based on your backup methodology. | Supported: When using JBOD, create a single volume with separate directories for database(s) and for log files. |
File placement: log streams per volume | Log streams per volume refer to how you distribute database log files within or across disk volumes. | Best practice: Based on your backup methodology. | Supported: When using JBOD, create a single volume with separate directories for database(s) and for log files. Best practice: When using JBOD, use multiple databases per volume. |
Database size | Database size refers to the disk database (.edb) file size. | Supported: Approximately 16 terabytes. Best practice:
|
Supported: Approximately 16 terabytes. Best practice:
|
Log truncation method | Log truncation method is the process for truncating and deleting old database log files. There are two mechanisms:
|
Best practice:
|
Best practice:
|
The following table provides guidance about Windows disk types.
Windows disk types for the Exchange 2016 Mailbox server role:
Windows disk type | Description | Stand-alone: supported or best practice | High availability: supported or best practice |
---|---|---|---|
Basic disk | A disk initialized for basic storage is called a basic disk. A basic disk contains basic volumes, such as primary partitions, extended partitions, and logical drives. | Supported. Best practice: Use basic disks. |
Supported. Best practice: Use basic disks. |
Dynamic disk | A disk initialized for dynamic storage is called a dynamic disk. A dynamic disk contains dynamic volumes, such as simple volumes, spanned volumes, striped volumes, mirrored volumes, and RAID-5 volumes. | Supported. | Supported. |
The following table provides guidance on volume configurations.
Volume configurations for the Exchange 2016 Mailbox server role:
Volume configuration | Description | Stand-alone: supported or best practice | High availability: supported or best practice |
---|---|---|---|
GUID partition table (GPT) | GPT is a disk architecture that expands on the older master boot record (MBR) partitioning scheme. The maximum NTFS formatted partition size is 256 terabytes. | Supported. Best practice: Use GPT partitions. |
Supported. Best practice: Use GPT partitions. |
MBR | An MBR, or partition sector, is the 512-byte boot sector that is the first sector (LBA Sector 0) of a partitioned data storage device such as a hard disk. The maximum NTFS formatted partition size is 2 terabytes. | Supported. | Supported. |
Partition alignment | Partition alignment refers to aligning partitions on sector boundaries for optimal performance. | Supported: The Windows Server 2008 R2 and Windows Server 2012 default is 1 megabyte (MB). | Supported: The Windows Server 2008 R2 and Windows Server 2012 default is 1 MB. |
Volume path | Volume path refers to how a volume is accessed. | Supported: Drive letter or mount point. Best practice: Mount point host volume must be RAID enabled. | Supported: Drive letter or mount point. Best practice: Mount point host volume must be RAID-enabled. |
File system | File system is a method for storing and organizing computer files and the data they contain to make it easy to find and access the files. | Supported: NTFS and ReFS. | Supported: NTFS and ReFS. |
NTFS defragmentation | NTFS defragmentation is a process that reduces the amount of fragmentation in Windows file systems. It does this by physically organizing the contents of the disk to store the pieces of each file close together and contiguously. | Supported. Best practice: Not required and not recommended. On Windows Server 2012, we also recommend disabling the automatic disk optimization and defragmentation feature. |
Supported. Best practice: Not required and not recommended. On Windows Server 2012, we also recommend disabling the automatic disk optimization and defragmentation feature. |
NTFS allocation unit size | NTFS allocation unit size represents the smallest amount of disk space that can be allocated to hold a file. | Supported: All allocation unit sizes. Best practice: 64 KB for both .edb and log file volumes. |
Supported: All allocation unit sizes. Best practice: 64 KB for both .edb and log file volumes. |
NTFS compression | NTFS compression is the process of reducing the actual size of a file stored on the hard disk. | Supported: Not supported for Exchange database or log files. | Supported: Not supported for Exchange database or log files. |
NTFS Encrypting File System (EFS) | EFS enables users to encrypt individual files, folders, or entire data drives. Because EFS provides strong encryption through industry-standard algorithms and public key cryptography, encrypted files are confidential even if an attacker bypasses system security. | Supported: Not supported for Exchange database or log files. | Not supported for Exchange database or log files. |
Windows BitLocker (volume encryption) | Windows BitLocker is a data protection feature in Windows Server 2008. BitLocker protects against data theft or exposure on computers that are lost or stolen, and it offers more secure data deletion when computers are decommissioned. | Supported: All Exchange database and log files. | Supported: All Exchange database and log files. Windows failover clusters require Windows Server 2008 R2 or Windows Server 2008 R2 SP1. Exchange volumes with BitLocker enabled are not supported on Windows failover clusters running earlier versions of Windows. For more information about Windows 7 BitLocker encryption, see BitLocker Drive Encryption in Windows 7: Frequently Asked Questions. |
Server Message Block (SMB) 3.0 | The Server Message Block (SMB) protocol is a network file sharing protocol (on top of TCP/IP or other network protocols) that allows applications on a computer to access files and resources on a remote server. It also allows applications to communicate with any server program that is set up to receive an SMB client request. Windows Server 2012 introduces the new 3.0 version of the SMB protocol with the following features:
|
Limited Support. Supported scenario is a hardware virtualized deployment where the disks are hosted on VHDs on an SMB 3.0 share. These VHDs are presented to the host via a hypervisor. For more information, see Exchange Server virtualization. | Limited Support. Supported scenario is a hardware virtualized deployment where the disks are hosted on VHDs on an SMB 3.0 share. These VHDs are presented to the host via a hypervisor. For more information, see Exchange Server virtualization. |
Storage Spaces | Storage Spaces is a new storage solution that delivers virtualization capabilities for Windows Server 2012. Storage Spaces allows you to organize physical disks into storage pools, which can be easily expanded by adding disks. These disks can be connected either through USB, SATA, or SAS. It also uses virtual disks (spaces), which behave just like physical disks, with associated powerful capabilities such as thin provisioning, and resiliency to failures of underlying physical media. For more information on Storage Spaces, see Storage Spaces Overview. | Supported. Same restrictions as for physical disk types outlined in this article. | Supported. Same restrictions as for physical disk types outlined in this article. |
Resilient File System (ReFS) | ReFS is a newly engineered file system for Windows Server 2012 that is built on the foundations of NTFS. ReFS maintains high degree of compatibility with NTFS while providing enhanced data verification and autocorrection techniques and an integrated end-to-end resiliency to corruptions especially when used with the storage spaces feature. For more information on ReFS, see Resilient File System (ReFS) overview: Supported Deployments. | Supported for volumes containing Exchange database files, log files and content indexing files, if the following hotfix is installed: Exchange Server 2013 databases become fragmented in Windows Server 2012. Not supported for volumes containing Exchange binaries. Best practice: Data integrity features must be disabled for the Exchange database (.edb) files or the volume that hosts these files. Integrity features can be enabled for volumes containing the content index catalog, if the volume doesn't contain any databases or log files. |
Supported for volumes containing Exchange database files, log files, and content indexing files, if the following hotfix is installed: Exchange Server 2013 databases become fragmented in Windows Server 2012. Not supported for volumes containing Exchange binaries. Best practice: Data integrity features must be disabled for the Exchange database (.edb) files or the volume that hosts these files. Integrity features can be enabled for volumes containing the content index catalog, if the volume doesn't contain any databases or log files. |
ReFS allocation unit size | ReFS allocation unit size represents the smallest amount of disk space that can be allocated to hold a file. | Supported: All allocation unit sizes. Best practice: 64 KB for both .edb and log file volumes. |
Supported: All allocation unit sizes. Best practice: 64 KB for both .edb and log file volumes. |
Data De-Duplication | Data deduplication is a technique to optimize storage utilization. Its a method of finding and removing duplication within data without compromising its fidelity or integrity. The goal is to store more data in less space by segmenting files into small variable-sized chunks, identifying duplicate chunks, and maintaining a single copy of each chunk. Data deduplication technologies are typically implemented one of two ways; at the operating system level, or at the storage system level and the operating system are unaware of it being used. | OS Level: Not Supported for Exchange mailbox databases, transport databases, or content index files. Storage System Level: Supported, but falls within the Microsoft third-party storage software solutions support policy. Note: OS level dedupe can be used for Exchange database files that are offline (used as backups or archives). |
OS Level: Not Supported for Exchange mailbox databases, transport databases, or content index files. Storage Level: Supported, but falls within the Microsoft third-party storage software solutions support policy. Note: OS level dedupe can be used for Exchange database files that are offline (used as backups or archives). |