linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: "Busby.Cheung" <chaimvy@163.com>
Subject: Re: [linux-lvm] what does 'orphan vg' mean?(global vg?)
Date: Tue, 13 Apr 2010 12:54:37 +0200	[thread overview]
Message-ID: <4BC44D6D.1000701@redhat.com> (raw)
In-Reply-To: <1eb3d4c.70e0.127f63c102b.Coremail.chaimvy@163.com>

On 04/13/2010 10:14 AM, Busby.Cheung wrote:
>       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)?  

vgs take global lock for performance reasons (it can use cached metadata
completely then), so it waits for some time if vgscan run in parallel.
(but you do not need to run vgscan at all except adding new device or so)

full scan should not take too much time, but there was some bug fixed
recently (missing device was searched too many times slowing everything down)

Milan

  reply	other threads:[~2010-04-13 10:54 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
2010-04-13 10:54   ` Milan Broz [this message]
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=4BC44D6D.1000701@redhat.com \
    --to=mbroz@redhat.com \
    --cc=chaimvy@163.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).