# 消息 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` 表示在配置中缺少一到多个顶层设备。
