Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

2.3.2. 스트라이프 (Striped) 논리 볼륨

LVM 논리 볼륨에 데이터를 기록할 때, 파일 시스템은 기본적인 물리 볼륨에 데이터를 기록합니다. 스트라이프 (striped) 논리 볼륨을 생성하여 데이터가 물리 볼륨에 기록되는 방식을 조절할 수 있습니다. 대량의 순차적 읽기 및 쓰기 작업의 경우, 데이터 I/O의 효율성을 향상시킬 수 있습니다.
스트라이핑은 라운드 라운드 (round-round) 방식에서 미리 지정된 물리 볼륨의 수에 데이터를 작성하여 성능을 향상시킵니다. 스트라이핑을 사용하여 I/O는 병렬로 실행될 수 있습니다. 이는 경우에 따라 스트라이프에 있는 각각의 추가 물리 볼륨에 대해 선형에 가까운 성능 결과를 초래할 수 있습니다.
다음의 그림에서는 세 개의 물리 볼륨에 걸쳐 스트라이프된 데이터를 보여주고 있습니다.:
  • 데이터의 첫 번째 스트라이프는 PV1에 작성됩니다
  • 데이터의 두 번째 스트라이프는 PV2에 작성됩니다
  • 데이터의 세 번째 스트라이프는 PV3에 작성됩니다
  • 데이터의 네 번째 스트라이프는 PV1에 작성됩니다
스트라이프 논리 볼륨에서 스트라이프의 크기는 익스텐트의 크기를 초과할 수 없습니다.
세 개의 PV를 통한 스트라이핑 데이터

그림 2.5. 세 개의 PV를 통한 스트라이핑 데이터

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 4.4.9절. “스트라이프 볼륨 확장 ”.