Update (December 2026): This post was written for the vSAN Original Storage Architecture (OSA). vSAN 8 and later also offer the Express Storage Architecture (ESA), which has no disk groups: every NVMe device in a host joins a single storage pool. In both architectures RAID is chosen per VM object through a storage policy, not per disk group, so steps 2b to 2d and best practice 3c have been corrected below.

Introduction: VMware vSAN is a software-defined storage solution that allows organizations to create a distributed storage infrastructure using the local disks of their ESXi hosts. One of the key features of vSAN is its ability to provide data protection through the use of RAID (Redundant Array of Independent Disks) technology. In this article, we will explore the workflow of configuring RAID in vSAN, understand the different RAID levels available, and discuss best practices for implementing RAID in a vSAN environment.

RAID in vSAN is set per object by a storage policyVM storage policyFTT = 1, RAID-5 (ESA 4+1 on a6-host cluster)VM disk (VMDK object)policy applied to this objectvSAN places componentsone component per host (faultdomain)assignHost 1ComponentdataHost 2ComponentdataHost 3ComponentdataHost 4ComponentdataHost 5ComponentparityHost 6free capacityfor rebuildsESA example: RAID-5 as 4+1 needs 6 or more hosts (2+1 is used on 3 to 5 hosts); RAID-6 is 4+2 and needs 6 or more hosts.OSA: RAID-5 is 3+1 (4 hosts minimum), RAID-6 is 4+2 (6 hosts minimum). RAID-1 with FTT=1 needs 3 hosts.Parity is distributed across components in practice; one parity component is drawn here for clarity.
Disk groups (OSA) or the storage pool (ESA) only provide capacity; the protection level comes from the storage policy on each object.

1. Understanding RAID Levels: Before diving into the vSAN RAID workflow, it is important to understand the different RAID levels available in vSAN. VMware vSAN supports three RAID levels:

– RAID-1 (Mirroring): Data is mirrored across hosts, providing redundancy at the cost of twice (FTT=1) or three times (FTT=2) the capacity.

– RAID-5 (Erasure Coding): Data is distributed across hosts with parity information, tolerating one failure with much less capacity overhead than mirroring.

– RAID-6 (Erasure Coding): Similar to RAID-5, but with two parity components for increased fault tolerance (two failures). Each RAID level offers a different balance between data protection, storage capacity, and performance. It is crucial to choose the appropriate RAID level based on the specific requirements of your environment.

2. vSAN RAID Workflow: The vSAN RAID configuration workflow involves several steps to configure and manage RAID settings. Let’s explore each step in detail:

a. Designing the vSAN Cluster: Before configuring RAID in vSAN, it is important to design the vSAN cluster properly. This includes selecting the appropriate number of hosts (the RAID level you want sets the minimum, as shown in the diagram) and, for OSA, the disk groups per host and the number of capacity and cache devices per disk group. With ESA you choose NVMe devices that are claimed into a single storage pool per host.

b. Enabling vSAN and Creating Disk Groups: Once the cluster is designed, enable vSAN on the ESXi hosts and create disk groups. In OSA, disk groups are logical containers that consist of one or more capacity devices and one cache device; in ESA, devices are claimed into a storage pool instead. Disk groups and storage pools only provide capacity and performance; vSAN does not apply RAID at this level.

c. Choosing the RAID Level: After claiming the disks, determine the appropriate RAID level for each type of workload (each VM storage policy). Consider factors such as data protection requirements, storage capacity, and performance needs.

d. Configuring RAID Level: Create a VM storage policy in the vSphere Client (Policies and Profiles > VM Storage Policies, vSAN rules), specify the failures to tolerate (FTT) and the RAID method (RAID-1 mirroring, RAID-5 or RAID-6 erasure coding), and assign the policy to VMs or individual disks. vSAN then lays out each object accordingly. A policy can be changed later, and vSAN rebuilds the affected objects in the background.

e. Monitoring and Managing RAID: Regularly monitor the health and performance of the vSAN cluster to ensure the RAID configuration is functioning as expected. Use vSAN-specific monitoring tools, such as vSAN Health Service, to identify any issues related to RAID and take appropriate actions to resolve them.

f. Scaling and Expanding: As the storage requirements grow, it may be necessary to scale and expand the vSAN environment. This involves adding additional hosts or disks to the cluster. When expanding, consider the impact on the existing RAID configuration and ensure that new disks are claimed by vSAN (into disk groups for OSA, or the storage pool for ESA) and that you have enough hosts for the RAID levels in your policies.

3. Best Practices for vSAN RAID Configuration: To ensure optimal performance and data protection in a vSAN environment, it is important to follow best practices for RAID configuration. Here are some key recommendations:

a. Evaluate Data Protection Requirements: Understand the data protection requirements of your organization and select the appropriate RAID level accordingly. Consider factors such as the criticality of the data, recovery point objectives (RPOs), and recovery time objectives (RTOs).

b. Balance Between RAID Level and Storage Efficiency: Consider the trade-off between data protection and storage efficiency. RAID-1 provides higher redundancy but consumes more storage capacity compared to RAID-5 or RAID-6. Evaluate the storage efficiency requirements of your environment and choose the RAID level accordingly.

c. Plan Hosts and Fault Domains: vSAN places the components of each object on different hosts (or fault domains), so the number of hosts, not the number of disk groups, determines which RAID levels you can use. Keep at least one host more than the minimum so vSAN can rebuild after a host failure.

d. Regularly Monitor Health and Performance: Implement a monitoring strategy to regularly monitor the health and performance of the vSAN cluster. This includes monitoring object health and policy compliance, disk health, and storage utilization. This allows you to proactively identify any issues and take appropriate actions.

e. Plan for Future Growth: Consider future growth and scalability when configuring RAID in vSAN. Plan for additional disk groups and ensure that the cluster can accommodate future expansion without compromising performance or data protection.

Conclusion: Configuring RAID in a vSAN environment is a critical step in ensuring data protection and performance. By following the vSAN RAID workflow and adhering to best practices, organizations can achieve optimal storage efficiency, fault tolerance, and scalability. Understanding the different RAID levels available, designing the vSAN cluster appropriately, and regularly monitoring the health and performance of the environment are key factors in implementing a robust and reliable vSAN RAID configuration.

Leave a Reply