> 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/nas/nas-remote-volumes.md).

# 远程卷

远程卷是通过标准 NFS 或 CIFS 挂载到 VergeOS 系统的外部文件系统。远程卷的常见用途之一是允许将外部数据同步到 VergeOS vSAN 中（来自其他 VergeOS 站点或其他存储系统），用于一次性操作或周期性备份。

{% hint style="success" %}
**一个** [**NAS 服务**](/run-the-platform/zh/nas/nas-service.md) **必须先建立，之后才能创建卷。**
{% endhint %}

## 创建远程 CIFS 卷

1. 导航到 **NAS** > **卷**.
2. 选择 **新建** 从左侧菜单中。
3. 选择合适的 **NAS 服务** 从下拉列表中。
4. 输入一个 **名称** 用于该卷（必填）。注意：不允许使用空格。
5. 输入一个 **描述** 用于该卷（可选）。
6. 在 **文件系统类型** 下拉列表中，选择 ***远程 CIFS***.
7. 在 **远程挂载目标** 字段中输入 UNC 路径以访问 CIFS 共享。（示例：//10.10.2.2/fshare，//file-01/corp）
8. 输入合适的 **用户名** 和 **密码**（如需要）。
9. 选择合适的 **SMB 协议版本** 从下拉列表中选择。通常建议保留默认选项，因为它在大多数情况下都能正常工作。系统将自动检测所需的版本，并使用检测到的最新兼容版本。
10. 输入 **挂载选项**。这些是用于高级用途的可选 CIFS 参数。更多信息请参见： [https://linux.die.net/man/8/mount](https://linux.die.net/man/8/mount.cifs)
11. 选择 **只读** 复选框，如果该文件系统应在卷内以只读方式挂载。（注意：只读访问可能已由源 CIFS 共享上定义的用户权限决定。）
12. 单击 **提交** 以保存设置并创建新的远程卷。
13. 新远程卷的仪表板将会显示。如果远程 CIFS 共享已成功挂载到 VergeOS 系统，则会显示在线状态；如果卷未成功挂载，请参阅仪表板底部的 *日志* 部分以查看错误消息。

{% hint style="success" %}
**可以使用左侧菜单中的&#x20;*****浏览*****&#x20;选项查看在线卷中的文件。**
{% endhint %}

## 创建远程 NFS 卷

1. 导航到 **NAS** > **卷**.
2. 选择 **新建** 从左侧菜单中。
3. 选择合适的 **NAS 服务** 从下拉列表中。
4. 输入一个 **名称** 用于新卷（必填）。注意：不允许使用空格。
5. 输入一个 **描述** 用于该卷（可选）。
6. 在 **文件系统类型** 下拉列表中，选择 ***远程 NFS***.
7. 在 **远程挂载目标** 字段中输入 NFS 路径。NFS 路径语法：SERVER:/FullPathtoShare（示例1：server01:/export/svrdata 示例2：server01:/data/testdata/Jan）
8. 如有必要，选择正确的 **NFS 协议版本** 从下拉列表中选择。通常建议保留默认选项，因为它在大多数情况下都能正常工作。系统将自动检测所需的版本，并使用检测到的最新兼容版本。
9. 可选地， **挂载选项** 可输入。这允许使用高级的可选 NFS 挂载参数；更多信息请参见： <https://linux.die.net/man/5/nfs>
10. 选择 **只读** 复选框，如果该文件系统应在卷内以只读方式挂载。
11. 单击 **提交** 以保存设置并创建新的远程卷。
12. 新远程卷的仪表板将会显示。如果远程 NFS 共享已成功挂载到 VergeOS 系统，则状态将显示为在线；如果卷未成功挂载，请参阅仪表板底部的 *日志* 部分以查看遇到的错误，便于排查问题。

{% hint style="success" %}
**可以使用左侧菜单中的&#x20;*****浏览*****&#x20;选项查看在线卷中的文件。**
{% endhint %}


---

# 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/run-the-platform/zh/nas/nas-remote-volumes.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.
