Envoyé de mon iPhone
Début du message transféré : > Expéditeur: Christophe NOUVEL <christophe.nou...@gmail.com> > Date: 27 janvier 2020 à 15:17:06 UTC+1 > Destinataire: Roland Kammerer <roland.kamme...@linbit.com> > Objet: Rép: [DRBD-user] [proxmox 5.4]Cannot create VM, cannot restore : > timeout linstor sp l... > > > Hi, > > pvs, lvs and vgs are fast on both nodes : > > [root@px1:~]# time pvs > PV VG Fmt Attr PSize PFree > /dev/sda3 pve lvm2 a-- 277.96g 16.00g > /dev/sdb1 vg_drbd lvm2 a-- 4.54t 3.59t > > real 0m0.059s > user 0m0.005s > sys 0m0.013s > [root@px1:~]# time vgs > VG #PV #LV #SN Attr VSize VFree > pve 1 3 0 wz--n- 277.96g 16.00g > vg_drbd 1 3 0 wz--n- 4.54t 3.59t > > real 0m0.020s > user 0m0.005s > sys 0m0.012s > [root@px1:~]# time lvs > LV VG Attr LSize Pool Origin Data% Meta% > Move Log Cpy%Sync Convert > data pve twi-a-tz-- 181.02g 0.00 0.89 > root pve -wi-ao---- 69.25g > swap pve -wi-ao---- 8.00g > vm-100102-disk-1_00000 vg_drbd -wi-ao---- 910.21g > vm-100104-disk-1_00000 vg_drbd -wi-ao---- 32.01g > vm-100106-disk-1_00000 vg_drbd -wi-ao---- 32.01g > > real 0m0.051s > user 0m0.009s > sys 0m0.008s > > > Same times for second node. > > Only one line has been modified in lvm.conf on each node : > [root@px2:~]# diff /etc/lvm/lvm.conf /etc/lvm/lvm.conf.orig > 129,130c129 > < global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|", > "r|/dev/drbd.*|" ] > < # global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ] > --- > > global_filter = [ "r|/dev/zd.*|", "r|/dev/mapper/pve-.*|" ] > > > All was working ok before resize... > > Christophe. > >> Le lun. 27 janv. 2020 à 11:35, Roland Kammerer <roland.kamme...@linbit.com> >> a écrit : >> On Mon, Jan 27, 2020 at 10:19:31AM +0100, Christophe NOUVEL wrote: >> > We noticed long response time when : >> > linstor sp pl >> >> And that is the root cause for the plugin timeout. >> >> > An strace give a long wait (20s) to : >> > sendto(3, "GET /v1/view/storage-pools HTTP/"..., 153, 0, NULL, 0) = 153 >> > poll([{fd=3, events=POLLIN}], 1, 300000 >> > >> > Any idea? >> >> Best guess is that LVM is very slow on at least one of your nodes. Just >> try 'lvs' on all of them. If this is already slow (yes, I see that *a* >> *lot*), then properly configure your LVM (by setting some filters in >> lvm.conf). >> >> Regards, rck >> _______________________________________________ >> Star us on GITHUB: https://github.com/LINBIT >> drbd-user mailing list >> drbd-user@lists.linbit.com >> https://lists.linbit.com/mailman/listinfo/drbd-user
_______________________________________________ Star us on GITHUB: https://github.com/LINBIT drbd-user mailing list drbd-user@lists.linbit.com https://lists.linbit.com/mailman/listinfo/drbd-user