Chinaunix首页 | 论坛 | 博客
  • 博客访问: 281626
  • 博文数量: 56
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 642
  • 用 户 组: 普通用户
  • 注册时间: 2013-12-16 15:11
文章分类

全部博文(56)

文章存档

2017年(6)

2015年(3)

2014年(41)

2013年(6)

我的朋友

分类: LINUX

2014-09-15 13:44:07

Striped Logical Volumes
When you write data to an LVM logical volume, the file system lays the data out across the underlying physical volumes. You can control the way the data is written to the physical volumes by creating a striped logical volume. For large sequential reads and writes, this can improve the efficiency of the data I/O.
Striping enhances performance by writing data to a predetermined number of physical volumes in round-round 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.
The following illustration shows data being striped across three physical volumes. In this figure:
  • the first stripe of data is written to PV1
  • the second stripe of data is written to PV2
  • the third stripe of data is written to PV3
  • the fourth stripe of data is written to PV1
In a striped logical volume, the size of the stripe cannnot exceed the size of an extent.
Striping Data Across Three PVs

Figure 2.5. Striping Data Across Three PVs


Striped logical volumes can be extended by concatenating another set of devices onto the end of the first set. In order 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 Section 4.4.9, “Extending a Striped Volume”.
阅读(1347) | 评论(0) | 转发(0) |
0

上一篇:udev

下一篇:LC_ALL=C的含义

给主人留下些什么吧!~~