[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Where is the PE to LE mapping done?



Hello, This is my second e-mail.

 

Where does the mapping between PE and LE is done? And When happen?

When the new Logical Volume is created based on already built PV and VG, is  the mapping done?

 

In the source code, /lib/metadata/metadata.h, there are "lv_segment" & "pv_segment". does the "segment" equal the "extent"??

 

Each "physical_volume" struct and "logical_volume" struct has a segment list like "pv_segment" and "lv_segment". But there are also "pv_list" and "lv_list". How the mapping is done with these structures..??

 

One more thing is, "What code do I have to read in the sources to know how the mapping is done??"

 

Thank you ^^:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]