From: "Busby.Cheung" <chaimvy@163.com>
To: 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 19:33:40 +0800 (CST) [thread overview]
Message-ID: <15b92f2.93da.127f6f23309.Coremail.chaimvy@163.com> (raw)
In-Reply-To: <4BC44D6D.1000701@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]
在2010-04-13 18:54:37,"Milan Broz" <mbroz@redhat.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
>
My LVM2 version is 2.02.54, haven't done any patch.
Did you mean that there were some patches to fix the 'take long time' 's bug?
I can't understand 'missing device was searched too many times slowing everything down' as you said, what does 'missing device was searched too many times' mean? Does that means some device like '/dev/sde' which is an missed device, but the lvm2 will open it (because it appears in the system's device list), so the 'timeout' comes (long time)?
Thank you very much.
Regards,
Busby
[-- Attachment #2: Type: text/html, Size: 2425 bytes --]
next prev parent reply other threads:[~2010-04-13 11:34 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
2010-04-13 11:33 ` Busby.Cheung [this message]
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=15b92f2.93da.127f6f23309.Coremail.chaimvy@163.com \
--to=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).