[DRBD-user] DRBD onto OpenSUSE 11.0 x86_64

LActive at GMX.Net LActive at GMX.Net
Tue Sep 23 15:30:10 CEST 2008

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


Lars Ellenberg wrote:
> On Thu, Sep 11, 2008 at 04:23:11PM +0200, Rainer Sabelka wrote:
>  
>> On Thursday 11 September 2008 15:46:35 LActive at GMX.Net wrote:
>>    
>>> Hi all,
>>>
>>> has someone tried DRBD onto OpenSUSE 11.0 x86_64 yet?
>>>       
>> Yes.
>>
>>    
>>> I had 0.7.14 on OpenSUSE 10.0 x86_64 (updated to 2.6.13-15-default) 
>>> since
>>> 2005, and had no major problems. I need to update now.
>>>       
>> Unforunately the drbdmeta executable which comes with opensuse 11.0 
>> has a bug (crashes). See 
>> https://bugzilla.novell.com/show_bug.cgi?id=412626
>>
>> So I ended up compiling DRBD myself on this platform (at least the 
>> userland tools). So far it seems to work well ...
>>     
>
> novell probably compiles userland by default with stack smashing
> protection and so on (and rightfully so).
> if you compile it yourself,
> you leave that out.
>
> we had an (unproblematic! but still, embarasing) stack corruption.
>
> so this may be related to
>  http://git.drbd.org/?p=drbd-8.2.git;a=commitdiff;h=01ab91422a5c96a207b5da79559988f924e284d9 
>
>
> please let the novell bugzilla know.
>
> btw,
> 8.2.7 is expected to be out within the month,
> there will probably also be a 8.0.14 in that timeframe.
>
>   
Well, I also built drbd-km-2.6.25.16_0.1_default-8.2.6-3.i586.rpm on 
OpenSUSE 11.0, on an older secondary that was enlarged with a new RAID. 
I generated a RPM and installed it. It installed well and loads.

#### start ####
~: # rcdrbd start
Starting DRBD resources:    [ d(r0) /dev/drbd0: Failure: (119) No valid 
meta-data signature found.

      ==> Use 'drbdadm create-md res' to initialize meta-data area. <==


[r0] cmd /sbin/drbdsetup /dev/drbd0 disk /dev/sda1 /dev/sda1 internal 
--set-defaults --create-device  failed - continuing!

n(r0) ].
#### end ####

OK, now I want to prepare the low level storage. I have a hardware 1,5 
TB RAID5 on sda. I created a /dev/sda1 partition (formated with ReiserFS).

when I do:
drbdadm create-md /dev/sda1
I get:
'/dev/sda1' not defined in your config

drbd.conf:
#### start ####
global {
usage-count no;
}
common {
protocol C;
}
resource r0 {
on L113 {
  device    /dev/drbd0;
  disk      /dev/sda1;
  address   10.9.8.3:7789;
  meta-disk internal;
}
on L114 {
  device    /dev/drbd0;
  disk      /dev/sda1;
  address   10.9.8.4:7789;
  meta-disk internal;
}
}
#### end ####

How else do I "define /dev/sda1"?

:-)
Al




More information about the drbd-user mailing list