From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: yue <ooolinux@163.com>
Subject: Re: [linux-lvm] what is writed on raw disk,
Date: Fri, 10 Sep 2010 17:47:01 +0200 [thread overview]
Message-ID: <4C8A52F5.4080801@redhat.com> (raw)
In-Reply-To: <5fa6d3.12b5c.12afc29d278.Coremail.ooolinux@163.com>
Dne 10.9.2010 17:00, yue napsal(a):
> VolGroup00 {
> id = "QCNEJh-9bbG-x6AV-uZEz-Dhsi-1LL7-fYSWbL"
> seqno = 4
> status = ["RESIZEABLE", "READ", "WRITE"]
...
> }
> }//logical_volumes
> }
> ------------------------------------
> how many this kind of struct is writed on raw disk,and its value???what is different??
> how a group is parsed?
There is always at least one back-up copy, to be able to do commit - first
write new metadata - and when they are fully written mark them as valid. So in
case of any write problem there is always previous last valid version
available - see pvcreate --metadatasize --metadatasize and some other options
in manpage)
Major part of parser is located in lib/config/config.c.
As for your previous question about some detailed LVM architecture document -
well mostly only the source code itself...
It would probably be better to specify what are you trying to achieve to get
help with that ?
Zdenek
next prev parent reply other threads:[~2010-09-10 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 15:00 [linux-lvm] what is writed on raw disk, yue
2010-09-10 15:47 ` Zdenek Kabelac [this message]
2010-09-10 15:53 ` yue
2010-09-13 9:48 ` Zdenek Kabelac
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=4C8A52F5.4080801@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=ooolinux@163.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).