# 21.1.概述

在 FreeBSD 中，GEOM 框架通过使用提供者（或 **/dev** 中的磁盘设备）允许访问和控制各种类，如主引导记录（MBR）和 BSD 标签。通过支持各种软件 RAID 配置，GEOM 透明地为操作系统及其工具提供了访问权限。

本章介绍了在 FreeBSD 中如何使用 GEOM 框架下的磁盘。这包括使用该框架进行配置的主要 RAID 控制工具。此章不是 RAID 配置的权威指南，仅讨论 GEOM 支持的 RAID 类型。

阅读完本章后，你将了解：

* GEOM 提供的 RAID 支持类型。
* 如何使用基础工具配置、维护和操作各种 RAID 级别。
* 如何通过 GEOM 镜像、条带化、加密以及远程连接磁盘设备。
* 如何排除 GEOM 框架下附加的磁盘故障。

在阅读本章之前，你应当：

* 理解 FreeBSD 如何处理磁盘设备（[存储](https://docs.freebsd.org/en/books/handbook/disks/#disks)）。
* 了解如何配置和安装新内核（[配置 FreeBSD 内核](https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig)）。


---

# 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://handbook.bsdcn.org/di-21-zhang-geom-mo-kuai-hua-ci-pan-zhuan-huan-kuang-jia/21.1.-gai-shu.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.
