Re: Bringing an existing filesystem under LVM2 control

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

 



On Fri, Jun 02, 2006 at 07:43:35PM +0200, Dieter Stüken wrote:
> 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".

1 sector is all it needs.  The second sector is safe with ext2/ext3 unless
you placed a bootloader there.  Filesystem tools and utilities shouldn't
interfere.  I'm guessing other filesystems will behave similarly, but I
haven't checked.
 
> 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?

Start at the 'Metadata' slide here:

  http://people.redhat.com/agk/talks/LVM2-LinuxTag2006/
  http://people.redhat.com/agk/talks/LVM2-LinuxTag2006/text28.html
 
Alasdair
-- 
agk@redhat.com

_______________________________________________
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