Re: Clustered VGs with many PVs slow to activate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 29, 2007 at 09:54:06AM +0100, Bryn M. Reeves wrote:
> > There is a clustered vg in my five-node cluster (four of which have
> > access to the SAN where the physical devices reside). It seems to me
> > that the more LV's and PV's I've got, the more time it takes to get the
> > VG activated. When I had 8 PV's and 79 LV's, it took some ten minutes to
> > activate the VG on each node. Now, I extended the VG by 39 PV's (so that my
> 
> Did you put a metadata copy on each PV? Check with vgdisplay:
[..]
> If that's the case, you probably don't want one for each PV here. It's
> unnecessary and will slow the tools down a lot when there are a large
> number of PVs.
> 
> Check out the --metadatacopies option to pvcreate and re-create the
> volume group with a much smaller number of MDAs if this is the problem
> you're seeing. If you're careful you can do this in-place via the
> - --restorefile option to pvcreate and vgcfgbackup/vgcfgrestore.

THANK you. And here I was thinking I knew the lvm tools completely...
Apparantly one'd have to read the man pages of even everyday tools now
and then. ;)


--Janne
-- 
Janne Peltonen <janne.peltonen@xxxxxxxxxxx>

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux