DRBD with Proxmox 1.4b

udo

Distinguished Member
Apr 22, 2009
5,981
203
163
Ahrensburg; Germany
Hi,
first congratulation for the 1.4. The new storagemodel with breakfree migration is very impressive.
Now, i test the drbd-feature (with the drdb-howto) ans the syncronisation don't work. I think i got the wrong drbd8-utils.
Code:
# dpkg -p drbd8-utils
Package: drbd8-utils
Priority: extra
Section: admin
Installed-Size: 416
Maintainer: Norbert Tretkowski <nobse@debian.org>
Architecture: amd64
Source: drbd8
Version: 2:8.0.14-2
Replaces: drbd, drbd-utils
Provides: drbd-utils
Depends: debconf | debconf-2.0, libc6 (>= 2.7-1)
Suggests: heartbeat
Conflicts: drbd-utils
Size: 148966
The kernel version looks good:
Code:
# cat /proc/drbd 
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by root@oahu, 2009-09-10 15:18:39
 0: cs:WFConnection ro:Primary/Unknown ds:UpToDate/Inconsistent C r----
    ns:0 nr:0 dw:0 dr:268 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:38956364
On the second node (which schould be synced) i got following error message:
Code:
Sep 17 13:06:01 proxmox4 kernel: block drbd0: helper command: /sbin/drbdadm before-resync-target minor-0 exit code 3 (0x300)
Sep 17 13:06:01 proxmox4 kernel: block drbd0: before-resync-target handler returned 3, dropping connection.
for the drbd-utils i use a normal apt-get install. The system ist up-to-date - it's a new installation.
Code:
 more /etc/apt/sources.list
deb http://ftp.de.debian.org/debian lenny main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve

# security updates
deb http://security.debian.org/ lenny/updates main contrib
Code:
pveversion -v
pve-manager: 1.4-1 (pve-manager/1.4/4305)
qemu-server: 1.1-1
pve-kernel: 2.6.24-12
pve-kvm: 86-3
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.2-1
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
Any hint are welcome!

Udo
 
Thanks!!
Due to the fresh install from the 1.4b-iso, i have not look for the pvetest (i assumed, that the entry are right).

Now the sync is working. The test can go on.

Udo

looking forward about your results!
 
Thanks!!
Due to the fresh install from the 1.4b-iso, i have not look for the pvetest (i assumed, that the entry are right).

Now the sync is working. The test can go on.

Udo

Hi Udo,

How did you get on with this? I'm having similar problems and think maybe I need to install from this repository.

Regards,

Chris.
 
Hi Chris,
like discribe above, it's was my mistake.
In the release notes is notice, that we have to include pvetest:
http://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_1.4_beta1
(Note: the sources.list does not point to the pvetest repo, so please adapt this accordingly if you want to update/install packages from pvetest)

After that, drbd works, but in my case the write-performance was not perfect (max 19MB/s). For the test i have only two singe Sata-Disk - so i can't expect too much. I think (or hope) with an raid-controller will the write-performance better.

Udo