[linux-lvm] Slow response from lvs and vgs commands
Zdenek Kabelac
zkabelac at redhat.com
Wed Jan 28 09:28:48 UTC 2015
Dne 27.1.2015 v 16:04 Marcos Dutra napsal(a):
> 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?
>
If you are creating lots of randomly named VGs - then you'll need to manual
prune /etc/lvm/archive directory.
When you use consistently the same VG name - you could configure some limits
via lvm.conf settings:
backup/retain_min
backup/retain_days
(Or you could disable backup completely)
Zdenek
More information about the linux-lvm
mailing list