Where is the PE to LE mapping done?

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

 



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

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux