How does LVM Mirror read from and write to each mirror legs?
Issue
-
Our customer wants to know the behavior of LVM mirroring.
-
When write data to LVM mirror, How does the system request the I/O to each PV?
- write data to each mirror legs at the same time?
- write data to one mirror leg, and copy to the other one?
- other processing?
-
When read data from LVM mirror, How does the system request the I/O?
- read data from one mirror leg only?
- read data from each mirror legs doubly?
- read data from each mirror legs without duplication using some kind of algorithm?
- other processing?
-
The difference of throughput between LVM linear mode and mirror mode.
-
Environment
- Red Hat Enterprise Linux 5
- lvm2-2.02.40-6.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.