Proxmox 1.4 beta1: drbd Kernel Ooops

valshare

Renowned Member
Jun 2, 2009
257
2
83
Germany
Hello,

on my Dell PowerEdge 860 and Dell R805 i become an error, if i start the drbd modul.

Code:
proxmox-testserver:~# /etc/init.d/drbd start
Starting DRBD resources:[ d(r0) 
Message from syslogd@proxmox-testserver at Sep 11 22:58:47 ...
 kernel:Oops: 0000 [1] PREEMPT SMP 

Message from syslogd@proxmox-testserver at Sep 11 22:58:47 ...
 kernel:CR2: 0000000000000000
No response from the DRBD driver! Is the module loaded?
s(r0) No response from the DRBD driver! Is the module loaded?
n(r0)

lsmod | grep drbd shows:

Code:
proxmox-testserver:~# lsmod | grep drbd
drbd                  277240  2 
cn                     18248  1 drbd


On both servers are iscsi used. The iscsi didn´t assign a /dev/sdx when booting. open-iscsi was loaded. only if i go to the web interface an click on the iscsi device, the pve server connect to the iscsi device. I have unchecked "Use LUNs directly". Must it checked, if i want use drbd?

Whats wrong?
Regards, Valle
 
Last edited:
how does iscsi relate to DRBD in your configuration?

on both machines are this drbd.conf files stored

Code:
proxmox02:~# cat /etc/drbd.conf 
global { usage-count no; }
common { syncer { rate 30M; } }
resource r0 {
        protocol C;
        startup {
                wfc-timeout  15;
                degr-wfc-timeout 60;
                become-primary-on both;
        }
        net {
                cram-hmac-alg sha1;
                shared-secret "my-secret";
                allow-two-primaries;
                after-sb-0pri discard-zero-changes;
                after-sb-1pri discard-secondary;
                after-sb-2pri disconnect;
        }
        on proxmox02 {
                device /dev/drbd0;
                disk /dev/sdb1;
                address 10.0.0.3:7788;
                meta-disk internal;
        }
        on proxmox-testserver {
                device /dev/drbd0;
                disk /dev/sdd1;
                address 10.0.0.4:7788;
                meta-disk internal;
on proxmox02:

Code:
proxmox02:~# cat /etc/pve/storage.cfg 
 iscsi: i4500r.eth1
    portal 192.168.1.95
    target iqn.2004-10.com.thecus:iseries-000a40e50:default-target
    content none

lvm: pve-i4500r-1
    vgname pve-i4500r
    base i4500r.eth1:0.0.6.scsi-32026001378a40e50
    shared
    content images
on proxmox-testserver:

Code:
proxmox-testserver:~# cat /etc/pve/storage.cfg 
iscsi: i4500r-eth2
    portal 192.168.1.96
    target iqn.2004-10.com.thecus:iseries-000a40e50:default-target
    content none

lvm: pve-i4500r-2
    vgname pve-i4500r-2
    base i4500r-eth2:0.0.10.scsi-32027001378a40e50
    shared
    content images
 
first open-iscsi starts ... at this time, i start drbd manuel. but if i check /dev/sd* no iscsi interfaces are assigned .... only if i go over the web interface --> stored and click on the iscsi device ... then the device will mapped to /dev. Yes. mount it on the top of the iscsi device.
 
Last edited:
what is disk /dev/sdb1 and /dev/sdd1- are those local hard disk, or iscsi devices?


this are two 500GB iscsi devices

PV /dev/sdc VG pve-i4500r lvm2 [500.06 GB / 500.06 GB free]
PV /dev/sdd VG pve-i4500r lvm2 [500.06 GB / 500.06 GB free]
 
Last edited:
Short answer: not supported

Why the hell do you wnat drbd on top of iscsi devices? This does not make sense for me - at least not for this product. Please can you explain the advantage of such setup?

We support DRBD on local devices, see

http://pve.proxmox.com/wiki/DRBD

- Dietmar
 
what is disk /dev/sdb1 and /dev/sdd1- are those local hard disk, or iscsi devices?

both are iscsi devices

proxmox02 = /dev/sdb1 = iscsi on i4500r over ethernet device 1
proxmox-testserver = /dev/sdd1 = iscsi on i4500r over ethernet device 2

both partitions on the iscsi have 500gb space.
 
Just a thought, but if you use DRBD on iSCSI you at least duplicate network traffic - I guess this is a performance killer.
 
the server has only 80gb of hdd space. all VMs are on the iscsi. On iscsi are enough space. Ok, the i leave it on one fat partition on the iscsi device an make a nighly backup .... If i disable 'use LUNs direcly, can i access the storage with both servers at the same time? not the VMs at the same time without data loose? .. only the partitions?
 
Last edited: