From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx13.extmail.prod.ext.phx2.redhat.com [10.5.110.18]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0RF4tNQ007961 for ; Tue, 27 Jan 2015 10:04:55 -0500 Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0RF4noP006360 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 27 Jan 2015 10:04:50 -0500 Received: by mail-ob0-f182.google.com with SMTP id gq1so13778639obb.13 for ; Tue, 27 Jan 2015 07:04:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20150119222134.GA17599@agk-dp.fab.redhat.com> Date: Tue, 27 Jan 2015 13:04:49 -0200 Message-ID: From: Marcos Dutra Content-Type: multipart/alternative; boundary=047d7b47291284f03b050da3936a Subject: Re: [linux-lvm] Slow response from lvs and vgs commands Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --047d7b47291284f03b050da3936a Content-Type: text/plain; charset=UTF-8 Hi everybody, I have the same problem when I use vgs command, so I used vgs -vvv command and it was slow when the output command showed me this "Archiving volume group "vgoracle" metadata (seqno 3)", I have many vgs with this status, Archiving volume group xxx, Is it normal? What can I do to solve this? Thanks Marcos Dutra 2015-01-19 20:58 GMT-02:00 John Griffith : > On Mon, Jan 19, 2015 at 3:21 PM, Alasdair G Kergon wrote: > > On Mon, Jan 19, 2015 at 02:05:39PM -0700, John Griffith wrote: > >> I'm wondering if there's something I should be looking at more closely > >> to debug this, or if there's a way to filter the lvs and vgs commands > >> to make them more efficient? > > > > Add -vvvv to the command lines and see if that helps you to see > > where the slowness is. > > > > Alasdair > > > > Thanks Alasdair, > > Turns out I got a great suggestion to wrap this up in strace via the > IRC channel. Turns out I'm scanning on some devices that are being > plugged in and out of the system and the failure is due to the fact > that the raw device gets ripped out from under the vgscan. > > Going to try limiting the devices I interact with via lvm.conf, I > think that will address the issue. > > Thanks, > John > > _______________________________________________ > linux-lvm mailing list > linux-lvm@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --047d7b47291284f03b050da3936a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi everybody,

I have the same problem w= hen I use vgs command, so I used vgs -vvv command and it was slow when the = output command showed me this "Archiving volume group "vgoracle&q= uot; metadata (seqno 3)", I have many vgs with this status, Archiving = volume group xxx, Is it normal? What can I do to solve this?

=
Thanks

Marcos Dutra

2015-01-19 20:58 GMT-02:0= 0 John Griffith <john.griffith8@gmail.com>:
On Mon, Jan 19, 2015 at 3:21 PM, = Alasdair G Kergon <agk@redhat.com&= gt; wrote:
> On Mon, Jan 19, 2015 at 02:05:39PM -0700, John Griffith wrote:
>> I'm wondering if there's something I should be looking at = more closely
>> to debug this, or if there's a way to filter the lvs and vgs c= ommands
>> to make them more efficient?
>
> Add -vvvv to the command lines and see if that helps you to see
> where the slowness is.
>
> Alasdair
>

Thanks Alasdair,

Turns out I got a great suggestion to wrap this up in strace via the
IRC channel.=C2=A0 Turns out I'm scanning on some devices that are bein= g
plugged in and out of the system and the failure is due to the fact
that the raw device gets ripped out from under the vgscan.

Going to try limiting the devices I interact with via lvm.conf, I
think that will address the issue.

Thanks,
John

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

--047d7b47291284f03b050da3936a--