[linux-lvm] Bringing an existing filesystem under LVM2 control

Dieter Stüken stueken at conterra.de
Fri Jun 2 17:43:35 UTC 2006


Alasdair G Kergon wrote:
> LVM2 needs to use for itself just one sector on the device (for a label).
> By default this is the second sector - ext2 and ext3, for example, don't 
> use this sector.  But some bootloaders might - check first.

If the FS resides on the first partition it usually starts at some offset
of 63 sectors. So, if you simply erase the partition table and use hda
for the PV, you may use this space for LVM. Don't know, if this is big
enough, as I normally see "pe_start = 384".

Is there any brief description around about how a PV header is organized,
or do I have to analyze the LVM source code for this?

Dieter.




More information about the linux-lvm mailing list