From: "Busby.Cheung" <chaimvy@163.com>
To: Milan Broz <mbroz@redhat.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] what does 'orphan vg' mean?(global vg?)
Date: Tue, 13 Apr 2010 16:14:43 +0800 (CST) [thread overview]
Message-ID: <1eb3d4c.70e0.127f63c102b.Coremail.chaimvy@163.com> (raw)
In-Reply-To: <4BC4200E.5090603@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
Hi Milan,
Thank you very much for so qucik answer.
The reason cause me to read the source code is you mentioned in your email: 'vgscan'. When I use the 'vgs' cmd, it maybe take a long time, the 'vgs' can't be executed parallelly? The 'vgs' cmd will scan all the devices, once one device locked, it will wait till timeout or err come(device err)?
Best Regards,
Busby
> -----原始邮件-----
> 发件人: "Milan Broz" <mbroz@redhat.com>
> 发送时间: 2010年4月13日 星期二
> 收件人: "LVM general discussion and development" <linux-lvm@redhat.com>
> 抄送: "Busby.Cheung" <chaimvy@163.com>
> 主题: Re: [linux-lvm] what does 'orphan vg' mean?(global vg?)
>
> On 04/13/2010 09:16 AM, Busby.Cheung wrote:
> > While I was reading the lvm source code, I can't understand what
> > 'is_orphan' means(like 'is_orphan_vg' function). what's the different
> > between orphan and global vg?
>
> Orphan PV is device with PV label which is not attached to any Volume Group.
> (IOW it is handled by LVM, but space on it is not yet allocatable.)
>
> There is no such thing like Global VG in LVM2, only "global lock".
> It is internal lock used to avoid parallel scanning of all devices.
> (you will see it in vgscan command for example).
>
> Milan
[-- Attachment #2: Type: text/html, Size: 1575 bytes --]
next prev parent reply other threads:[~2010-04-13 8:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 7:16 [linux-lvm] what does 'orphan vg' mean?(global vg?) Busby.Cheung
2010-04-13 7:41 ` Milan Broz
2010-04-13 8:14 ` Busby.Cheung [this message]
2010-04-13 10:54 ` Milan Broz
2010-04-13 11:33 ` Busby.Cheung
2010-04-13 12:11 ` Milan Broz
2010-04-13 12:36 ` Busby.Cheung
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=1eb3d4c.70e0.127f63c102b.Coremail.chaimvy@163.com \
--to=chaimvy@163.com \
--cc=linux-lvm@redhat.com \
--cc=mbroz@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).