> 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/xu-ni-ji/import-from-nas.md).

# 从 NAS 卷导入 VM

这种方法允许一次导入多个虚拟机。它不需要将任何文件上传到 vSAN，而是允许从 NFS 或 CIFS 共享中拉取数据。注意：对于生产环境中的实时 VMware 环境，最好利用 VMware Service 来 [**从 VMware 备份作业导入**](/run-the-platform/zh/xu-ni-ji/import-from-vmware.md)

{% hint style="warning" %}
**导入应从已关闭电源的虚拟机执行。**
{% endhint %}

{% hint style="info" %}
**NAS 导入仅适用于虚拟机，不适用于磁盘。此过程仅适用于 VMX 或 OVF 文件。任何其他格式都需要** [**从文件导入虚拟机**](/knowledge-base/zh/virtual-machines/import-vms-from-files.md)**.**
{% endhint %}

## 从卷导入

1. 要使用外部 NFS 或 CIFS 共享进行虚拟机导入，外部源必须设置为 **远程卷** 在 NAS 中。请参阅 [**远程卷**](/run-the-platform/zh/nas/nas-remote-volumes.md) 以获取说明。
2. 从云仪表板中，选择 **机器** 菜单中的，或单击仪表板上的“机器”快速链接。
3. 选择 **新建虚拟机** 左侧菜单中的。
4. 在左侧选择类型（ **--从卷导入--**.
5. 右侧显示现有卷。点击以 **选择适当的 CIFS/NFS 远程卷**.
6. 单击 **下一步** （屏幕底部）。
7. 屏幕将显示所选 NAS 卷中的现有文件夹。 ***选择文件夹*** 存放所需虚拟机文件的位置。虚拟机也将从所选文件夹的子目录中导入。（单击左上角复选框可选择卷中的所有文件夹。）
8. 单击 **下一步** （屏幕底部）。
9. 导入作业默认命名为“Import Volume” + *卷名称*. **导入作业名称可以更改** 以满足需要。
10. 默认情况下， ***MAC 地址*** 将被保留（MAC 地址将与其导入来源虚拟机保持一致）；通常建议这样做，以避免需要在来宾操作系统中重新配置。如果未选择此选项，系统将为所有网卡生成新的唯一 MAC 地址。
11. ***首选层级*** 可选择或保持为 **--默认--**。这将决定首先尝试将虚拟机存储在哪个层级。 [**首选层**](/run-the-platform/zh/cun-chu/preferred-tiers.md) 页面提供了有关首选层级的详细说明。
12. 当字段按需填写完毕后，点击 **提交**.
13. 导入将被启动，随后 **导入作业仪表板** 将显示。将提供以下信息（以及其他附加数据）：
    * ***状态*** （初始化中/导入中/完成）
    * ***创建日期***
    * ***子导入作业列表***，每个单独虚拟机对应一个子作业，包含：
      * 状态、适用时的状态消息、虚拟机名称、源卷、首选层级、保留 MAC 设置、创建和最后更新时间/日期
    * ***作业日志***
    * ***已完成子作业（虚拟机）数量 / 检测到的作业（虚拟机）总数***

参见 [**查看导入作业**](/run-the-platform/zh/xu-ni-ji/view-import-jobs.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 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/xu-ni-ji/import-from-nas.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.
