3.3.2. 条状逻辑卷


当您向 LVM 逻辑卷写入数据时,文件系统在基本物理卷之间部署数据。您可以通过创建条状逻辑卷控制数据向物理卷写入的方法。对于大批量的读取和写入,这样可以提高数据输入/输出的效率。
Striping enhances performance by writing data to a predetermined number of physical volumes in round-robin fashion. With striping, I/O can be done in parallel. In some situations, this can result in near-linear performance gain for each additional physical volume in the stripe.
以下示例显示数据在三个物理卷之间进行条状分布。在这个图表中:
  • 数据的第一条写入 PV1
  • 数据的第二条写入 PV2
  • 数据的第三条写入 PV3
  • 数据的第四条写入 PV1
In a striped logical volume, the size of the stripe cannot exceed the size of an extent.

图 3.5. 在三个 PV 中条状分配数据

Striped logical volumes can be extended by concatenating another set of devices onto the end of the first set. In order to extend a striped logical volume, however, there must be enough free space on the underlying physical volumes that make up the volume group to support the stripe. For example, if you have a two-way stripe that uses up an entire volume group, adding a single physical volume to the volume group will not enable you to extend the stripe. Instead, you must add at least two physical volumes to the volume group. For more information on extending a striped volume, see 第 5.4.14.1 节 “扩展条状卷”.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat