# 消息 ID：ZFS-8000-6X

## 顶层设备缺失

|  类型  | 错误          |
| :--: | ----------- |
|  严重性 | 紧急          |
|  描述  | 一个或多个顶层设备缺失 |
| 自动响应 | 不会采取自动响应    |
|  影响  | 存储池无法导入     |

## 建议系统管理员采取的操作

运行 `zpool import` 列出无法导入的池：

```sh
# zpool import
  pool: test
    id: 13783646421373024673
 state: FAULTED
status: One or more devices are missing from the system.
action: The pool cannot be imported.  Attach the missing devices and try again.
   see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-6X
config:

        test              FAULTED   missing device
          c0t0d0          ONLINE

Additional devices are known to be part of this pool, though their
exact configuration cannot be determined.
```

ZFS 尝试在设备上存储足够的配置信息，以便可以从任何子集设备中恢复配置。在某些情况下，尤其是当整个顶层虚拟设备未附加到系统时，ZFS 将无法确定完整配置。即使无法识别所有设备，它也总能检测到这些设备缺失。

在未知缺失设备附加到系统之前，存储池无法导入。如果设备已放置在其他位置，可使用 `zpool import` 的选项 `-d` 在不同目录中搜索设备。如果缺失设备不可用，则无法导入该池。

## 详细信息

消息 ID：`ZFS-8000-6X` 表示在配置中缺少一到多个顶层设备。


---

# Agent Instructions: 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:

```
GET https://book.bsdcn.org/zfs/zfs-xiao-xi/zfs-8000-6x.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
