[PVE-User] Misconfiguration with DRBD

Arns, Markus markus.arns at tum.de
Thu Jun 6 13:40:18 CEST 2013


Hi all,

at the moment I'm configure the DRBD disks as described here -> http://pve.proxmox.com/wiki/DRBD#Add_the_LVM_group_to_the_Proxmox_VE_storage_list_via_web_interface
The configuration file on node1 and node2 looks exactlly the same:
/etc/drbd.d/r0.res
resource r0 {
        protocol C;
        startup {
                wfc-timeout  0;
                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;
                #data-integrity-alg crc32c;
        }
        on node1 {
                device /dev/drbd0;
                disk /dev/sdb1;
                address 192.168.0.1:7788;
                meta-disk internal;
        }
        on node2 {
                device /dev/drbd0;
                disk /dev/sdb1;
                address 192.168.0.2:7788;
                meta-disk internal;
        }
}

If I try to start DRBD on those node I'm receiving:

root at node1:~# /etc/init.d/drbd start
drbd.d/r0.res:18: conflicting use of device-minor 'device-minor:node1:0' ...
drbd.d/os.res:24: device-minor 'device-minor:node1:0' first used here.
Starting DRBD resources:drbd.d/r0.res:18: conflicting use of device-minor 'device-minor:node1:0' ...
drbd.d/os.res:24: device-minor 'device-minor:node1:0' first used here.
root at node1:~# configuration file /etc/drbd.d/r0.res

root at node2:~# /etc/init.d/drbd start
drbd.d/r0.res:18: conflicting use of device-minor 'device-minor:node1:0' ...
drbd.d/os.res:24: device-minor 'device-minor:node1:0' first used here.
Starting DRBD resources:drbd.d/r0.res:18: conflicting use of device-minor 'device-minor:node1:0' ...
drbd.d/os.res:24: device-minor 'device-minor:node1:0' first used here.


Thanks for any help.
Regards
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20130606/b27ff554/attachment.htm>


More information about the pve-user mailing list