> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/run-the-platform/zh/cun-chu/vsan-redundancy-levels.md).

# 了解 vSAN 冗余级别

了解 VergeOS vSAN 的 N+1 和 N+2 冗余级别、其要求、使用场景和注意事项

## 概述

{% hint style="info" %}
**要点**

* **N+1 / RF2** （默认）保留每个数据块的 2 份副本，并可承受一次同时发生的节点故障。N+1 可为大多数生产环境提供强大的保护。
* **N+2 / RF3** 保留每个数据块的 3 份副本，并可承受两次同时发生的故障。
* 冗余按系统配置，并应用于每个 vSAN 层级。
  {% endhint %}

VergeOS vSAN 支持可配置的冗余级别——也称为 **复制因子（RF）** ——它决定系统中每个数据块保留多少份副本。选择合适的级别需要在故障容错、存储开销和基础设施成本之间取得平衡。

## N+1 冗余（RF2）

N+1 冗余保留 **2 份副本** vSAN 中每个数据块的。这使集群能够承受 **一次同时发生的故障** ——既可以是节点故障，也可以是单个节点内的驱动器故障。

| 要求        | 详情         |
| --------- | ---------- |
| **最少节点数** | 2 个控制器节点   |
| **数据副本数** | 2          |
| **存储开销**  | 约 2 倍（去重前） |

### 何时使用 N+1

VergeOS N+1 是默认配置，适用于大多数场景。它在容量效率和故障容错之间提供了很好的平衡，并且在结合定期快照和站外数据复制等数据保护最佳实践时，适合许多生产环境。

{% hint style="success" %}
为了获得额外保护，可配置 [修复服务器](/automate-protect-and-extend/zh/bei-fen-yu-dr/repair-server.md) 当故障超过所配置的冗余级别时，它可以自动尝试从同步目标检索缺失的数据块，从而有可能避免完整快照回滚。
{% endhint %}

## N+2 冗余（RF3）

N+2 vSAN 冗余适用于有明确需求要保持 **3 份副本** 每个数据块的副本，以及/或使系统能够承受 **两次同时发生的故障**。N+2 可承受两次同时发生的节点故障、跨两个节点的磁盘故障，或二者的组合。

| 要求        | 详情                    |
| --------- | --------------------- |
| **最少节点数** | 3（全部控制器节点）            |
| **推荐节点数** | 5（提供一个见证节点，以完全避免脑裂场景） |
| **数据副本数** | 3                     |
| **存储开销**  | 约 3 倍（去重前）            |

### 何时使用 N+2

N+2 专为需要承受一次以上同时故障的环境而设计。常见场景包括 **超关键工作负载** 即使在重建期间短暂暴露也不可接受的场景，或 **远程/边缘站点** 在这些情况下，N+2 额外的基础设施成本可能是合理的。

## 按层冗余

故障只会影响失效驱动器所在的层。例如，在 N+2 配置中，如果 Tier 1 上的驱动器在两个节点上发生故障 **且** 另一台不同节点上的 Tier 4 驱动器发生故障，则集群仍可完全正常运行，且不会丢失数据。

## 配置 vSAN 冗余级别

冗余级别通常在 [系统安装期间配置](/plan-and-deploy/zh/shi-shi-zhi-nan/installation-guide.md).

## 更改系统的冗余级别

可以将 N+1 系统升级为 N+2（前提是满足最少节点要求）。此转换会涉及数据重新均衡过程。

{% hint style="warning" %}
要执行冗余级别更改，请联系 **Verge.io 支持。**
{% endhint %}

## 查看层冗余状态

要检查某个 vSAN 层的当前冗余配置和状态：

1. 导航到 **基础设施** > **vSAN 层** 从顶部菜单中。
2. 双击所需的层以打开其仪表板。
3. 找到 **状态** 卡片：
   * **冗余** ——显示已配置的冗余级别（例如，N+1 为 2 份副本，N+2 为 3 份副本）。
   * **冗余正常** 复选框——指示该层当前是否满足其已配置的冗余级别。如果任何节点或层驱动器宕机，该项将不会被选中。

## 快速对比

| 功能        | N+1（RF2） | N+2（RF3） |
| --------- | -------- | -------- |
| 数据副本数     | 2        | 3        |
| 可容忍的同时故障数 | 1        | 2        |
| 最少控制器节点数  | 2        | 3        |
| 推荐节点数     | 3        | 5        |
| 存储开销（去重前） | 约 2 倍    | 约 3 倍    |
| 默认值       | 是        | 否        |

## 额外的 Tier 0 冗余（D+x）

当一个控制器节点具有多个 Tier 0 驱动器时，VergeOS 还会在这些驱动器之间本地镜像元数据，其冗余级别与系统冗余级别保持一致，直至驱动器数量上限。参见 [本地节点 Tier 0 元数据冗余（D+x）](/run-the-platform/zh/cun-chu/tier0-local-redundancy.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.verge.io/run-the-platform/zh/cun-chu/vsan-redundancy-levels.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
