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

조완근 jowkju at postech.ac.kr
Thu Jun 8 12:33:01 UTC 2006





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 ^^:





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060608/87019338/attachment.htm>


More information about the linux-lvm mailing list