From: Marcos Dutra <macdutra@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Slow response from lvs and vgs commands
Date: Tue, 27 Jan 2015 13:04:49 -0200 [thread overview]
Message-ID: <CAPcfVV-KGCWda4fKdtVdo=xGQftCU8kURoqR6PDuLKz15wpKqg@mail.gmail.com> (raw)
In-Reply-To: <CAPWkaSV-o0Tf=1yopWbrmKLuEnS6qbp_pEhikgean7M5vitr4w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1481 bytes --]
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 <john.griffith8@gmail.com>:
> On Mon, Jan 19, 2015 at 3:21 PM, Alasdair G Kergon <agk@redhat.com> 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/
>
[-- Attachment #2: Type: text/html, Size: 2318 bytes --]
next prev parent reply other threads:[~2015-01-27 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 21:05 [linux-lvm] Slow response from lvs and vgs commands John Griffith
2015-01-19 22:21 ` Alasdair G Kergon
2015-01-19 22:58 ` John Griffith
2015-01-27 15:04 ` Marcos Dutra [this message]
2015-01-28 9:28 ` 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='CAPcfVV-KGCWda4fKdtVdo=xGQftCU8kURoqR6PDuLKz15wpKqg@mail.gmail.com' \
--to=macdutra@gmail.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).