From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Bringing an existing filesystem under LVM2 control
Date: Fri, 2 Jun 2006 19:03:02 +0100 [thread overview]
Message-ID: <20060602180302.GU10603@agk.surrey.redhat.com> (raw)
In-Reply-To: <448078C7.5040702@conterra.de>
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
prev parent reply other threads:[~2006-06-02 18:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-01 13:40 [linux-lvm] Bringing an existing filesystem under LVM2 control Alasdair G Kergon
2006-06-02 2:05 ` Harik A'ttar
2006-06-02 17:43 ` Dieter Stüken
2006-06-02 18:03 ` Alasdair G Kergon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060602180302.GU10603@agk.surrey.redhat.com \
--to=agk@redhat.com \
--cc=linux-lvm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).