Understanding vSAN ESA Adaptive RAID-5 Layout Transitions (4+1 vs. 2+1) - VMware vSAN
search cancel

Understanding vSAN ESA Adaptive RAID-5 Layout Transitions (4+1 vs. 2+1) - VMware vSAN

book

Article ID: 463825

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Symptoms:

  • Users utilizing vSAN Express Storage Architecture (ESA) with RAID-5 policies may observe that the object layout automatically changes (e.g., from 4+1 to 2+1).
  • This transition can result in a increase in ESA capacity utilization because transitioning from 4+1 to 2+1 changes the storage capacity overhead from 1.25x to 1.50x.
  • This behavior can occur in any vSAN ESA cluster configuration whenever host maintenance or topology changes reduce the available fault domains below the required threshold.
  • This article clarifies why these transitions occur and the logic behind vSAN ESA’s adaptive RAID-5 behavior.

Environment

  • VMware vSAN 8.x (ESA).
  • VMware vSAN 9.x (ESA).

Cause

vSAN ESA features an "Adaptive RAID-5" mechanism that dynamically adjusts object layout based on the number of available fault domains per site. Following gives the information based on the available fault domains in the environment:

  1. Cluster with 6 hosts.

    • The objects will use the 4+1 scheme, spreading the stripe with parity across 5 hosts, while still having one spare fault domain to regain the prescribed level of resilience under subsequent host maintenance mode or failure conditions.

  2. Cluster reduced to 5 hosts.

    • The object will continue to maintain this fully resilient 4+1 scheme across 5 hosts for 24 hours. After this period, it will reconfigure that object to use the 2+1 scheme, so that it has at least one spare fault domain to regain the prescribed level of resilience under subsequent maintenance mode or failure conditions.

  3. Cluster reduced to 4 hosts.

    • The objects will continue to use the 2+1 scheme, spreading the stripe with parity across 3 hosts, while still having one spare fault domain to regain the prescribed level of resilience under subsequent host maintenance mode or failure conditions.

  4. Cluster reduced to 3 hosts.

    • The objects will continue to use the 2+1 scheme, spreading the stripe with parity across 3 hosts. With a 3-host cluster, it can still suffer a host outage and maintain data availability but without the prescribed level of resilience.

The following table will help compare the space efficiency options between storage policies, as they relate to the ESA and OSA.

Resolution

This behavior is functioning as designed. No manual intervention is required to resolve it.

  1. Verify Topology: Ensure that the cluster maintains at least 6 fault domains (hosts) per site to support the 4+1 layout.

  2. Automatic Reversion: If user have temporarily removed hosts (e.g., for maintenance), simply restore the hosts to the cluster. Once the host count reaches the required threshold, the objects will automatically revert to the 4+1 layout.

Additional Information

  •