[linux-lvm] VGDA Question

Rik Herrin rikherrin at yahoo.com
Wed Sep 7 14:46:00 UTC 2005

 According to the LVM man page, the VGDA (Volume Group
Descriptor Area) holds the metadata responsible for
keeping information about the LVs.  However, it is
contained in the PVs.  Why does the VGDA contain both
LV descriptors and PE descriptors?  Shouldn't it just
have PE descriptors and leave the LV descriptors to
the volume group?  Also, when booting, what makes the
kernel know that there are VGs and LVs?  Does it look
at the type of the partition and if it detects that
it's a PV, extract the VGDA to help it build this
information?  If this is so, how does it deal with
entire harddisks.  For example, if I run the command:
pvcreate /dev/sdd
how would the kernel know that this is a PV?. 
Finally, where exactly is the VGDA information held?. 
Thanks for your time.

Click here to donate to the Hurricane Katrina relief effort.

More information about the linux-lvm mailing list