linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Jonathan E Brassow <jbrassow@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Linux LVM Physical Layout Structure
Date: Mon, 16 Oct 2006 14:25:48 -0500	[thread overview]
Message-ID: <de5daf3c5831ceeb42cd3f8c701521f2@redhat.com> (raw)
In-Reply-To: <BAY122-F341CBA1207CBA2BCB8EB090160@phx.gbl>

have you tried using 'lvs --all -o+devices'?

If you look at the "devices" column, you will see a number following 
the device that indicates the start segment.   There are many 
additional arguments to pvs, vgs, and lvs that can be displayed to show 
you the allocation layout.  (I'm assuming you are talking about LVM2.)

Conversely, if you are using LVM2, you could also look at 
/etc/lvm/backup/<vgname> to read the specifics of how lv's are mapped 
on the pv's.

  brassow

On Oct 9, 2006, at 3:11 AM, Sundeep Saini wrote:

>
> HI,
> I have a query about the physical layout of the LVM. Using some 
> hexeditor i tried to find out the VGDA structure. But i am not getting 
> any specific structure at starting of PV.
> As The Volume Group Descriptor Area (VGDA) functions similar to the 
> partition table for LVM. It is stored at the beginning at the 
> beginning of each physical volume.�
>
> Earlier i worked on HP-UX LVM and i read that i impementation of LVM 
> is similar in both.
>
> I want to get the information of the PE map and if i extend some LV 
> and create 2-3 segments then how i will be able to know the PE chain.
>
> I got some structure on HDD that contain some ASCII values as the 
> output of #lvdisplay ot vgdisplay
>
> Please give some guidance to find the internal layout of LVM on HDD.
>
> Thanks in Advance
>
>
> _______________________________________________
> 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/

      reply	other threads:[~2006-10-16 19:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-09  8:11 [linux-lvm] Linux LVM Physical Layout Structure Sundeep Saini
2006-10-16 19:25 ` Jonathan E Brassow [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=de5daf3c5831ceeb42cd3f8c701521f2@redhat.com \
    --to=jbrassow@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).