[DRBD-user] DRBD 8.3.1 on Lenny - udev rule failes

Robert reg at elconas.de
Wed May 27 16:00:09 CEST 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Lars,

thanks ! This seems to be the issue.

I always use "drbdadm dump" to "baseline check" the config file. This 
produced no error, so it slipped in :)

Robert


>> HOST:~# for i in //etc/ovzrdb64/drbd.conf.d/*; do echo $i; cat $i;done
>> //etc/HOST/drbd.conf.d/dummy.cfg
>> #empty file for DRBD, otherwise the drbdadm dump command failes
>>     
>
> what is this about?
>   
This means:

HOST:/etc/HOST/drbd.conf.d# tail -3 /etc/drbd.conf

include "/etc/HOST/drbd.conf.d/*.cfg";

HOST:/etc/HOST/drbd.conf.d# ls -al
total 8
drwxr-xr-x 2 root root 4096 May 27 15:57 .
drwx--x--x 7 root root 4096 May 27 15:56 ..

HOST: /etc/HOST/drbd.conf.d# drbdadm dump
/etc/drbd.conf:129: Failed to open include file 
'/etc/HOST/drbd.conf.d/*.cfg'.

Therefore the file:
HOST:/etc/HOST/drbd.conf.d# touch dummy.cfg .
HOST:/etc/HOST/drbd.conf.d# drbdadm dump
no resources defined!

Thanks for the Help !
Robert



More information about the drbd-user mailing list