# 20.1.概述

本章介绍了在 FreeBSD 中使用磁盘和存储介质的方法。涵盖的内容包括 SCSI 和 IDE 磁盘、CD 和 DVD 媒体、内存支持的磁盘以及 USB 存储设备。

阅读本章后，你将了解：

* 如何向 FreeBSD 系统添加额外的硬盘。
* 如何在 FreeBSD 上扩展磁盘分区的大小。
* 如何配置 FreeBSD 以使用 USB 存储设备。
* 如何在 FreeBSD 系统上使用 CD 和 DVD 媒体。
* 如何使用 FreeBSD 下的备份程序。
* 如何设置内存磁盘。
* 什么是文件系统快照以及如何有效地使用它们。
* 如何使用配额限制磁盘空间的使用。
* 如何加密磁盘和交换分区，以保护它们免受攻击者的威胁。
* 如何配置高度可用的存储网络。

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

* 了解如何 [配置和安装新的 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://book.bsdcn.org/hanbook/di-20-zhang-cun-chu/20.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.
