Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Rob Tongue
On 1/27/20 7:54 PM, Rob Tongue wrote: On 1/27/20 10:57 AM, Rob Tongue wrote: One last tidbit, drbdadm status shows this for the resource I created in proxmox from tank1 without the diskless storage-pools created, and it is only showing up on tank1, not tank2 or tank3: vm-3000-disk-1

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Rob Tongue
On 1/27/20 10:57 AM, Rob Tongue wrote: One last tidbit, drbdadm status shows this for the resource I created in proxmox from tank1 without the diskless storage-pools created, and it is only showing up on tank1, not tank2 or tank3: vm-3000-disk-1 role:Primary   disk:UpToDate   tank2

Re: [DRBD-user] how to restore lvm snapshot?

2020-01-27 Thread Paul O'Rorke
Hi d tbsky, I don't know what others do, I just do essentially what you said, but without stopping the DRBD service.  I simply restore the snapshot to the primary DRBD block device, not the backing device and let DRBD do it's magic in the background. I have done this for a Windows file

[DRBD-user] Fwd: [proxmox 5.4]Cannot create VM, cannot restore : timeout linstor sp l...

2020-01-27 Thread Christophe Nouvel
Envoyé de mon iPhone Début du message transféré : > Expéditeur: Christophe NOUVEL > Date: 27 janvier 2020 à 15:17:06 UTC+1 > Destinataire: Roland Kammerer > Objet: Rép: [DRBD-user] [proxmox 5.4]Cannot create VM, cannot restore : > timeout linstor sp l... > >  > Hi, > > pvs, lvs and vgs

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Rob Tongue
On 1/27/20 10:43 AM, Rob Tongue wrote: On 1/27/20 4:13 AM, Roland Kammerer wrote: Can you create resources based on the resource group on the command line via 'linstor'? I did this in both scenarios, with the diskless storage-pools I created prior, and without. With the diskless pools,

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Rob Tongue
On 1/27/20 4:13 AM, Roland Kammerer wrote: Can you create resources based on the resource group on the command line via 'linstor'? I did this in both scenarios, with the diskless storage-pools I created prior, and without. With the diskless pools, when creating the resources, I was able to

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Rob Tongue
On 1/27/20 4:13 AM, Roland Kammerer wrote: Then I created on tank2/tank3 diskless storage-pools. # linstor storage-pool create diskless tank2 test # linstor storage-pool create diskless tank3 test I would not have done that. There is a default diskless pool. In 99% you don't need/want a

Re: [DRBD-user] [proxmox 5.4]Cannot create VM, cannot restore : timeout linstor sp l...

2020-01-27 Thread Roland Kammerer
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 >

[DRBD-user] [proxmox 5.4]Cannot create VM, cannot restore : timeout linstor sp l...

2020-01-27 Thread Christophe NOUVEL
Hi all, Running a 2 node proxmox cluster : pveversion -v proxmox-ve: 5.4-2 (running kernel: 4.15.18-24-pve) pve-manager: 5.4-13 (running version: 5.4-13/aee6f0ec) pve-kernel-4.15: 5.4-12 linstor-client 1.0.10-1 linstor-common 1.4.1-1

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Roland Kammerer
On Sun, Jan 26, 2020 at 11:15:35PM -0500, Rob Tongue wrote: > So here is what I have tried: > > I have created as a test, a small lvm thinpool as a storage-pool on node1 > > # linstor storage-pool create lvmthin tank1 test test/pve OK > Then I created on tank2/tank3 diskless storage-pools. >

Re: [DRBD-user] DRBD/Linstor/Proxmox diskless storage-pools

2020-01-27 Thread Gianni Milo
I would test it first without proxmox gui. That is, by creating a test resource and volume definition via linstor command. Then after, I would create a test resource based on the above and assign that resource to each node. If your configuration is correct, then the resource should become