linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] On-disk and LVM internal metadata representation
@ 2007-03-05 11:54 Nallammai S
  2007-03-05 16:12 ` Dave Wysochanski
  0 siblings, 1 reply; 2+ messages in thread
From: Nallammai S @ 2007-03-05 11:54 UTC (permalink / raw)
  To: linux-lvm

Hi,

Whats the difference between on-disk metadata and LVM  internal representation? How does LVM map between these two representations?

Thanks in advance.

Nallammai.S 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] On-disk and LVM internal metadata representation
  2007-03-05 11:54 [linux-lvm] On-disk and LVM internal metadata representation Nallammai S
@ 2007-03-05 16:12 ` Dave Wysochanski
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Wysochanski @ 2007-03-05 16:12 UTC (permalink / raw)
  To: LVM general discussion and development

On Mon, 2007-03-05 at 04:54 -0700, Nallammai S wrote:
> Hi,
> 
> Whats the difference between on-disk metadata and LVM  internal representation? How does LVM map between these two representations?
> 
> Thanks in advance.
> 
> Nallammai.S 
> 

It is different for LVM1 vs LVM2.

LVM2
- text-based on-disk metadata
- format-specific code in lib/format_text

LVM1
- binary on-disk metadata
- format-specific code in lib/format1

If you read the import*.[ch] and export*.[ch] files in the format
specific directories you will get an understanding of the mapping.  I
also found following the label_read() function to be helpful.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-05 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 11:54 [linux-lvm] On-disk and LVM internal metadata representation Nallammai S
2007-03-05 16:12 ` Dave Wysochanski

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).