[DRBD-user] drbd 0.7 kernel patch with kernel 2.6.6-mm5

Lars Ellenberg lars.ellenberg at linbit.com
Sun May 23 20:44:26 CEST 2004

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


On Sat, May 22, 2004 at 06:40:41PM +0200, F?r?sz P?ter wrote:
> Hi!
> 
> I am trying to  install drbd-0.7 to debian with kernel 2.6.6-mm5.
> After I have downloaded the
> http://www.drbd.org/uploads/media/drbd-0.7_pre7_20040519.tar.gz
> and I extracted it.
> I did make and make kernel-patch. I have patched the kernel and compile drbd
> as a module.
> After reboot the modprobe drbd works great.
> - The first problem:
>     I just try to install drbd-tools, but get this error:
> 
>         make[2]: Entering directory
> `/home/install/drbd/drbd-0.7_pre7_20040519/documentation/ja'
>         make[2]: *** No rule to make target `install'.  Stop.
>         make[2]: Leaving directory
> `/home/install/drbd/drbd-0.7_pre7_20040519/documentation/ja'
>         make[1]: *** [install] Error 2
>         make[1]: Leaving directory
> `/home/install/drbd/drbd-0.7_pre7_20040519/documentation'
>         make: *** [install-tools] Error 2
> 

missing Makefile in the japanese documentation.
doing make doc before the make install would help.

>     Try to run again drbdadm up all, and it's work :) My /proc/drbd show
> this now:
> 
>         version: 0.7-pre7 cvs $Date: 2004/05/19 19:53:20 $ (api:72/proto:72)
>          0: cs:Connected st:Secondary/Secondary ld:Consistent
>             ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0
>          1: cs:Unconfigured
> 
> - FINALLY:
>     When I do /etc/init.d/drbd start
> 
>         Starting DRBD resources:    ioctl() failed: Device or resource busy
>         Command line was '/sbin/drbdsetup /dev/nb0 disk /dev/hda3
> internal -1 --on-io-error=detach'
>         drbdsetup exited with code 20
> 
>          Failed setting up r1
> 
>         When I run this: /sbin/drbdsetup /dev/nb0 disk /dev/hda3
> internal -1 --on-io-error=detach
>         ioctl() failed: Device or resource busy
> 
> What is the problem? Thank you for any help.

admited, our userlevel error messages could be more informative. but,
if you configure an already configured device, you get a "busy!" back.
I think this is valid behaviour.

however we possibly need to add a "ignore reconfigure with exact same
settings" to the drbd init script to be LSB conform, which iirc requires
a start on an already started "service" to be silently ignored.

	Lars




More information about the drbd-user mailing list