> 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/learn-the-platform/zh/mo-kuai-5-cun-chu/lab.md).

# 实验：存储配置

## 目标

在 VergeOS 中配置完整的存储环境，包括 vSAN 层级设置、NAS 共享配置以及存储健康验证。

## 前置条件

* 已完成模块 1：架构基础
* 已完成模块 3：安装
* 已完成第 5 模块阅读（vSAN 架构、存储层级、NAS 共享、最佳实践）
* 一个运行中的 VergeOS 集群，至少包含 2 个节点并有可用的物理磁盘

## 难度

**中级** -- 需要理解存储概念（磁盘层级、冗余、文件共享）

## 预计时间

**1.5 小时**

## 步骤

### 第 1 部分：vSAN 层级配置

设置存储层级，以按性能特征组织物理磁盘。

1. 在 VergeOS UI 中导航到“存储”部分
2. 查看集群中可用的物理磁盘：
   * 识别 SSD 与 HDD 驱动器
   * 记录驱动器容量以及当前分配情况
3. 配置存储层级：
   * 将 NVMe / 高耐久 SSD 分配给第 1 层，将 SATA/SAS SSD 分配给第 2 层，将标准 HDD 分配给第 4 层，将归档 HDD 分配给第 5 层——保持任何未填充的层级为空
   * UI 自动检测到的层级是起点；仅在需要时覆盖
4. 验证 vSAN 池显示正确的磁盘分配和可用容量
5. 查看每个 vSAN 层级上配置的冗余级别（Infrastructure > vSAN Tiers > tier dashboard > Status card），并确认其显示为 Redundant。更改现有系统上的冗余级别需要 Verge.io 支持，且不在本实验范围内。

### 第 2 部分：NAS 共享配置

创建文件级共享以供工作负载访问。

1. 创建 CIFS/SMB 共享：
   * 为共享命名（例如，“app-data”）
   * 配置存储分配和层级放置
   * 设置用户/组访问权限
2. 创建 NFS 共享：
   * 为共享命名（例如，“backup-target”）
   * 配置导出设置和允许的网络
   * 设置适当的访问权限
3. 验证这两个共享都可从测试 VM 或客户端访问

### 第 3 部分：存储监控

验证存储健康状况和性能。

1. 导航到存储仪表板
2. 查看关键指标：
   * 每个层级的容量利用率
   * IOPS 和吞吐量统计
   * 重复数据删除比率
3. 验证所有节点上的冗余状态显示正常
4. 在存储健康视图中识别任何告警或警告

### 第 4 部分：存储最佳实践验证

确认您的配置遵循推荐指南。

1. 根据工作负载需求检查层级分配
2. 确认每个 vSAN 层级在其状态卡中都显示为 Redundant
3. 检查 vSAN 至少具有 30% 的可用容量（文档中规定的扩容最低值，也是合理的运行下限）；各层级在使用率达到 80% 时触发告警，90% 时触发严重告警
4. 记录您的存储配置以供将来参考

## 验证

当您可以回答以下问题时，您的存储实验即告完成 **是** 时，你的 VMware 迁移实验就完成了：

* [ ] vSAN 层级已按适当的磁盘分配进行配置
* [ ] 至少已配置并可访问一个 CIFS/SMB 共享
* [ ] 至少已配置并可访问一个 NFS 共享
* [ ] 存储仪表板在所有节点上显示健康状态
* [ ] 存储层级仪表板上报告了每个层级的重复数据删除比率
* [ ] 冗余设置适合集群规模


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.verge.io/learn-the-platform/zh/mo-kuai-5-cun-chu/lab.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
