<div dir="ltr"><div>Hi,</div><div><br></div><div>LVM is not slow, see my previous message.</div><div><br></div><div>The only filter in lvm.conf is :</div><div>global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|", "r|/dev/drbd.*|" ]</div><div><br></div><div>Then we updated to latest available versions :</div><div>ii linstor-client 1.0.11-1 all Linstor client command line tool<br>ii linstor-common 1.4.2-1 all DRBD distributed resource management utility<br>ii linstor-controller 1.4.2-1 all DRBD distributed resource management utility<br>ii linstor-proxmox 4.1.1-1 all DRBD distributed resource management utility<br>ii linstor-satellite 1.4.2-1 all DRBD distributed resource management utility<br>ii python-linstor 1.0.11-1 all Linstor python api library<br></div><div><br></div><div>Problem is still there :<br></div><div><br></div><div># time linstor sp l<br>╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮<br>┊ StoragePool ┊ Node ┊ Driver ┊ PoolName ┊ FreeCapacity ┊ TotalCapacity ┊ SupportsSnapshots ┊ State ┊<br>╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡<br>┊ DfltDisklessStorPool ┊ px1 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊<br>┊ DfltDisklessStorPool ┊ px2 ┊ DISKLESS ┊ ┊ ┊ ┊ False ┊ Ok ┊<br>┊ drbdpool ┊ px1 ┊ LVM ┊ vg_drbd ┊ 3.59 TiB ┊ 4.54 TiB ┊ False ┊ Ok ┊<br>┊ drbdpool ┊ px2 ┊ LVM ┊ vg_drbd ┊ 3.59 TiB ┊ 4.54 TiB ┊ False ┊ Ok ┊<br>╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯<br><br>real 0m20.486s<br>user 0m0.361s<br>sys 0m0.020s</div><div><br></div><div>20 seconds, waiting there (strace) :</div><div>sendto(3, "GET /v1/view/storage-pools HTTP/"..., 153, 0, NULL, 0) = 153<br>poll([{fd=3, events=POLLIN}], 1, 300000<br></div><div><br></div><div>So we can't neither create a VM on this storage, nor restore.</div><div><br></div><div> Christophe. <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 27 janv. 2020 à 11:35, Roland Kammerer <<a href="mailto:roland.kammerer@linbit.com">roland.kammerer@linbit.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Jan 27, 2020 at 10:19:31AM +0100, Christophe NOUVEL wrote:<br>
> We noticed long response time when :<br>
> linstor sp pl<br>
<br>
And that is the root cause for the plugin timeout.<br>
<br>
> An strace give a long wait (20s) to :<br>
> sendto(3, "GET /v1/view/storage-pools HTTP/"..., 153, 0, NULL, 0) = 153<br>
> poll([{fd=3, events=POLLIN}], 1, 300000<br>
> <br>
> Any idea?<br>
<br>
Best guess is that LVM is very slow on at least one of your nodes. Just<br>
try 'lvs' on all of them. If this is already slow (yes, I see that *a*<br>
*lot*), then properly configure your LVM (by setting some filters in<br>
lvm.conf).<br>
<br>
Regards, rck<br>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="https://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">https://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div>